#9B54DC#9B54DC

#9B54DC is a mid, highly saturated violet. Relative luminance 0.185; OKLCH L 59.3% C 0.202 H 305.0°. Best body text is #000000 at 4.70:1 contrast (WCAG AA passes).

Color values

HEX#9B54DC
RGBrgb(155, 84, 220)
HSLhsl(271, 66%, 60%)
HSVhsv(271, 62%, 86%)
CMYKcmyk(29.5%, 61.8%, 0%, 13.7%)
CIE-LABlab(50.07, 54.14, -58.46)
CIE-LCHlch(50.07, 79.68, 312.81°)
OKLaboklab(59.29% 0.1161 -0.1655)
OKLCHoklch(59.29% 0.202 305)
XYZxyz(29.6033, 18.4767, 69.7031)
Luminance0.1848 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9B54DC #95DC54
analogous
#5754DC #9B54DC #DC54D9
triadic
#9B54DC #DC9B54 #54DC9B
tetradic
#9B54DC #DC5754 #95DC54 #54D9DC
square
#9B54DC #DC5754 #95DC54 #54D9DC
split-complementary
#9B54DC #D9DC54 #54DC57
monochromatic
#5D1F97 #7D29CA #9B54DC #B987E6 #D6BAF1

Accessibility & contrast

On white

4.47
#9B54DC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.70
#9B54DC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9B54DC
4.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9B54DC#FFFFFF#000000##000000
##9B54DC1.004.474.704.70
#FFFFFF4.471.0021.0021.00
#0000004.7021.001.001.00
##0000004.7021.001.001.00

Color blindness preview

Protanopia (red-blind)
#0075E0
Deuteranopia (green-blind)
#3377D9
Tritanopia (blue-blind)
#8F7090
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #9b54dc;
/* rgb */ color: rgb(155, 84, 220);
/* oklch */ color: oklch(59.3% 0.202 305.0);
Tailwind
colors: {
  custom: {
    50: '#bd88e8',
    500: '#9b54dc',
    950: '#000000',
  },
}
SCSS
$custom: #9b54dc;
$custom-light: #bd88e8;
$custom-dark: #000000;
JSON
{
  "hex": "#9b54dc",
  "rgb": {
    "r": 155,
    "g": 84,
    "b": 220
  },
  "hsl": {
    "h": 271.324,
    "s": 66.019,
    "l": 59.608
  },
  "oklch": {
    "l": 0.59292,
    "c": 0.20211,
    "h": 305
  },
  "luminance": 0.18477
}

Semantic roles & 50–950 ramp

primary
#9B54DC
secondary
#C5E0AC
accent
#E93F90
background
#FCF8FE
surface
#F8F0FD
border
#D1CBD5
text
#120C16
muted
#817D84

Preview Lab

Preview with #9B54DC

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

Preview Lab → · Contrast checker → · Palette generator →

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