#9E63CB#9E63CB

#9E63CB is a mid, vivid violet. Relative luminance 0.205; OKLCH L 60.8% C 0.161 H 308.5°. Best body text is #000000 at 5.10:1 contrast (WCAG AA passes).

Color values

HEX#9E63CB
RGBrgb(158, 99, 203)
HSLhsl(274, 50%, 59%)
HSVhsv(274, 51%, 80%)
CMYKcmyk(22.2%, 51.2%, 0%, 20.4%)
CIE-LABlab(52.40, 43.07, -45.02)
CIE-LCHlch(52.40, 62.31, 313.73°)
OKLaboklab(60.76% 0.1005 -0.1261)
OKLCHoklch(60.76% 0.161 308.5)
XYZxyz(29.3398, 20.5050, 58.9006)
Luminance0.2051 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9E63CB #90CB63
analogous
#6A63CB #9E63CB #CB63C4
triadic
#9E63CB #CB9E63 #63CB9E
tetradic
#9E63CB #CB6A63 #90CB63 #63C4CB
square
#9E63CB #CB6A63 #90CB63 #63C4CB
split-complementary
#9E63CB #C4CB63 #63CB6A
monochromatic
#602D87 #813CB5 #9E63CB #BB91DA #D7BFEA

Accessibility & contrast

On white

4.12
#9E63CB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.10
#9E63CB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9E63CB
5.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9E63CB#FFFFFF#000000##000000
##9E63CB1.004.125.105.10
#FFFFFF4.121.0021.0021.00
#0000005.1021.001.001.00
##0000005.1021.001.001.00

Color blindness preview

Protanopia (red-blind)
#467BCF
Deuteranopia (green-blind)
#587EC8
Tritanopia (blue-blind)
#98758E
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #9e63cb;
/* rgb */ color: rgb(158, 99, 203);
/* oklch */ color: oklch(60.8% 0.161 308.5);
Tailwind
colors: {
  custom: {
    50: '#bd91db',
    500: '#9e63cb',
    950: '#000000',
  },
}
SCSS
$custom: #9e63cb;
$custom-light: #bd91db;
$custom-dark: #000000;
JSON
{
  "hex": "#9e63cb",
  "rgb": {
    "r": 158,
    "g": 99,
    "b": 203
  },
  "hsl": {
    "h": 274.038,
    "s": 50,
    "l": 59.216
  },
  "oklch": {
    "l": 0.60762,
    "c": 0.16122,
    "h": 308.5
  },
  "luminance": 0.20505
}

Semantic roles & 50–950 ramp

primary
#9E63CB
secondary
#C2D9B1
accent
#DA4E8B
background
#FBF9FD
surface
#F7F1FB
border
#D0CBD4
text
#120D15
muted
#817E83

Preview Lab

Preview with #9E63CB

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

Preview Lab → · Contrast checker → · Palette generator →

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