#9562DD#9562DD

#9562DD is a mid, vivid violet. Relative luminance 0.203; OKLCH L 60.7% C 0.182 H 300.2°. Best body text is #000000 at 5.07:1 contrast (WCAG AA passes).

Color values

HEX#9562DD
RGBrgb(149, 98, 221)
HSLhsl(265, 64%, 63%)
HSVhsv(265, 56%, 87%)
CMYKcmyk(32.6%, 55.7%, 0%, 13.3%)
CIE-LABlab(52.23, 45.64, -55.60)
CIE-LCHlch(52.23, 71.93, 309.38°)
OKLaboklab(60.74% 0.0914 -0.1573)
OKLCHoklch(60.74% 0.182 300.2)
XYZxyz(29.8101, 20.3452, 70.7491)
Luminance0.2034 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9562DD #AADD62
analogous
#626CDD #9562DD #D262DD
triadic
#9562DD #DD9562 #62DD95
tetradic
#9562DD #DD626C #AADD62 #62DDD2
square
#9562DD #DD626C #AADD62 #62DDD2
split-complementary
#9562DD #DDD262 #6CDD62
monochromatic
#5723A2 #7330D2 #9562DD #B794E8 #D9C7F3

Accessibility & contrast

On white

4.14
#9562DD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.07
#9562DD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9562DD
5.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9562DD#FFFFFF#000000##000000
##9562DD1.004.145.075.07
#FFFFFF4.141.0021.0021.00
#0000005.0721.001.001.00
##0000005.0721.001.001.00

Color blindness preview

Protanopia (red-blind)
#2D7CE1
Deuteranopia (green-blind)
#407CDA
Tritanopia (blue-blind)
#867B96
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #9562dd;
/* rgb */ color: rgb(149, 98, 221);
/* oklch */ color: oklch(60.7% 0.182 300.2);
Tailwind
colors: {
  custom: {
    50: '#b890e8',
    500: '#9562dd',
    950: '#000000',
  },
}
SCSS
$custom: #9562dd;
$custom-light: #b890e8;
$custom-dark: #000000;
JSON
{
  "hex": "#9562dd",
  "rgb": {
    "r": 149,
    "g": 98,
    "b": 221
  },
  "hsl": {
    "h": 264.878,
    "s": 64.398,
    "l": 62.549
  },
  "oklch": {
    "l": 0.60736,
    "c": 0.18193,
    "h": 300.2
  },
  "luminance": 0.20345
}

Semantic roles & 50–950 ramp

primary
#9562DD
secondary
#D1E4B7
accent
#CC1982
background
#FBF9FE
surface
#F6F1FD
border
#D0CBD5
text
#120D16
muted
#817E84

Preview Lab

Preview with #9562DD

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

Preview Lab → · Contrast checker → · Palette generator →

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