#9C51EC#9C51EC

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

Color values

HEX#9C51EC
RGBrgb(156, 81, 236)
HSLhsl(269, 80%, 62%)
HSVhsv(269, 66%, 93%)
CMYKcmyk(33.9%, 65.7%, 0%, 7.5%)
CIE-LABlab(50.70, 59.58, -66.47)
CIE-LCHlch(50.70, 89.27, 311.87°)
OKLaboklab(60.11% 0.1195 -0.189)
OKLCHoklch(60.11% 0.224 302.3)
XYZxyz(31.7895, 19.0088, 81.3349)
Luminance0.1901 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9C51EC #A1EC51
analogous
#5154EC #9C51EC #E951EC
triadic
#9C51EC #EC9C51 #51EC9C
tetradic
#9C51EC #EC5154 #A1EC51 #51ECE9
square
#9C51EC #EC5154 #A1EC51 #51ECE9
split-complementary
#9C51EC #ECE951 #54EC51
monochromatic
#5F13AF #7D1AE6 #9C51EC #BB88F2 #DBBFF8

Accessibility & contrast

On white

4.37
#9C51EC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.80
#9C51EC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9C51EC
4.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9C51EC#FFFFFF#000000##000000
##9C51EC1.004.374.804.80
#FFFFFF4.371.0021.0021.00
#0000004.8021.001.001.00
##0000004.8021.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #9c51ec;
/* rgb */ color: rgb(156, 81, 236);
/* oklch */ color: oklch(60.1% 0.224 302.3);
Tailwind
colors: {
  custom: {
    50: '#bf86f3',
    500: '#9c51ec',
    950: '#000000',
  },
}
SCSS
$custom: #9c51ec;
$custom-light: #bf86f3;
$custom-dark: #000000;
JSON
{
  "hex": "#9c51ec",
  "rgb": {
    "r": 156,
    "g": 81,
    "b": 236
  },
  "hsl": {
    "h": 269.032,
    "s": 80.311,
    "l": 62.157
  },
  "oklch": {
    "l": 0.60105,
    "c": 0.22358,
    "h": 302.3
  },
  "luminance": 0.19009
}

Semantic roles & 50–950 ramp

primary
#9C51EC
secondary
#CDE9B0
accent
#DD0976
background
#FCF8FF
surface
#F8F0FE
border
#D1CBD6
text
#130C17
muted
#827D85

Preview Lab

Preview with #9C51EC

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

Preview Lab → · Contrast checker → · Palette generator →

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