#9562EF#9562EF

#9562EF is a mid, highly saturated violet. Relative luminance 0.214; OKLCH L 61.9% C 0.203 H 296.7°. Best body text is #000000 at 5.27:1 contrast (WCAG AA passes).

Color values

HEX#9562EF
RGBrgb(149, 98, 239)
HSLhsl(262, 82%, 66%)
HSVhsv(262, 59%, 94%)
CMYKcmyk(37.7%, 59%, 0%, 6.3%)
CIE-LABlab(53.34, 50.19, -63.93)
CIE-LCHlch(53.34, 81.28, 308.13°)
OKLaboklab(61.91% 0.0913 -0.1818)
OKLCHoklch(61.91% 0.203 296.7)
XYZxyz(32.3381, 21.3564, 84.0630)
Luminance0.2136 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9562EF #BCEF62
analogous
#6275EF #9562EF #DB62EF
triadic
#9562EF #EF9562 #62EF95
tetradic
#9562EF #EF6275 #BCEF62 #62EFDB
square
#9562EF #EF6275 #BCEF62 #62EFDB
split-complementary
#9562EF #EFDB62 #75EF62
monochromatic
#5314C3 #6F2AE9 #9562EF #BA9AF5 #E0D1FA

Accessibility & contrast

On white

3.98
#9562EF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.27
#9562EF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9562EF
5.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9562EF#FFFFFF#000000##000000
##9562EF1.003.985.275.27
#FFFFFF3.981.0021.0021.00
#0000005.2721.001.001.00
##0000005.2721.001.001.00

Color blindness preview

Protanopia (red-blind)
#0080F4
Deuteranopia (green-blind)
#257EEC
Tritanopia (blue-blind)
#7F809F
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #9562ef;
/* rgb */ color: rgb(149, 98, 239);
/* oklch */ color: oklch(61.9% 0.203 296.7);
Tailwind
colors: {
  custom: {
    50: '#b991f5',
    500: '#9562ef',
    950: '#000000',
  },
}
SCSS
$custom: #9562ef;
$custom-light: #b991f5;
$custom-dark: #000000;
JSON
{
  "hex": "#9562ef",
  "rgb": {
    "r": 149,
    "g": 98,
    "b": 239
  },
  "hsl": {
    "h": 261.702,
    "s": 81.503,
    "l": 66.078
  },
  "oklch": {
    "l": 0.61907,
    "c": 0.20342,
    "h": 296.7
  },
  "luminance": 0.21357
}

Semantic roles & 50–950 ramp

primary
#9562EF
secondary
#DDEEBF
accent
#DE0890
background
#FBF9FF
surface
#F7F1FE
border
#D0CBD6
text
#120D17
muted
#817E85

Preview Lab

Preview with #9562EF

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

Preview Lab → · Contrast checker → · Palette generator →

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