#9D62DB#9D62DB

#9D62DB is a mid, vivid violet. Relative luminance 0.210; OKLCH L 61.4% C 0.181 H 304.1°. Best body text is #000000 at 5.20:1 contrast (WCAG AA passes).

Color values

HEX#9D62DB
RGBrgb(157, 98, 219)
HSLhsl(269, 63%, 62%)
HSVhsv(269, 55%, 86%)
CMYKcmyk(28.3%, 55.3%, 0%, 14.1%)
CIE-LABlab(52.97, 47.10, -53.23)
CIE-LCHlch(52.97, 71.07, 311.50°)
OKLaboklab(61.44% 0.1015 -0.1501)
OKLCHoklch(61.44% 0.181 304.1)
XYZxyz(31.0557, 21.0180, 69.4249)
Luminance0.2102 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D62DB #A0DB62
analogous
#6264DB #9D62DB #D962DB
triadic
#9D62DB #DB9D62 #62DB9D
tetradic
#9D62DB #DB6264 #A0DB62 #62DBD9
square
#9D62DB #DB6264 #A0DB62 #62DBD9
split-complementary
#9D62DB #DBD962 #64DB62
monochromatic
#60249E #7E30D0 #9D62DB #BC94E6 #DBC6F2

Accessibility & contrast

On white

4.04
#9D62DB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.20
#9D62DB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9D62DB
5.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9D62DB#FFFFFF#000000##000000
##9D62DB1.004.045.205.20
#FFFFFF4.041.0021.0021.00
#0000005.2021.001.001.00
##0000005.2021.001.001.00

Color blindness preview

Protanopia (red-blind)
#347DDF
Deuteranopia (green-blind)
#497ED8
Tritanopia (blue-blind)
#927995
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #9d62db;
/* rgb */ color: rgb(157, 98, 219);
/* oklch */ color: oklch(61.4% 0.181 304.1);
Tailwind
colors: {
  custom: {
    50: '#bd91e7',
    500: '#9d62db',
    950: '#000000',
  },
}
SCSS
$custom: #9d62db;
$custom-light: #bd91e7;
$custom-dark: #000000;
JSON
{
  "hex": "#9d62db",
  "rgb": {
    "r": 157,
    "g": 98,
    "b": 219
  },
  "hsl": {
    "h": 269.256,
    "s": 62.694,
    "l": 62.157
  },
  "oklch": {
    "l": 0.61441,
    "c": 0.18122,
    "h": 304.1
  },
  "luminance": 0.21018
}

Semantic roles & 50–950 ramp

primary
#9D62DB
secondary
#CDE3B6
accent
#CA1B75
background
#FBF9FE
surface
#F7F1FC
border
#D0CBD5
text
#120D16
muted
#817E84

Preview Lab

Preview with #9D62DB

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

Preview Lab → · Contrast checker → · Palette generator →

#9D62DB Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva