#9E50DB#9E50DB

#9E50DB is a mid, highly saturated violet. Relative luminance 0.181; OKLCH L 59.0% C 0.207 H 307.0°. Best body text is #000000 at 4.62:1 contrast (WCAG AA passes).

Color values

HEX#9E50DB
RGBrgb(158, 80, 219)
HSLhsl(274, 66%, 59%)
HSVhsv(274, 63%, 86%)
CMYKcmyk(27.9%, 63.5%, 0%, 14.1%)
CIE-LABlab(49.64, 56.55, -58.56)
CIE-LCHlch(49.64, 81.41, 314.00°)
OKLaboklab(59.04% 0.1246 -0.1656)
OKLCHoklch(59.04% 0.207 307)
XYZxyz(29.7527, 18.1212, 68.9345)
Luminance0.1812 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9E50DB #8DDB50
analogous
#5850DB #9E50DB #DB50D2
triadic
#9E50DB #DB9E50 #50DB9E
tetradic
#9E50DB #DB5850 #8DDB50 #50D2DB
square
#9E50DB #DB5850 #8DDB50 #50D2DB
split-complementary
#9E50DB #D2DB50 #50DB58
monochromatic
#5F1E92 #8029C5 #9E50DB #BA83E5 #D6B6F0

Accessibility & contrast

On white

4.54
#9E50DB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.62
#9E50DB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9E50DB
4.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9E50DB#FFFFFF#000000##000000
##9E50DB1.004.544.624.62
#FFFFFF4.541.0021.0021.00
#0000004.6221.001.001.00
##0000004.6221.001.001.00

Color blindness preview

Protanopia (red-blind)
#0073DF
Deuteranopia (green-blind)
#3377D8
Tritanopia (blue-blind)
#946D8E
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #9e50db;
/* rgb */ color: rgb(158, 80, 219);
/* oklch */ color: oklch(59.0% 0.207 307.0);
Tailwind
colors: {
  custom: {
    50: '#bf86e7',
    500: '#9e50db',
    950: '#000000',
  },
}
SCSS
$custom: #9e50db;
$custom-light: #bf86e7;
$custom-dark: #000000;
JSON
{
  "hex": "#9e50db",
  "rgb": {
    "r": 158,
    "g": 80,
    "b": 219
  },
  "hsl": {
    "h": 273.669,
    "s": 65.877,
    "l": 58.627
  },
  "oklch": {
    "l": 0.59042,
    "c": 0.20728,
    "h": 307
  },
  "luminance": 0.18121
}

Semantic roles & 50–950 ramp

primary
#9E50DB
secondary
#C0DFA8
accent
#E93F8A
background
#FCF8FE
surface
#F8F0FC
border
#D1CBD5
text
#130B16
muted
#827C84

Preview Lab

Preview with #9E50DB

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

Preview Lab → · Contrast checker → · Palette generator →

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