#9E50CC#9E50CC

#9E50CC is a mid, vivid violet. Relative luminance 0.174; OKLCH L 58.1% C 0.191 H 310.8°. Best body text is #FFFFFF at 4.69:1 contrast (WCAG AA passes).

Color values

HEX#9E50CC
RGBrgb(158, 80, 204)
HSLhsl(278, 55%, 56%)
HSVhsv(278, 61%, 80%)
CMYKcmyk(22.5%, 60.8%, 0%, 20%)
CIE-LABlab(48.72, 53.20, -51.47)
CIE-LCHlch(48.72, 74.02, 315.95°)
OKLaboklab(58.08% 0.1251 -0.1448)
OKLCHoklch(58.08% 0.191 310.8)
XYZxyz(27.8663, 17.3667, 58.9992)
Luminance0.1737 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9E50CC #7ECC50
analogous
#6050CC #9E50CC #CC50BC
triadic
#9E50CC #CC9E50 #50CC9E
tetradic
#9E50CC #CC6050 #7ECC50 #50BCCC
square
#9E50CC #CC6050 #7ECC50 #50BCCC
split-complementary
#9E50CC #BCCC50 #50CC60
monochromatic
#5C247D #7F32AD #9E50CC #B87FDA #D3AFE8

Accessibility & contrast

On white

4.69
#9E50CC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.47
#9E50CC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9E50CC
4.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9E50CC#FFFFFF#000000##FFFFFF
##9E50CC1.004.694.474.69
#FFFFFF4.691.0021.001.00
#0000004.4721.001.0021.00
##FFFFFF4.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1E70D0
Deuteranopia (green-blind)
#4475C9
Tritanopia (blue-blind)
#986787
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #9e50cc;
/* rgb */ color: rgb(158, 80, 204);
/* oklch */ color: oklch(58.1% 0.191 310.8);
Tailwind
colors: {
  custom: {
    50: '#be85dc',
    500: '#9e50cc',
    950: '#000000',
  },
}
SCSS
$custom: #9e50cc;
$custom-light: #be85dc;
$custom-dark: #000000;
JSON
{
  "hex": "#9e50cc",
  "rgb": {
    "r": 158,
    "g": 80,
    "b": 204
  },
  "hsl": {
    "h": 277.742,
    "s": 54.867,
    "l": 55.686
  },
  "oklch": {
    "l": 0.58077,
    "c": 0.19142,
    "h": 310.8
  },
  "luminance": 0.17366
}

Semantic roles & 50–950 ramp

primary
#9E50CC
secondary
#B5D6A2
accent
#DE4A81
background
#FCF8FD
surface
#F8F0FB
border
#D1CBD4
text
#120B15
muted
#817C83

Preview Lab

Preview with #9E50CC

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

Preview Lab → · Contrast checker → · Palette generator →

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