#9C51DD#9C51DD

#9C51DD is a mid, highly saturated violet. Relative luminance 0.182; OKLCH L 59.1% C 0.208 H 305.6°. Best body text is #000000 at 4.63:1 contrast (WCAG AA passes).

Color values

HEX#9C51DD
RGBrgb(156, 81, 221)
HSLhsl(272, 67%, 59%)
HSVhsv(272, 63%, 87%)
CMYKcmyk(29.4%, 63.3%, 0%, 13.3%)
CIE-LABlab(49.71, 56.08, -59.60)
CIE-LCHlch(49.71, 81.84, 313.26°)
OKLaboklab(59.08% 0.1208 -0.1688)
OKLCHoklch(59.08% 0.208 305.6)
XYZxyz(29.7010, 18.1735, 70.3357)
Luminance0.1817 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9C51DD #92DD51
analogous
#5651DD #9C51DD #DD51D8
triadic
#9C51DD #DD9C51 #51DD9C
tetradic
#9C51DD #DD5651 #92DD51 #51D8DD
square
#9C51DD #DD5651 #92DD51 #51D8DD
split-complementary
#9C51DD #D8DD51 #51DD56
monochromatic
#5E1D96 #7E27C9 #9C51DD #B984E7 #D6B7F1

Accessibility & contrast

On white

4.53
#9C51DD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.63
#9C51DD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9C51DD
4.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9C51DD#FFFFFF#000000##000000
##9C51DD1.004.534.634.63
#FFFFFF4.531.0021.0021.00
#0000004.6321.001.001.00
##0000004.6321.001.001.00

Color blindness preview

Protanopia (red-blind)
#0074E1
Deuteranopia (green-blind)
#2F76DA
Tritanopia (blue-blind)
#916E90
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #9c51dd;
/* rgb */ color: rgb(156, 81, 221);
/* oklch */ color: oklch(59.1% 0.208 305.6);
Tailwind
colors: {
  custom: {
    50: '#be86e8',
    500: '#9c51dd',
    950: '#000000',
  },
}
SCSS
$custom: #9c51dd;
$custom-light: #be86e8;
$custom-dark: #000000;
JSON
{
  "hex": "#9c51dd",
  "rgb": {
    "r": 156,
    "g": 81,
    "b": 221
  },
  "hsl": {
    "h": 272.143,
    "s": 67.308,
    "l": 59.216
  },
  "oklch": {
    "l": 0.59075,
    "c": 0.20754,
    "h": 305.6
  },
  "luminance": 0.18173
}

Semantic roles & 50–950 ramp

primary
#9C51DD
secondary
#C3E0AA
accent
#EA3E8E
background
#FCF8FE
surface
#F8F0FD
border
#D1CBD5
text
#130B16
muted
#827C84

Preview Lab

Preview with #9C51DD

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

Preview Lab → · Contrast checker → · Palette generator →

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