#9E50BB#9E50BB

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

Color values

HEX#9E50BB
RGBrgb(158, 80, 187)
HSLhsl(284, 44%, 52%)
HSVhsv(284, 57%, 73%)
CMYKcmyk(15.5%, 57.2%, 0%, 26.7%)
CIE-LABlab(47.75, 49.55, -43.19)
CIE-LCHlch(47.75, 65.73, 318.92°)
OKLaboklab(57.05% 0.1248 -0.1207)
OKLCHoklch(57.05% 0.174 316)
XYZxyz(25.9375, 16.5951, 48.8410)
Luminance0.1659 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9E50BB #6DBB50
analogous
#6850BB #9E50BB #BB50A3
triadic
#9E50BB #BB9E50 #50BB9E
tetradic
#9E50BB #BB6850 #6DBB50 #50A3BB
square
#9E50BB #BB6850 #6DBB50 #50A3BB
split-complementary
#9E50BB #A3BB50 #50BB68
monochromatic
#572868 #7C3A94 #9E50BB #B67CCC #CFA8DD

Accessibility & contrast

On white

4.86
#9E50BB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.32
#9E50BB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9E50BB
4.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9E50BB#FFFFFF#000000##FFFFFF
##9E50BB1.004.864.324.86
#FFFFFF4.861.0021.001.00
#0000004.3221.001.0021.00
##FFFFFF4.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#346DBE
Deuteranopia (green-blind)
#5174B8
Tritanopia (blue-blind)
#9C627E
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #9e50bb;
/* rgb */ color: rgb(158, 80, 187);
/* oklch */ color: oklch(57.1% 0.174 316.0);
Tailwind
colors: {
  custom: {
    50: '#bd85d0',
    500: '#9e50bb',
    950: '#000000',
  },
}
SCSS
$custom: #9e50bb;
$custom-light: #bd85d0;
$custom-dark: #000000;
JSON
{
  "hex": "#9e50bb",
  "rgb": {
    "r": 158,
    "g": 80,
    "b": 187
  },
  "hsl": {
    "h": 283.738,
    "s": 44.033,
    "l": 52.353
  },
  "oklch": {
    "l": 0.57054,
    "c": 0.17359,
    "h": 316
  },
  "luminance": 0.16594
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #9E50BB

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

Preview Lab → · Contrast checker → · Palette generator →

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