#9D50EC#9D50EC

#9D50EC is a mid, highly saturated violet. Relative luminance 0.190; OKLCH L 60.1% C 0.225 H 302.8°. Best body text is #000000 at 4.79:1 contrast (WCAG AA passes).

Color values

HEX#9D50EC
RGBrgb(157, 80, 236)
HSLhsl(270, 80%, 62%)
HSVhsv(270, 66%, 93%)
CMYKcmyk(33.5%, 66.1%, 0%, 7.5%)
CIE-LABlab(50.64, 60.26, -66.56)
CIE-LCHlch(50.64, 89.78, 312.16°)
OKLaboklab(60.09% 0.1218 -0.1892)
OKLCHoklch(60.09% 0.225 302.8)
XYZxyz(31.9101, 18.9615, 81.3194)
Luminance0.1896 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D50EC #9FEC50
analogous
#5051EC #9D50EC #EB50EC
triadic
#9D50EC #EC9D50 #50EC9D
tetradic
#9D50EC #EC5051 #9FEC50 #50ECEB
square
#9D50EC #EC5051 #9FEC50 #50ECEB
split-complementary
#9D50EC #ECEB50 #51EC50
monochromatic
#6013AF #7E19E6 #9D50EC #BC87F2 #DBBEF8

Accessibility & contrast

On white

4.38
#9D50EC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.79
#9D50EC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9D50EC
4.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9D50EC#FFFFFF#000000##000000
##9D50EC1.004.384.794.79
#FFFFFF4.381.0021.0021.00
#0000004.7921.001.001.00
##0000004.7921.001.001.00

Color blindness preview

Protanopia (red-blind)
#0077F1
Deuteranopia (green-blind)
#0578E9
Tritanopia (blue-blind)
#8D7398
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #9d50ec;
/* rgb */ color: rgb(157, 80, 236);
/* oklch */ color: oklch(60.1% 0.225 302.8);
Tailwind
colors: {
  custom: {
    50: '#bf86f3',
    500: '#9d50ec',
    950: '#000000',
  },
}
SCSS
$custom: #9d50ec;
$custom-light: #bf86f3;
$custom-dark: #000000;
JSON
{
  "hex": "#9d50ec",
  "rgb": {
    "r": 157,
    "g": 80,
    "b": 236
  },
  "hsl": {
    "h": 269.615,
    "s": 80.412,
    "l": 61.961
  },
  "oklch": {
    "l": 0.60091,
    "c": 0.22503,
    "h": 302.8
  },
  "luminance": 0.18962
}

Semantic roles & 50–950 ramp

primary
#9D50EC
secondary
#CCE9AF
accent
#DD0974
background
#FCF8FF
surface
#F8F0FE
border
#D1CBD6
text
#130B17
muted
#827C85

Preview Lab

Preview with #9D50EC

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

Preview Lab → · Contrast checker → · Palette generator →

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