#9562DB#9562DB

#9562DB is a mid, vivid violet. Relative luminance 0.202; OKLCH L 60.6% C 0.180 H 300.6°. Best body text is #000000 at 5.05:1 contrast (WCAG AA passes).

Color values

HEX#9562DB
RGBrgb(149, 98, 219)
HSLhsl(265, 63%, 62%)
HSVhsv(265, 55%, 86%)
CMYKcmyk(32%, 55.3%, 0%, 14.1%)
CIE-LABlab(52.11, 45.14, -54.66)
CIE-LCHlch(52.11, 70.89, 309.55°)
OKLaboklab(60.61% 0.0914 -0.1545)
OKLCHoklch(60.61% 0.18 300.6)
XYZxyz(29.5453, 20.2392, 69.3541)
Luminance0.2024 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9562DB #A8DB62
analogous
#626CDB #9562DB #D162DB
triadic
#9562DB #DB9562 #62DB95
tetradic
#9562DB #DB626C #A8DB62 #62DBD1
square
#9562DB #DB626C #A8DB62 #62DBD1
split-complementary
#9562DB #DBD162 #6CDB62
monochromatic
#58249E #7330D0 #9562DB #B794E6 #D8C6F2

Accessibility & contrast

On white

4.16
#9562DB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.05
#9562DB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9562DB
5.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9562DB#FFFFFF#000000##000000
##9562DB1.004.165.055.05
#FFFFFF4.161.0021.0021.00
#0000005.0521.001.001.00
##0000005.0521.001.001.00

Color blindness preview

Protanopia (red-blind)
#307CDF
Deuteranopia (green-blind)
#427CD8
Tritanopia (blue-blind)
#877A95
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #9562db;
/* rgb */ color: rgb(149, 98, 219);
/* oklch */ color: oklch(60.6% 0.180 300.6);
Tailwind
colors: {
  custom: {
    50: '#b890e7',
    500: '#9562db',
    950: '#000000',
  },
}
SCSS
$custom: #9562db;
$custom-light: #b890e7;
$custom-dark: #000000;
JSON
{
  "hex": "#9562db",
  "rgb": {
    "r": 149,
    "g": 98,
    "b": 219
  },
  "hsl": {
    "h": 265.289,
    "s": 62.694,
    "l": 62.157
  },
  "oklch": {
    "l": 0.6061,
    "c": 0.17953,
    "h": 300.6
  },
  "luminance": 0.20239
}

Semantic roles & 50–950 ramp

primary
#9562DB
secondary
#D0E3B6
accent
#CA1B81
background
#FBF9FE
surface
#F6F1FC
border
#D0CBD5
text
#120D16
muted
#817E84

Preview Lab

Preview with #9562DB

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

Preview Lab → · Contrast checker → · Palette generator →

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