#9562ED#9562ED

#9562ED is a mid, highly saturated violet. Relative luminance 0.212; OKLCH L 61.8% C 0.201 H 297.0°. Best body text is #000000 at 5.25:1 contrast (WCAG AA passes).

Color values

HEX#9562ED
RGBrgb(149, 98, 237)
HSLhsl(262, 79%, 66%)
HSVhsv(262, 59%, 93%)
CMYKcmyk(37.1%, 58.6%, 0%, 7.1%)
CIE-LABlab(53.21, 49.68, -63.02)
CIE-LCHlch(53.21, 80.24, 308.25°)
OKLaboklab(61.77% 0.0914 -0.1791)
OKLCHoklch(61.77% 0.201 297)
XYZxyz(32.0443, 21.2388, 82.5156)
Luminance0.2124 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9562ED #BAED62
analogous
#6274ED #9562ED #DA62ED
triadic
#9562ED #ED9562 #62ED95
tetradic
#9562ED #ED6274 #BAED62 #62EDDA
square
#9562ED #ED6274 #BAED62 #62EDDA
split-complementary
#9562ED #EDDA62 #74ED62
monochromatic
#5416BF #702BE7 #9562ED #BA99F3 #DFD0FA

Accessibility & contrast

On white

4.00
#9562ED on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.25
#9562ED on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9562ED
5.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9562ED#FFFFFF#000000##000000
##9562ED1.004.005.255.25
#FFFFFF4.001.0021.0021.00
#0000005.2521.001.001.00
##0000005.2521.001.001.00

Color blindness preview

Protanopia (red-blind)
#0380F2
Deuteranopia (green-blind)
#297DEA
Tritanopia (blue-blind)
#80809E
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #9562ed;
/* rgb */ color: rgb(149, 98, 237);
/* oklch */ color: oklch(61.8% 0.201 297.0);
Tailwind
colors: {
  custom: {
    50: '#b991f4',
    500: '#9562ed',
    950: '#000000',
  },
}
SCSS
$custom: #9562ed;
$custom-light: #b991f4;
$custom-dark: #000000;
JSON
{
  "hex": "#9562ed",
  "rgb": {
    "r": 149,
    "g": 98,
    "b": 237
  },
  "hsl": {
    "h": 262.014,
    "s": 79.429,
    "l": 65.686
  },
  "oklch": {
    "l": 0.61774,
    "c": 0.20105,
    "h": 297
  },
  "luminance": 0.21239
}

Semantic roles & 50–950 ramp

primary
#9562ED
secondary
#DCEDBE
accent
#DC0A8F
background
#FBF9FF
surface
#F7F1FE
border
#D0CBD6
text
#120D17
muted
#817E85

Preview Lab

Preview with #9562ED

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

Preview Lab → · Contrast checker → · Palette generator →

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