#9D50DB#9D50DB

#9D50DB is a mid, highly saturated violet. Relative luminance 0.180; OKLCH L 58.9% C 0.207 H 306.6°. Best body text is #000000 at 4.60:1 contrast (WCAG AA passes).

Color values

HEX#9D50DB
RGBrgb(157, 80, 219)
HSLhsl(273, 66%, 59%)
HSVhsv(273, 63%, 86%)
CMYKcmyk(28.3%, 63.5%, 0%, 14.1%)
CIE-LABlab(49.52, 56.33, -58.76)
CIE-LCHlch(49.52, 81.40, 313.79°)
OKLaboklab(58.93% 0.1233 -0.1663)
OKLCHoklch(58.93% 0.207 306.6)
XYZxyz(29.5568, 18.0202, 68.9253)
Luminance0.1802 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D50DB #8EDB50
analogous
#5750DB #9D50DB #DB50D4
triadic
#9D50DB #DB9D50 #50DB9D
tetradic
#9D50DB #DB5750 #8EDB50 #50D4DB
square
#9D50DB #DB5750 #8EDB50 #50D4DB
split-complementary
#9D50DB #D4DB50 #50DB57
monochromatic
#5F1E92 #7F29C5 #9D50DB #B983E5 #D6B6F0

Accessibility & contrast

On white

4.56
#9D50DB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.60
#9D50DB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9D50DB
4.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9D50DB#FFFFFF#000000##000000
##9D50DB1.004.564.604.60
#FFFFFF4.561.0021.0021.00
#0000004.6021.001.001.00
##0000004.6021.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #9d50db;
/* rgb */ color: rgb(157, 80, 219);
/* oklch */ color: oklch(58.9% 0.207 306.6);
Tailwind
colors: {
  custom: {
    50: '#be85e7',
    500: '#9d50db',
    950: '#000000',
  },
}
SCSS
$custom: #9d50db;
$custom-light: #be85e7;
$custom-dark: #000000;
JSON
{
  "hex": "#9d50db",
  "rgb": {
    "r": 157,
    "g": 80,
    "b": 219
  },
  "hsl": {
    "h": 273.237,
    "s": 65.877,
    "l": 58.627
  },
  "oklch": {
    "l": 0.58927,
    "c": 0.207,
    "h": 306.6
  },
  "luminance": 0.1802
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #9D50DB

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

Preview Lab → · Contrast checker → · Palette generator →

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