#9E63DB#9E63DB

#9E63DB is a mid, vivid violet. Relative luminance 0.213; OKLCH L 61.7% C 0.180 H 304.3°. Best body text is #000000 at 5.26:1 contrast (WCAG AA passes).

Color values

HEX#9E63DB
RGBrgb(158, 99, 219)
HSLhsl(270, 63%, 62%)
HSVhsv(270, 55%, 86%)
CMYKcmyk(27.9%, 54.8%, 0%, 14.1%)
CIE-LABlab(53.28, 46.81, -52.72)
CIE-LCHlch(53.28, 70.50, 311.60°)
OKLaboklab(61.7% 0.1015 -0.1486)
OKLCHoklch(61.7% 0.18 304.3)
XYZxyz(31.3458, 21.3074, 69.4655)
Luminance0.2131 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9E63DB #A0DB63
analogous
#6364DB #9E63DB #DA63DB
triadic
#9E63DB #DB9E63 #63DB9E
tetradic
#9E63DB #DB6364 #A0DB63 #63DBDA
square
#9E63DB #DB6364 #A0DB63 #63DBDA
split-complementary
#9E63DB #DBDA63 #64DB63
monochromatic
#61259F #7F31D0 #9E63DB #BD95E6 #DCC6F2

Accessibility & contrast

On white

3.99
#9E63DB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.26
#9E63DB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9E63DB
5.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9E63DB#FFFFFF#000000##000000
##9E63DB1.003.995.265.26
#FFFFFF3.991.0021.0021.00
#0000005.2621.001.001.00
##0000005.2621.001.001.00

Color blindness preview

Protanopia (red-blind)
#377EDF
Deuteranopia (green-blind)
#4C7FD8
Tritanopia (blue-blind)
#937A96
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #9e63db;
/* rgb */ color: rgb(158, 99, 219);
/* oklch */ color: oklch(61.7% 0.180 304.3);
Tailwind
colors: {
  custom: {
    50: '#be91e7',
    500: '#9e63db',
    950: '#000000',
  },
}
SCSS
$custom: #9e63db;
$custom-light: #be91e7;
$custom-dark: #000000;
JSON
{
  "hex": "#9e63db",
  "rgb": {
    "r": 158,
    "g": 99,
    "b": 219
  },
  "hsl": {
    "h": 269.5,
    "s": 62.5,
    "l": 62.353
  },
  "oklch": {
    "l": 0.61698,
    "c": 0.17995,
    "h": 304.3
  },
  "luminance": 0.21307
}

Semantic roles & 50–950 ramp

primary
#9E63DB
secondary
#CDE3B7
accent
#CA1B74
background
#FCF9FE
surface
#F8F1FC
border
#D1CBD5
text
#120D16
muted
#817E84

Preview Lab

Preview with #9E63DB

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

Preview Lab → · Contrast checker → · Palette generator →

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