#9C50EC#9C50EC

#9C50EC is a mid, highly saturated violet. Relative luminance 0.189; OKLCH L 60.0% C 0.225 H 302.4°. Best body text is #000000 at 4.77:1 contrast (WCAG AA passes).

Color values

HEX#9C50EC
RGBrgb(156, 80, 236)
HSLhsl(269, 80%, 62%)
HSVhsv(269, 66%, 93%)
CMYKcmyk(33.9%, 66.1%, 0%, 7.5%)
CIE-LABlab(50.52, 60.06, -66.75)
CIE-LCHlch(50.52, 89.79, 311.98°)
OKLaboklab(59.98% 0.1205 -0.1898)
OKLCHoklch(59.98% 0.225 302.4)
XYZxyz(31.7157, 18.8613, 81.3103)
Luminance0.1886 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9C50EC #A0EC50
analogous
#5052EC #9C50EC #EA50EC
triadic
#9C50EC #EC9C50 #50EC9C
tetradic
#9C50EC #EC5052 #A0EC50 #50ECEA
square
#9C50EC #EC5052 #A0EC50 #50ECEA
split-complementary
#9C50EC #ECEA50 #52EC50
monochromatic
#5F13AF #7D19E6 #9C50EC #BB87F2 #DABEF8

Accessibility & contrast

On white

4.40
#9C50EC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.77
#9C50EC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9C50EC
4.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9C50EC#FFFFFF#000000##000000
##9C50EC1.004.404.774.77
#FFFFFF4.401.0021.0021.00
#0000004.7721.001.001.00
##0000004.7721.001.001.00

Color blindness preview

Protanopia (red-blind)
#0077F1
Deuteranopia (green-blind)
#0078E9
Tritanopia (blue-blind)
#8C7398
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #9c50ec;
/* rgb */ color: rgb(156, 80, 236);
/* oklch */ color: oklch(60.0% 0.225 302.4);
Tailwind
colors: {
  custom: {
    50: '#bf86f3',
    500: '#9c50ec',
    950: '#000000',
  },
}
SCSS
$custom: #9c50ec;
$custom-light: #bf86f3;
$custom-dark: #000000;
JSON
{
  "hex": "#9c50ec",
  "rgb": {
    "r": 156,
    "g": 80,
    "b": 236
  },
  "hsl": {
    "h": 269.231,
    "s": 80.412,
    "l": 61.961
  },
  "oklch": {
    "l": 0.5998,
    "c": 0.22483,
    "h": 302.4
  },
  "luminance": 0.18861
}

Semantic roles & 50–950 ramp

primary
#9C50EC
secondary
#CDE9AF
accent
#DD0975
background
#FCF8FF
surface
#F8F0FE
border
#D1CBD6
text
#130B17
muted
#827C85

Preview Lab

Preview with #9C50EC

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

Preview Lab → · Contrast checker → · Palette generator →

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