#9B51DD#9B51DD

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

Color values

HEX#9B51DD
RGBrgb(155, 81, 221)
HSLhsl(272, 67%, 59%)
HSVhsv(272, 63%, 87%)
CMYKcmyk(29.9%, 63.3%, 0%, 13.3%)
CIE-LABlab(49.59, 55.86, -59.80)
CIE-LCHlch(49.59, 81.84, 313.05°)
OKLaboklab(58.96% 0.1195 -0.1694)
OKLCHoklch(58.96% 0.207 305.2)
XYZxyz(29.5083, 18.0741, 70.3267)
Luminance0.1807 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9B51DD #93DD51
analogous
#5551DD #9B51DD #DD51D9
triadic
#9B51DD #DD9B51 #51DD9B
tetradic
#9B51DD #DD5551 #93DD51 #51D9DD
square
#9B51DD #DD5551 #93DD51 #51D9DD
split-complementary
#9B51DD #D9DD51 #51DD55
monochromatic
#5D1D96 #7D27C9 #9B51DD #B884E7 #D6B7F1

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##9B51DD#FFFFFF#000000##000000
##9B51DD1.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)
#0074E1
Deuteranopia (green-blind)
#2D76DA
Tritanopia (blue-blind)
#8F6F90
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #9b51dd;
/* rgb */ color: rgb(155, 81, 221);
/* oklch */ color: oklch(59.0% 0.207 305.2);
Tailwind
colors: {
  custom: {
    50: '#bd86e8',
    500: '#9b51dd',
    950: '#000000',
  },
}
SCSS
$custom: #9b51dd;
$custom-light: #bd86e8;
$custom-dark: #000000;
JSON
{
  "hex": "#9b51dd",
  "rgb": {
    "r": 155,
    "g": 81,
    "b": 221
  },
  "hsl": {
    "h": 271.714,
    "s": 67.308,
    "l": 59.216
  },
  "oklch": {
    "l": 0.58962,
    "c": 0.20729,
    "h": 305.2
  },
  "luminance": 0.18074
}

Semantic roles & 50–950 ramp

primary
#9B51DD
secondary
#C3E0AA
accent
#EA3E8F
background
#FCF8FE
surface
#F8F0FD
border
#D1CBD5
text
#120B16
muted
#817C84

Preview Lab

Preview with #9B51DD

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

Preview Lab → · Contrast checker → · Palette generator →

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