#9E50BC#9E50BC

#9E50BC is a mid, vivid purple. Relative luminance 0.166; OKLCH L 57.1% C 0.175 H 315.6°. Best body text is #FFFFFF at 4.85:1 contrast (WCAG AA passes).

Color values

HEX#9E50BC
RGBrgb(158, 80, 188)
HSLhsl(283, 45%, 53%)
HSVhsv(283, 57%, 74%)
CMYKcmyk(16%, 57.4%, 0%, 26.3%)
CIE-LABlab(47.80, 49.76, -43.69)
CIE-LCHlch(47.80, 66.21, 318.72°)
OKLaboklab(57.11% 0.1248 -0.1221)
OKLCHoklch(57.11% 0.175 315.6)
XYZxyz(26.0449, 16.6381, 49.4067)
Luminance0.1664 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9E50BC #6EBC50
analogous
#6850BC #9E50BC #BC50A4
triadic
#9E50BC #BC9E50 #50BC9E
tetradic
#9E50BC #BC6850 #6EBC50 #50A4BC
square
#9E50BC #BC6850 #6EBC50 #50A4BC
split-complementary
#9E50BC #A4BC50 #50BC68
monochromatic
#572869 #7C3996 #9E50BC #B77CCD #CFA9DE

Accessibility & contrast

On white

4.85
#9E50BC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.33
#9E50BC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9E50BC
4.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9E50BC#FFFFFF#000000##FFFFFF
##9E50BC1.004.854.334.85
#FFFFFF4.851.0021.001.00
#0000004.3321.001.0021.00
##FFFFFF4.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#336DBF
Deuteranopia (green-blind)
#5074B9
Tritanopia (blue-blind)
#9C627E
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #9e50bc;
/* rgb */ color: rgb(158, 80, 188);
/* oklch */ color: oklch(57.1% 0.175 315.6);
Tailwind
colors: {
  custom: {
    50: '#bd85d1',
    500: '#9e50bc',
    950: '#000000',
  },
}
SCSS
$custom: #9e50bc;
$custom-light: #bd85d1;
$custom-dark: #000000;
JSON
{
  "hex": "#9e50bc",
  "rgb": {
    "r": 158,
    "g": 80,
    "b": 188
  },
  "hsl": {
    "h": 283.333,
    "s": 44.628,
    "l": 52.549
  },
  "oklch": {
    "l": 0.57112,
    "c": 0.17463,
    "h": 315.6
  },
  "luminance": 0.16637
}

Semantic roles & 50–950 ramp

primary
#9E50BC
secondary
#A9CB9C
accent
#D45377
background
#FBF8FC
surface
#F7EFF9
border
#D0CAD2
text
#120B14
muted
#817C82

Preview Lab

Preview with #9E50BC

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

Preview Lab → · Contrast checker → · Palette generator →

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