#9D50E7#9D50E7

#9D50E7 is a mid, highly saturated violet. Relative luminance 0.187; OKLCH L 59.7% C 0.220 H 303.8°. Best body text is #000000 at 4.74:1 contrast (WCAG AA passes).

Color values

HEX#9D50E7
RGBrgb(157, 80, 231)
HSLhsl(271, 76%, 61%)
HSVhsv(271, 65%, 91%)
CMYKcmyk(32%, 65.4%, 0%, 9.4%)
CIE-LABlab(50.30, 59.09, -64.29)
CIE-LCHlch(50.30, 87.32, 312.59°)
OKLaboklab(59.74% 0.1224 -0.1825)
OKLCHoklch(59.74% 0.22 303.8)
XYZxyz(31.1938, 18.6750, 77.5471)
Luminance0.1867 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D50E7 #9AE750
analogous
#5150E7 #9D50E7 #E750E5
triadic
#9D50E7 #E79D50 #50E79D
tetradic
#9D50E7 #E75150 #9AE750 #50E5E7
square
#9D50E7 #E75150 #9AE750 #50E5E7
split-complementary
#9D50E7 #E5E750 #50E751
monochromatic
#6017A6 #7F1EDC #9D50E7 #BB86EE #D9BCF6

Accessibility & contrast

On white

4.44
#9D50E7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.74
#9D50E7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9D50E7
4.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9D50E7#FFFFFF#000000##000000
##9D50E71.004.444.744.74
#FFFFFF4.441.0021.0021.00
#0000004.7421.001.001.00
##0000004.7421.001.001.00

Color blindness preview

Protanopia (red-blind)
#0076EC
Deuteranopia (green-blind)
#1B78E4
Tritanopia (blue-blind)
#8F7195
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #9d50e7;
/* rgb */ color: rgb(157, 80, 231);
/* oklch */ color: oklch(59.7% 0.220 303.8);
Tailwind
colors: {
  custom: {
    50: '#bf86ef',
    500: '#9d50e7',
    950: '#000000',
  },
}
SCSS
$custom: #9d50e7;
$custom-light: #bf86ef;
$custom-dark: #000000;
JSON
{
  "hex": "#9d50e7",
  "rgb": {
    "r": 157,
    "g": 80,
    "b": 231
  },
  "hsl": {
    "h": 270.596,
    "s": 75.879,
    "l": 60.98
  },
  "oklch": {
    "l": 0.59742,
    "c": 0.21974,
    "h": 303.8
  },
  "luminance": 0.18675
}

Semantic roles & 50–950 ramp

primary
#9D50E7
secondary
#C9E6AD
accent
#D80D71
background
#FCF8FE
surface
#F8F0FD
border
#D1CBD5
text
#130B17
muted
#827C85

Preview Lab

Preview with #9D50E7

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

Preview Lab → · Contrast checker → · Palette generator →

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