#9D50E1#9D50E1

#9D50E1 is a mid, highly saturated violet. Relative luminance 0.183; OKLCH L 59.3% C 0.213 H 305.2°. Best body text is #000000 at 4.67:1 contrast (WCAG AA passes).

Color values

HEX#9D50E1
RGBrgb(157, 80, 225)
HSLhsl(272, 71%, 60%)
HSVhsv(272, 64%, 88%)
CMYKcmyk(30.2%, 64.4%, 0%, 11.8%)
CIE-LABlab(49.91, 57.71, -61.54)
CIE-LCHlch(49.91, 84.36, 313.16°)
OKLaboklab(59.33% 0.1229 -0.1744)
OKLCHoklch(59.33% 0.213 305.2)
XYZxyz(30.3609, 18.3419, 73.1604)
Luminance0.1834 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D50E1 #94E150
analogous
#5450E1 #9D50E1 #E150DD
triadic
#9D50E1 #E19D50 #50E19D
tetradic
#9D50E1 #E15450 #94E150 #50DDE1
square
#9D50E1 #E15450 #94E150 #50DDE1
split-complementary
#9D50E1 #DDE150 #50E154
monochromatic
#5F1B9C #7F24D0 #9D50E1 #BA84EA #D8B8F3

Accessibility & contrast

On white

4.50
#9D50E1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.67
#9D50E1 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9D50E1
4.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9D50E1#FFFFFF#000000##000000
##9D50E11.004.504.674.67
#FFFFFF4.501.0021.0021.00
#0000004.6721.001.001.00
##0000004.6721.001.001.00

Color blindness preview

Protanopia (red-blind)
#0075E5
Deuteranopia (green-blind)
#2877DE
Tritanopia (blue-blind)
#916F92
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #9d50e1;
/* rgb */ color: rgb(157, 80, 225);
/* oklch */ color: oklch(59.3% 0.213 305.2);
Tailwind
colors: {
  custom: {
    50: '#be86eb',
    500: '#9d50e1',
    950: '#000000',
  },
}
SCSS
$custom: #9d50e1;
$custom-light: #be86eb;
$custom-dark: #000000;
JSON
{
  "hex": "#9d50e1",
  "rgb": {
    "r": 157,
    "g": 80,
    "b": 225
  },
  "hsl": {
    "h": 271.862,
    "s": 70.732,
    "l": 59.804
  },
  "oklch": {
    "l": 0.5933,
    "c": 0.21338,
    "h": 305.2
  },
  "luminance": 0.18342
}

Semantic roles & 50–950 ramp

primary
#9D50E1
secondary
#C5E2AA
accent
#ED3A8E
background
#FCF8FE
surface
#F8F0FD
border
#D1CBD5
text
#130B16
muted
#827C84

Preview Lab

Preview with #9D50E1

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

Preview Lab → · Contrast checker → · Palette generator →

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