#9E50CD#9E50CD

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

Color values

HEX#9E50CD
RGBrgb(158, 80, 205)
HSLhsl(277, 56%, 56%)
HSVhsv(277, 61%, 80%)
CMYKcmyk(22.9%, 61%, 0%, 19.6%)
CIE-LABlab(48.78, 53.42, -51.95)
CIE-LCHlch(48.78, 74.51, 315.80°)
OKLaboklab(58.14% 0.1251 -0.1463)
OKLCHoklch(58.14% 0.192 310.5)
XYZxyz(27.9866, 17.4148, 59.6329)
Luminance0.1741 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9E50CD #7FCD50
analogous
#5F50CD #9E50CD #CD50BD
triadic
#9E50CD #CD9E50 #50CD9E
tetradic
#9E50CD #CD5F50 #7FCD50 #50BDCD
square
#9E50CD #CD5F50 #7FCD50 #50BDCD
split-complementary
#9E50CD #BDCD50 #50CD5F
monochromatic
#5D247E #7F32AE #9E50CD #B880DB #D3AFE8

Accessibility & contrast

On white

4.68
#9E50CD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.48
#9E50CD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9E50CD
4.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9E50CD#FFFFFF#000000##FFFFFF
##9E50CD1.004.684.484.68
#FFFFFF4.681.0021.001.00
#0000004.4821.001.0021.00
##FFFFFF4.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1C70D1
Deuteranopia (green-blind)
#4375CA
Tritanopia (blue-blind)
#986887
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #9e50cd;
/* rgb */ color: rgb(158, 80, 205);
/* oklch */ color: oklch(58.1% 0.192 310.5);
Tailwind
colors: {
  custom: {
    50: '#be85dd',
    500: '#9e50cd',
    950: '#000000',
  },
}
SCSS
$custom: #9e50cd;
$custom-light: #be85dd;
$custom-dark: #000000;
JSON
{
  "hex": "#9e50cd",
  "rgb": {
    "r": 158,
    "g": 80,
    "b": 205
  },
  "hsl": {
    "h": 277.44,
    "s": 55.556,
    "l": 55.882
  },
  "oklch": {
    "l": 0.58139,
    "c": 0.19248,
    "h": 310.5
  },
  "luminance": 0.17414
}

Semantic roles & 50–950 ramp

primary
#9E50CD
secondary
#B6D6A2
accent
#DF4981
background
#FCF8FD
surface
#F8F0FB
border
#D1CBD4
text
#120B15
muted
#817C83

Preview Lab

Preview with #9E50CD

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

Preview Lab → · Contrast checker → · Palette generator →

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