#9562CA#9562CA

#9562CA is a mid, vivid violet. Relative luminance 0.194; OKLCH L 59.6% C 0.159 H 304.7°. Best body text is #000000 at 4.88:1 contrast (WCAG AA passes).

Color values

HEX#9562CA
RGBrgb(149, 98, 202)
HSLhsl(269, 50%, 59%)
HSVhsv(269, 51%, 79%)
CMYKcmyk(26.2%, 51.5%, 0%, 20.8%)
CIE-LABlab(51.14, 40.99, -46.52)
CIE-LCHlch(51.14, 62.00, 311.38°)
OKLaboklab(59.58% 0.0905 -0.1307)
OKLCHoklch(59.58% 0.159 304.7)
XYZxyz(27.4205, 19.3893, 58.1636)
Luminance0.1939 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9562CA #97CA62
analogous
#6263CA #9562CA #C962CA
triadic
#9562CA #CA9562 #62CA95
tetradic
#9562CA #CA6263 #97CA62 #62CAC9
square
#9562CA #CA6263 #97CA62 #62CAC9
split-complementary
#9562CA #CAC962 #63CA62
monochromatic
#582D85 #763CB3 #9562CA #B490D9 #D3BEE9

Accessibility & contrast

On white

4.31
#9562CA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.88
#9562CA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9562CA
4.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9562CA#FFFFFF#000000##000000
##9562CA1.004.314.884.88
#FFFFFF4.311.0021.0021.00
#0000004.8821.001.001.00
##0000004.8821.001.001.00

Color blindness preview

Protanopia (red-blind)
#4178CE
Deuteranopia (green-blind)
#507AC7
Tritanopia (blue-blind)
#8C758D
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #9562ca;
/* rgb */ color: rgb(149, 98, 202);
/* oklch */ color: oklch(59.6% 0.159 304.7);
Tailwind
colors: {
  custom: {
    50: '#b790da',
    500: '#9562ca',
    950: '#000000',
  },
}
SCSS
$custom: #9562ca;
$custom-light: #b790da;
$custom-dark: #000000;
JSON
{
  "hex": "#9562ca",
  "rgb": {
    "r": 149,
    "g": 98,
    "b": 202
  },
  "hsl": {
    "h": 269.423,
    "s": 49.524,
    "l": 58.824
  },
  "oklch": {
    "l": 0.59584,
    "c": 0.15896,
    "h": 304.7
  },
  "luminance": 0.19389
}

Semantic roles & 50–950 ramp

primary
#9562CA
secondary
#C4D8AF
accent
#D94F95
background
#FBF8FD
surface
#F6F0FB
border
#D0CBD4
text
#120D15
muted
#817D83

Preview Lab

Preview with #9562CA

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

Preview Lab → · Contrast checker → · Palette generator →

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