#9E50DF#9E50DF

#9E50DF is a mid, highly saturated violet. Relative luminance 0.183; OKLCH L 59.3% C 0.212 H 306.0°. Best body text is #000000 at 4.67:1 contrast (WCAG AA passes).

Color values

HEX#9E50DF
RGBrgb(158, 80, 223)
HSLhsl(273, 69%, 59%)
HSVhsv(273, 64%, 87%)
CMYKcmyk(29.1%, 64.1%, 0%, 12.5%)
CIE-LABlab(49.90, 57.46, -60.41)
CIE-LCHlch(49.90, 83.38, 313.56°)
OKLaboklab(59.31% 0.1243 -0.1711)
OKLCHoklch(59.31% 0.212 306)
XYZxyz(30.2856, 18.3344, 71.7411)
Luminance0.1833 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9E50DF #91DF50
analogous
#5750DF #9E50DF #DF50D9
triadic
#9E50DF #DF9E50 #50DF9E
tetradic
#9E50DF #DF5750 #91DF50 #50D9DF
square
#9E50DF #DF5750 #91DF50 #50D9DF
split-complementary
#9E50DF #D9DF50 #50DF57
monochromatic
#601C99 #8025CC #9E50DF #BB84E8 #D7B7F2

Accessibility & contrast

On white

4.50
#9E50DF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.67
#9E50DF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9E50DF
4.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9E50DF#FFFFFF#000000##000000
##9E50DF1.004.504.674.67
#FFFFFF4.501.0021.0021.00
#0000004.6721.001.001.00
##0000004.6721.001.001.00

Color blindness preview

Protanopia (red-blind)
#0074E3
Deuteranopia (green-blind)
#2D77DC
Tritanopia (blue-blind)
#936E91
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #9e50df;
/* rgb */ color: rgb(158, 80, 223);
/* oklch */ color: oklch(59.3% 0.212 306.0);
Tailwind
colors: {
  custom: {
    50: '#bf86ea',
    500: '#9e50df',
    950: '#000000',
  },
}
SCSS
$custom: #9e50df;
$custom-light: #bf86ea;
$custom-dark: #000000;
JSON
{
  "hex": "#9e50df",
  "rgb": {
    "r": 158,
    "g": 80,
    "b": 223
  },
  "hsl": {
    "h": 272.727,
    "s": 69.082,
    "l": 59.412
  },
  "oklch": {
    "l": 0.59309,
    "c": 0.21151,
    "h": 306
  },
  "luminance": 0.18334
}

Semantic roles & 50–950 ramp

primary
#9E50DF
secondary
#C3E1AA
accent
#EC3C8C
background
#FCF8FE
surface
#F8F0FD
border
#D1CBD5
text
#130B16
muted
#827C84

Preview Lab

Preview with #9E50DF

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

Preview Lab → · Contrast checker → · Palette generator →

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