#9562DC#9562DC

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

Color values

HEX#9562DC
RGBrgb(149, 98, 220)
HSLhsl(265, 64%, 62%)
HSVhsv(265, 55%, 86%)
CMYKcmyk(32.3%, 55.5%, 0%, 13.7%)
CIE-LABlab(52.17, 45.39, -55.13)
CIE-LCHlch(52.17, 71.41, 309.47°)
OKLaboklab(60.67% 0.0914 -0.1559)
OKLCHoklch(60.67% 0.181 300.4)
XYZxyz(29.6773, 20.2921, 70.0495)
Luminance0.2029 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9562DC #A9DC62
analogous
#626CDC #9562DC #D262DC
triadic
#9562DC #DC9562 #62DC95
tetradic
#9562DC #DC626C #A9DC62 #62DCD2
square
#9562DC #DC626C #A9DC62 #62DCD2
split-complementary
#9562DC #DCD262 #6CDC62
monochromatic
#5824A0 #7330D1 #9562DC #B794E7 #D9C6F2

Accessibility & contrast

On white

4.15
#9562DC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.06
#9562DC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9562DC
5.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9562DC#FFFFFF#000000##000000
##9562DC1.004.155.065.06
#FFFFFF4.151.0021.0021.00
#0000005.0621.001.001.00
##0000005.0621.001.001.00

Color blindness preview

Protanopia (red-blind)
#2E7CE0
Deuteranopia (green-blind)
#417CD9
Tritanopia (blue-blind)
#867A96
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #9562dc;
/* rgb */ color: rgb(149, 98, 220);
/* oklch */ color: oklch(60.7% 0.181 300.4);
Tailwind
colors: {
  custom: {
    50: '#b890e7',
    500: '#9562dc',
    950: '#000000',
  },
}
SCSS
$custom: #9562dc;
$custom-light: #b890e7;
$custom-dark: #000000;
JSON
{
  "hex": "#9562dc",
  "rgb": {
    "r": 149,
    "g": 98,
    "b": 220
  },
  "hsl": {
    "h": 265.082,
    "s": 63.542,
    "l": 62.353
  },
  "oklch": {
    "l": 0.60673,
    "c": 0.18073,
    "h": 300.4
  },
  "luminance": 0.20292
}

Semantic roles & 50–950 ramp

primary
#9562DC
secondary
#D1E3B7
accent
#CB1A81
background
#FBF9FE
surface
#F6F1FD
border
#D0CBD5
text
#120D16
muted
#817E84

Preview Lab

Preview with #9562DC

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

Preview Lab → · Contrast checker → · Palette generator →

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