#9C51DB#9C51DB

#9C51DB is a mid, highly saturated violet. Relative luminance 0.181; OKLCH L 58.9% C 0.205 H 306.1°. Best body text is #000000 at 4.61:1 contrast (WCAG AA passes).

Color values

HEX#9C51DB
RGBrgb(156, 81, 219)
HSLhsl(273, 66%, 59%)
HSVhsv(273, 63%, 86%)
CMYKcmyk(28.8%, 63%, 0%, 14.1%)
CIE-LABlab(49.58, 55.62, -58.67)
CIE-LCHlch(49.58, 80.85, 313.47°)
OKLaboklab(58.94% 0.1209 -0.1661)
OKLCHoklch(58.94% 0.205 306.1)
XYZxyz(29.4362, 18.0675, 68.9407)
Luminance0.1807 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9C51DB #90DB51
analogous
#5751DB #9C51DB #DB51D5
triadic
#9C51DB #DB9C51 #51DB9C
tetradic
#9C51DB #DB5751 #90DB51 #51D5DB
square
#9C51DB #DB5751 #90DB51 #51D5DB
split-complementary
#9C51DB #D5DB51 #51DB57
monochromatic
#5E1E93 #7E29C6 #9C51DB #B984E5 #D6B6F0

Accessibility & contrast

On white

4.55
#9C51DB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.61
#9C51DB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9C51DB
4.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9C51DB#FFFFFF#000000##000000
##9C51DB1.004.554.614.61
#FFFFFF4.551.0021.0021.00
#0000004.6121.001.001.00
##0000004.6121.001.001.00

Color blindness preview

Protanopia (red-blind)
#0074DF
Deuteranopia (green-blind)
#3276D8
Tritanopia (blue-blind)
#916E8F
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #9c51db;
/* rgb */ color: rgb(156, 81, 219);
/* oklch */ color: oklch(58.9% 0.205 306.1);
Tailwind
colors: {
  custom: {
    50: '#bd86e7',
    500: '#9c51db',
    950: '#000000',
  },
}
SCSS
$custom: #9c51db;
$custom-light: #bd86e7;
$custom-dark: #000000;
JSON
{
  "hex": "#9c51db",
  "rgb": {
    "r": 156,
    "g": 81,
    "b": 219
  },
  "hsl": {
    "h": 272.609,
    "s": 65.714,
    "l": 58.824
  },
  "oklch": {
    "l": 0.58942,
    "c": 0.2054,
    "h": 306.1
  },
  "luminance": 0.18067
}

Semantic roles & 50–950 ramp

primary
#9C51DB
secondary
#C2DFA9
accent
#E93F8D
background
#FCF8FE
surface
#F8F0FC
border
#D1CBD5
text
#120B16
muted
#817C84

Preview Lab

Preview with #9C51DB

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

Preview Lab → · Contrast checker → · Palette generator →

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