#9D50E6#9D50E6

#9D50E6 is a mid, highly saturated violet. Relative luminance 0.186; OKLCH L 59.7% C 0.219 H 304.1°. Best body text is #000000 at 4.72:1 contrast (WCAG AA passes).

Color values

HEX#9D50E6
RGBrgb(157, 80, 230)
HSLhsl(271, 75%, 61%)
HSVhsv(271, 65%, 90%)
CMYKcmyk(31.7%, 65.2%, 0%, 9.8%)
CIE-LABlab(50.24, 58.86, -63.83)
CIE-LCHlch(50.24, 86.83, 312.68°)
OKLaboklab(59.67% 0.1225 -0.1812)
OKLCHoklch(59.67% 0.219 304.1)
XYZxyz(31.0530, 18.6187, 76.8054)
Luminance0.1862 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D50E6 #99E650
analogous
#5250E6 #9D50E6 #E650E4
triadic
#9D50E6 #E69D50 #50E69D
tetradic
#9D50E6 #E65250 #99E650 #50E4E6
square
#9D50E6 #E65250 #99E650 #50E4E6
split-complementary
#9D50E6 #E4E650 #50E652
monochromatic
#6017A4 #7F1FDA #9D50E6 #BB86EE #D9BBF5

Accessibility & contrast

On white

4.45
#9D50E6 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.72
#9D50E6 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9D50E6
4.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9D50E6#FFFFFF#000000##000000
##9D50E61.004.454.724.72
#FFFFFF4.451.0021.0021.00
#0000004.7221.001.001.00
##0000004.7221.001.001.00

Color blindness preview

Protanopia (red-blind)
#0076EB
Deuteranopia (green-blind)
#1D77E3
Tritanopia (blue-blind)
#8F7194
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #9d50e6;
/* rgb */ color: rgb(157, 80, 230);
/* oklch */ color: oklch(59.7% 0.219 304.1);
Tailwind
colors: {
  custom: {
    50: '#bf86ef',
    500: '#9d50e6',
    950: '#000000',
  },
}
SCSS
$custom: #9d50e6;
$custom-light: #bf86ef;
$custom-dark: #000000;
JSON
{
  "hex": "#9d50e6",
  "rgb": {
    "r": 157,
    "g": 80,
    "b": 230
  },
  "hsl": {
    "h": 270.8,
    "s": 75,
    "l": 60.784
  },
  "oklch": {
    "l": 0.59672,
    "c": 0.21868,
    "h": 304.1
  },
  "luminance": 0.18619
}

Semantic roles & 50–950 ramp

primary
#9D50E6
secondary
#C8E5AC
accent
#D70E70
background
#FCF8FE
surface
#F8F0FD
border
#D1CBD5
text
#130B16
muted
#827C84

Preview Lab

Preview with #9D50E6

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

Preview Lab → · Contrast checker → · Palette generator →

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