#9E50CA#9E50CA

#9E50CA is a mid, vivid violet. Relative luminance 0.173; OKLCH L 58.0% C 0.189 H 311.4°. Best body text is #FFFFFF at 4.71:1 contrast (WCAG AA passes).

Color values

HEX#9E50CA
RGBrgb(158, 80, 202)
HSLhsl(278, 54%, 55%)
HSVhsv(278, 60%, 79%)
CMYKcmyk(21.8%, 60.4%, 0%, 20.8%)
CIE-LABlab(48.60, 52.76, -50.51)
CIE-LCHlch(48.60, 73.04, 316.25°)
OKLaboklab(57.95% 0.1252 -0.142)
OKLCHoklch(57.95% 0.189 311.4)
XYZxyz(27.6279, 17.2713, 57.7440)
Luminance0.1727 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9E50CA #7CCA50
analogous
#6150CA #9E50CA #CA50B9
triadic
#9E50CA #CA9E50 #50CA9E
tetradic
#9E50CA #CA6150 #7CCA50 #50B9CA
square
#9E50CA #CA6150 #7CCA50 #50B9CA
split-complementary
#9E50CA #B9CA50 #50CA61
monochromatic
#5C257A #7F33A9 #9E50CA #B87FD8 #D2AEE6

Accessibility & contrast

On white

4.71
#9E50CA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.45
#9E50CA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9E50CA
4.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9E50CA#FFFFFF#000000##FFFFFF
##9E50CA1.004.714.454.71
#FFFFFF4.711.0021.001.00
#0000004.4521.001.0021.00
##FFFFFF4.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2170CE
Deuteranopia (green-blind)
#4575C7
Tritanopia (blue-blind)
#996786
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #9e50ca;
/* rgb */ color: rgb(158, 80, 202);
/* oklch */ color: oklch(58.0% 0.189 311.4);
Tailwind
colors: {
  custom: {
    50: '#be85db',
    500: '#9e50ca',
    950: '#000000',
  },
}
SCSS
$custom: #9e50ca;
$custom-light: #be85db;
$custom-dark: #000000;
JSON
{
  "hex": "#9e50ca",
  "rgb": {
    "r": 158,
    "g": 80,
    "b": 202
  },
  "hsl": {
    "h": 278.361,
    "s": 53.509,
    "l": 55.294
  },
  "oklch": {
    "l": 0.57952,
    "c": 0.18931,
    "h": 311.4
  },
  "luminance": 0.17271
}

Semantic roles & 50–950 ramp

primary
#9E50CA
secondary
#B4D4A1
accent
#DD4B80
background
#FCF8FD
surface
#F8EFFB
border
#D1CAD4
text
#120B15
muted
#817C83

Preview Lab

Preview with #9E50CA

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

Preview Lab → · Contrast checker → · Palette generator →

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