#9C50EB#9C50EB

#9C50EB is a mid, highly saturated violet. Relative luminance 0.188; OKLCH L 59.9% C 0.224 H 302.6°. Best body text is #000000 at 4.76:1 contrast (WCAG AA passes).

Color values

HEX#9C50EB
RGBrgb(156, 80, 235)
HSLhsl(269, 79%, 62%)
HSVhsv(269, 66%, 92%)
CMYKcmyk(33.6%, 66%, 0%, 7.8%)
CIE-LABlab(50.46, 59.82, -66.30)
CIE-LCHlch(50.46, 89.30, 312.06°)
OKLaboklab(59.91% 0.1206 -0.1885)
OKLCHoklch(59.91% 0.224 302.6)
XYZxyz(31.5708, 18.8034, 80.5473)
Luminance0.1880 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9C50EB #9FEB50
analogous
#5052EB #9C50EB #E950EB
triadic
#9C50EB #EB9C50 #50EB9C
tetradic
#9C50EB #EB5052 #9FEB50 #50EBE9
square
#9C50EB #EB5052 #9FEB50 #50EBE9
split-complementary
#9C50EB #EBE950 #52EB50
monochromatic
#5F14AD #7D1AE4 #9C50EB #BB87F1 #DABEF8

Accessibility & contrast

On white

4.41
#9C50EB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.76
#9C50EB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9C50EB
4.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9C50EB#FFFFFF#000000##000000
##9C50EB1.004.414.764.76
#FFFFFF4.411.0021.0021.00
#0000004.7621.001.001.00
##0000004.7621.001.001.00

Color blindness preview

Protanopia (red-blind)
#0077F0
Deuteranopia (green-blind)
#0678E8
Tritanopia (blue-blind)
#8C7397
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #9c50eb;
/* rgb */ color: rgb(156, 80, 235);
/* oklch */ color: oklch(59.9% 0.224 302.6);
Tailwind
colors: {
  custom: {
    50: '#bf86f2',
    500: '#9c50eb',
    950: '#000000',
  },
}
SCSS
$custom: #9c50eb;
$custom-light: #bf86f2;
$custom-dark: #000000;
JSON
{
  "hex": "#9c50eb",
  "rgb": {
    "r": 156,
    "g": 80,
    "b": 235
  },
  "hsl": {
    "h": 269.419,
    "s": 79.487,
    "l": 61.765
  },
  "oklch": {
    "l": 0.5991,
    "c": 0.22377,
    "h": 302.6
  },
  "luminance": 0.18803
}

Semantic roles & 50–950 ramp

primary
#9C50EB
secondary
#CCE8AF
accent
#DC0A75
background
#FCF8FE
surface
#F8F0FD
border
#D1CBD5
text
#130B17
muted
#827C85

Preview Lab

Preview with #9C50EB

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

Preview Lab → · Contrast checker → · Palette generator →

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