#9562E6#9562E6

#9562E6 is a mid, vivid violet. Relative luminance 0.208; OKLCH L 61.3% C 0.193 H 298.3°. Best body text is #000000 at 5.17:1 contrast (WCAG AA passes).

Color values

HEX#9562E6
RGBrgb(149, 98, 230)
HSLhsl(263, 73%, 64%)
HSVhsv(263, 57%, 90%)
CMYKcmyk(35.2%, 57.4%, 0%, 9.8%)
CIE-LABlab(52.77, 47.90, -59.80)
CIE-LCHlch(52.77, 76.61, 308.70°)
OKLaboklab(61.31% 0.0915 -0.1696)
OKLCHoklch(61.31% 0.193 298.3)
XYZxyz(31.0415, 20.8377, 77.2342)
Luminance0.2084 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9562E6 #B3E662
analogous
#6271E6 #9562E6 #D762E6
triadic
#9562E6 #E69562 #62E695
tetradic
#9562E6 #E66271 #B3E662 #62E6D7
square
#9562E6 #E66271 #B3E662 #62E6D7
split-complementary
#9562E6 #E6D762 #71E662
monochromatic
#561CB1 #712DDE #9562E6 #B997EE #DCCCF7

Accessibility & contrast

On white

4.06
#9562E6 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.17
#9562E6 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9562E6
5.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9562E6#FFFFFF#000000##000000
##9562E61.004.065.175.17
#FFFFFF4.061.0021.0021.00
#0000005.1721.001.001.00
##0000005.1721.001.001.00

Color blindness preview

Protanopia (red-blind)
#1D7EEA
Deuteranopia (green-blind)
#357DE3
Tritanopia (blue-blind)
#837E9B
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #9562e6;
/* rgb */ color: rgb(149, 98, 230);
/* oklch */ color: oklch(61.3% 0.193 298.3);
Tailwind
colors: {
  custom: {
    50: '#b990ef',
    500: '#9562e6',
    950: '#000000',
  },
}
SCSS
$custom: #9562e6;
$custom-light: #b990ef;
$custom-dark: #000000;
JSON
{
  "hex": "#9562e6",
  "rgb": {
    "r": 149,
    "g": 98,
    "b": 230
  },
  "hsl": {
    "h": 263.182,
    "s": 72.527,
    "l": 64.314
  },
  "oklch": {
    "l": 0.61312,
    "c": 0.19272,
    "h": 298.3
  },
  "luminance": 0.20838
}

Semantic roles & 50–950 ramp

primary
#9562E6
secondary
#D7E9BB
accent
#D51189
background
#FBF9FE
surface
#F7F1FD
border
#D0CBD5
text
#120D16
muted
#817E84

Preview Lab

Preview with #9562E6

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

Preview Lab → · Contrast checker → · Palette generator →

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