#9C51DF#9C51DF

#9C51DF is a mid, highly saturated violet. Relative luminance 0.183; OKLCH L 59.2% C 0.210 H 305.1°. Best body text is #000000 at 4.66:1 contrast (WCAG AA passes).

Color values

HEX#9C51DF
RGBrgb(156, 81, 223)
HSLhsl(272, 69%, 60%)
HSVhsv(272, 64%, 87%)
CMYKcmyk(30%, 63.7%, 0%, 12.5%)
CIE-LABlab(49.83, 56.54, -60.53)
CIE-LCHlch(49.83, 82.83, 313.05°)
OKLaboklab(59.21% 0.1206 -0.1715)
OKLCHoklch(59.21% 0.21 305.1)
XYZxyz(29.9691, 18.2807, 71.7474)
Luminance0.1828 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9C51DF #94DF51
analogous
#5551DF #9C51DF #DF51DB
triadic
#9C51DF #DF9C51 #51DF9C
tetradic
#9C51DF #DF5551 #94DF51 #51DBDF
square
#9C51DF #DF5551 #94DF51 #51DBDF
split-complementary
#9C51DF #DBDF51 #51DF55
monochromatic
#5E1C99 #7E26CD #9C51DF #B985E9 #D7B8F2

Accessibility & contrast

On white

4.51
#9C51DF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.66
#9C51DF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9C51DF
4.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9C51DF#FFFFFF#000000##000000
##9C51DF1.004.514.664.66
#FFFFFF4.511.0021.0021.00
#0000004.6621.001.001.00
##0000004.6621.001.001.00

Color blindness preview

Protanopia (red-blind)
#0074E3
Deuteranopia (green-blind)
#2C77DC
Tritanopia (blue-blind)
#906F91
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #9c51df;
/* rgb */ color: rgb(156, 81, 223);
/* oklch */ color: oklch(59.2% 0.210 305.1);
Tailwind
colors: {
  custom: {
    50: '#be86ea',
    500: '#9c51df',
    950: '#000000',
  },
}
SCSS
$custom: #9c51df;
$custom-light: #be86ea;
$custom-dark: #000000;
JSON
{
  "hex": "#9c51df",
  "rgb": {
    "r": 156,
    "g": 81,
    "b": 223
  },
  "hsl": {
    "h": 271.69,
    "s": 68.932,
    "l": 59.608
  },
  "oklch": {
    "l": 0.5921,
    "c": 0.20968,
    "h": 305.1
  },
  "luminance": 0.1828
}

Semantic roles & 50–950 ramp

primary
#9C51DF
secondary
#C4E1AA
accent
#EC3C8F
background
#FCF8FE
surface
#F8F0FD
border
#D1CBD5
text
#130B16
muted
#827C84

Preview Lab

Preview with #9C51DF

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

Preview Lab → · Contrast checker → · Palette generator →

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