#9B54DB#9B54DB

#9B54DB is a mid, highly saturated violet. Relative luminance 0.184; OKLCH L 59.2% C 0.201 H 305.3°. Best body text is #000000 at 4.68:1 contrast (WCAG AA passes).

Color values

HEX#9B54DB
RGBrgb(155, 84, 219)
HSLhsl(272, 65%, 59%)
HSVhsv(272, 62%, 86%)
CMYKcmyk(29.2%, 61.6%, 0%, 14.1%)
CIE-LABlab(50.01, 53.91, -57.99)
CIE-LCHlch(50.01, 79.18, 312.91°)
OKLaboklab(59.23% 0.1161 -0.1641)
OKLCHoklch(59.23% 0.201 305.3)
XYZxyz(29.4713, 18.4239, 69.0077)
Luminance0.1842 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9B54DB #94DB54
analogous
#5854DB #9B54DB #DB54D7
triadic
#9B54DB #DB9B54 #54DB9B
tetradic
#9B54DB #DB5854 #94DB54 #54D7DB
square
#9B54DB #DB5854 #94DB54 #54D7DB
split-complementary
#9B54DB #D7DB54 #54DB58
monochromatic
#5D1F95 #7D2AC8 #9B54DB #B987E6 #D6B9F0

Accessibility & contrast

On white

4.48
#9B54DB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.68
#9B54DB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9B54DB
4.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9B54DB#FFFFFF#000000##000000
##9B54DB1.004.484.684.68
#FFFFFF4.481.0021.0021.00
#0000004.6821.001.001.00
##0000004.6821.001.001.00

Color blindness preview

Protanopia (red-blind)
#0075DF
Deuteranopia (green-blind)
#3577D8
Tritanopia (blue-blind)
#907090
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #9b54db;
/* rgb */ color: rgb(155, 84, 219);
/* oklch */ color: oklch(59.2% 0.201 305.3);
Tailwind
colors: {
  custom: {
    50: '#bd88e7',
    500: '#9b54db',
    950: '#000000',
  },
}
SCSS
$custom: #9b54db;
$custom-light: #bd88e7;
$custom-dark: #000000;
JSON
{
  "hex": "#9b54db",
  "rgb": {
    "r": 155,
    "g": 84,
    "b": 219
  },
  "hsl": {
    "h": 271.556,
    "s": 65.217,
    "l": 59.412
  },
  "oklch": {
    "l": 0.59226,
    "c": 0.20102,
    "h": 305.3
  },
  "luminance": 0.18424
}

Semantic roles & 50–950 ramp

primary
#9B54DB
secondary
#C4E0AB
accent
#E84090
background
#FCF8FE
surface
#F8F0FC
border
#D1CBD5
text
#120C16
muted
#817D84

Preview Lab

Preview with #9B54DB

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

Preview Lab → · Contrast checker → · Palette generator →

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