#9562DF#9562DF

#9562DF is a mid, vivid violet. Relative luminance 0.205; OKLCH L 60.9% C 0.184 H 299.7°. Best body text is #000000 at 5.09:1 contrast (WCAG AA passes).

Color values

HEX#9562DF
RGBrgb(149, 98, 223)
HSLhsl(264, 66%, 63%)
HSVhsv(264, 56%, 87%)
CMYKcmyk(33.2%, 56.1%, 0%, 12.5%)
CIE-LABlab(52.34, 46.14, -56.54)
CIE-LCHlch(52.34, 72.97, 309.22°)
OKLaboklab(60.86% 0.0915 -0.16)
OKLCHoklch(60.86% 0.184 299.7)
XYZxyz(30.0782, 20.4524, 72.1608)
Luminance0.2045 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9562DF #ACDF62
analogous
#626DDF #9562DF #D462DF
triadic
#9562DF #DF9562 #62DF95
tetradic
#9562DF #DF626D #ACDF62 #62DFD4
square
#9562DF #DF626D #ACDF62 #62DFD4
split-complementary
#9562DF #DFD462 #6DDF62
monochromatic
#5722A5 #732FD5 #9562DF #B795E9 #DAC8F4

Accessibility & contrast

On white

4.13
#9562DF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.09
#9562DF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9562DF
5.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9562DF#FFFFFF#000000##000000
##9562DF1.004.135.095.09
#FFFFFF4.131.0021.0021.00
#0000005.0921.001.001.00
##0000005.0921.001.001.00

Color blindness preview

Protanopia (red-blind)
#2A7DE3
Deuteranopia (green-blind)
#3D7CDC
Tritanopia (blue-blind)
#857B97
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #9562df;
/* rgb */ color: rgb(149, 98, 223);
/* oklch */ color: oklch(60.9% 0.184 299.7);
Tailwind
colors: {
  custom: {
    50: '#b890ea',
    500: '#9562df',
    950: '#000000',
  },
}
SCSS
$custom: #9562df;
$custom-light: #b890ea;
$custom-dark: #000000;
JSON
{
  "hex": "#9562df",
  "rgb": {
    "r": 149,
    "g": 98,
    "b": 223
  },
  "hsl": {
    "h": 264.48,
    "s": 66.138,
    "l": 62.941
  },
  "oklch": {
    "l": 0.60862,
    "c": 0.18434,
    "h": 299.7
  },
  "luminance": 0.20453
}

Semantic roles & 50–950 ramp

primary
#9562DF
secondary
#D3E5B8
accent
#CE1784
background
#FBF9FE
surface
#F6F1FD
border
#D0CBD5
text
#120D16
muted
#817E84

Preview Lab

Preview with #9562DF

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

Preview Lab → · Contrast checker → · Palette generator →

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