#9D50E3#9D50E3

#9D50E3 is a mid, highly saturated violet. Relative luminance 0.185; OKLCH L 59.5% C 0.215 H 304.7°. Best body text is #000000 at 4.69:1 contrast (WCAG AA passes).

Color values

HEX#9D50E3
RGBrgb(157, 80, 227)
HSLhsl(271, 72%, 60%)
HSVhsv(271, 65%, 89%)
CMYKcmyk(30.8%, 64.8%, 0%, 11%)
CIE-LABlab(50.04, 58.17, -62.46)
CIE-LCHlch(50.04, 85.35, 312.96°)
OKLaboklab(59.47% 0.1227 -0.1771)
OKLCHoklch(59.47% 0.216 304.7)
XYZxyz(30.6353, 18.4516, 74.6057)
Luminance0.1845 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D50E3 #96E350
analogous
#5450E3 #9D50E3 #E350DF
triadic
#9D50E3 #E39D50 #50E39D
tetradic
#9D50E3 #E35450 #96E350 #50DFE3
square
#9D50E3 #E35450 #96E350 #50DFE3
split-complementary
#9D50E3 #DFE350 #50E354
monochromatic
#5F199F #7F22D4 #9D50E3 #BB85EB #D8BAF4

Accessibility & contrast

On white

4.48
#9D50E3 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.69
#9D50E3 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9D50E3
4.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9D50E3#FFFFFF#000000##000000
##9D50E31.004.484.694.69
#FFFFFF4.481.0021.0021.00
#0000004.6921.001.001.00
##0000004.6921.001.001.00

Color blindness preview

Protanopia (red-blind)
#0075E7
Deuteranopia (green-blind)
#2477E0
Tritanopia (blue-blind)
#907093
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #9d50e3;
/* rgb */ color: rgb(157, 80, 227);
/* oklch */ color: oklch(59.5% 0.215 304.7);
Tailwind
colors: {
  custom: {
    50: '#bf86ed',
    500: '#9d50e3',
    950: '#000000',
  },
}
SCSS
$custom: #9d50e3;
$custom-light: #bf86ed;
$custom-dark: #000000;
JSON
{
  "hex": "#9d50e3",
  "rgb": {
    "r": 157,
    "g": 80,
    "b": 227
  },
  "hsl": {
    "h": 271.429,
    "s": 72.414,
    "l": 60.196
  },
  "oklch": {
    "l": 0.59466,
    "c": 0.2155,
    "h": 304.7
  },
  "luminance": 0.18451
}

Semantic roles & 50–950 ramp

primary
#9D50E3
secondary
#C6E4AB
accent
#D4116E
background
#FCF8FE
surface
#F8F0FD
border
#D1CBD5
text
#130B16
muted
#827C84

Preview Lab

Preview with #9D50E3

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

Preview Lab → · Contrast checker → · Palette generator →

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