#9562E4#9562E4

#9562E4 is a mid, vivid violet. Relative luminance 0.207; OKLCH L 61.2% C 0.190 H 298.7°. Best body text is #000000 at 5.15:1 contrast (WCAG AA passes).

Color values

HEX#9562E4
RGBrgb(149, 98, 228)
HSLhsl(264, 71%, 64%)
HSVhsv(264, 57%, 89%)
CMYKcmyk(34.6%, 57%, 0%, 10.6%)
CIE-LABlab(52.65, 47.39, -58.87)
CIE-LCHlch(52.65, 75.58, 308.84°)
OKLaboklab(61.18% 0.0915 -0.1669)
OKLCHoklch(61.18% 0.19 298.7)
XYZxyz(30.7623, 20.7260, 75.7636)
Luminance0.2073 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9562E4 #B1E462
analogous
#6270E4 #9562E4 #D662E4
triadic
#9562E4 #E49562 #62E495
tetradic
#9562E4 #E46270 #B1E462 #62E4D6
square
#9562E4 #E46270 #B1E462 #62E4D6
split-complementary
#9562E4 #E4D662 #70E462
monochromatic
#561EAE #722EDB #9562E4 #B896ED #DCCAF6

Accessibility & contrast

On white

4.08
#9562E4 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.15
#9562E4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9562E4
5.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9562E4#FFFFFF#000000##000000
##9562E41.004.085.155.15
#FFFFFF4.081.0021.0021.00
#0000005.1521.001.001.00
##0000005.1521.001.001.00

Color blindness preview

Protanopia (red-blind)
#217EE8
Deuteranopia (green-blind)
#377CE1
Tritanopia (blue-blind)
#847D9A
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #9562e4;
/* rgb */ color: rgb(149, 98, 228);
/* oklch */ color: oklch(61.2% 0.190 298.7);
Tailwind
colors: {
  custom: {
    50: '#b890ed',
    500: '#9562e4',
    950: '#000000',
  },
}
SCSS
$custom: #9562e4;
$custom-light: #b890ed;
$custom-dark: #000000;
JSON
{
  "hex": "#9562e4",
  "rgb": {
    "r": 149,
    "g": 98,
    "b": 228
  },
  "hsl": {
    "h": 263.538,
    "s": 70.652,
    "l": 63.922
  },
  "oklch": {
    "l": 0.61183,
    "c": 0.19033,
    "h": 298.7
  },
  "luminance": 0.20726
}

Semantic roles & 50–950 ramp

primary
#9562E4
secondary
#D6E8BA
accent
#D31387
background
#FBF9FE
surface
#F7F1FD
border
#D0CBD5
text
#120D16
muted
#817E84

Preview Lab

Preview with #9562E4

Body copy rendered with the generated semantic roles for this colour.

Preview Lab → · Contrast checker → · Palette generator →

#9562E4 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva