#9562EA#9562EA

#9562EA is a mid, vivid violet. Relative luminance 0.211; OKLCH L 61.6% C 0.197 H 297.6°. Best body text is #000000 at 5.21:1 contrast (WCAG AA passes).

Color values

HEX#9562EA
RGBrgb(149, 98, 234)
HSLhsl(263, 76%, 65%)
HSVhsv(263, 58%, 92%)
CMYKcmyk(36.3%, 58.1%, 0%, 8.2%)
CIE-LABlab(53.02, 48.91, -61.64)
CIE-LCHlch(53.02, 78.69, 308.43°)
OKLaboklab(61.58% 0.0915 -0.175)
OKLCHoklch(61.58% 0.197 297.6)
XYZxyz(31.6097, 21.0650, 80.2265)
Luminance0.2107 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9562EA #B7EA62
analogous
#6273EA #9562EA #D962EA
triadic
#9562EA #EA9562 #62EA95
tetradic
#9562EA #EA6273 #B7EA62 #62EAD9
square
#9562EA #EA6273 #B7EA62 #62EAD9
split-complementary
#9562EA #EAD962 #73EA62
monochromatic
#5519B9 #712CE3 #9562EA #B998F1 #DECEF8

Accessibility & contrast

On white

4.03
#9562EA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.21
#9562EA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9562EA
5.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9562EA#FFFFFF#000000##000000
##9562EA1.004.035.215.21
#FFFFFF4.031.0021.0021.00
#0000005.2121.001.001.00
##0000005.2121.001.001.00

Color blindness preview

Protanopia (red-blind)
#117FEE
Deuteranopia (green-blind)
#2F7DE7
Tritanopia (blue-blind)
#817F9D
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #9562ea;
/* rgb */ color: rgb(149, 98, 234);
/* oklch */ color: oklch(61.6% 0.197 297.6);
Tailwind
colors: {
  custom: {
    50: '#b991f1',
    500: '#9562ea',
    950: '#000000',
  },
}
SCSS
$custom: #9562ea;
$custom-light: #b991f1;
$custom-dark: #000000;
JSON
{
  "hex": "#9562ea",
  "rgb": {
    "r": 149,
    "g": 98,
    "b": 234
  },
  "hsl": {
    "h": 262.5,
    "s": 76.404,
    "l": 65.098
  },
  "oklch": {
    "l": 0.61575,
    "c": 0.19749,
    "h": 297.6
  },
  "luminance": 0.21065
}

Semantic roles & 50–950 ramp

primary
#9562EA
secondary
#DAEBBD
accent
#D90D8C
background
#FBF9FE
surface
#F7F1FD
border
#D0CBD5
text
#120D17
muted
#817E85

Preview Lab

Preview with #9562EA

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

Preview Lab → · Contrast checker → · Palette generator →

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