#9B54DA#9B54DA

#9B54DA is a mid, vivid violet. Relative luminance 0.184; OKLCH L 59.2% C 0.200 H 305.5°. Best body text is #000000 at 4.67:1 contrast (WCAG AA passes).

Color values

HEX#9B54DA
RGBrgb(155, 84, 218)
HSLhsl(272, 64%, 59%)
HSVhsv(272, 61%, 85%)
CMYKcmyk(28.9%, 61.5%, 0%, 14.5%)
CIE-LABlab(49.94, 53.68, -57.52)
CIE-LCHlch(49.94, 78.68, 313.02°)
OKLaboklab(59.16% 0.1162 -0.1627)
OKLCHoklch(59.16% 0.2 305.5)
XYZxyz(29.3400, 18.3714, 68.3164)
Luminance0.1837 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9B54DA #93DA54
analogous
#5854DA #9B54DA #DA54D6
triadic
#9B54DA #DA9B54 #54DA9B
tetradic
#9B54DA #DA5854 #93DA54 #54D6DA
square
#9B54DA #DA5854 #93DA54 #54D6DA
split-complementary
#9B54DA #D6DA54 #54DA58
monochromatic
#5D2094 #7D2BC6 #9B54DA #B886E5 #D6B9F0

Accessibility & contrast

On white

4.49
#9B54DA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.67
#9B54DA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9B54DA
4.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9B54DA#FFFFFF#000000##000000
##9B54DA1.004.494.674.67
#FFFFFF4.491.0021.0021.00
#0000004.6721.001.001.00
##0000004.6721.001.001.00

Color blindness preview

Protanopia (red-blind)
#0075DE
Deuteranopia (green-blind)
#3677D7
Tritanopia (blue-blind)
#906F8F
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #9b54da;
/* rgb */ color: rgb(155, 84, 218);
/* oklch */ color: oklch(59.2% 0.200 305.5);
Tailwind
colors: {
  custom: {
    50: '#bc88e6',
    500: '#9b54da',
    950: '#000000',
  },
}
SCSS
$custom: #9b54da;
$custom-light: #bc88e6;
$custom-dark: #000000;
JSON
{
  "hex": "#9b54da",
  "rgb": {
    "r": 155,
    "g": 84,
    "b": 218
  },
  "hsl": {
    "h": 271.791,
    "s": 64.423,
    "l": 59.216
  },
  "oklch": {
    "l": 0.5916,
    "c": 0.19992,
    "h": 305.5
  },
  "luminance": 0.18371
}

Semantic roles & 50–950 ramp

primary
#9B54DA
secondary
#C3DFAB
accent
#E7408F
background
#FCF8FE
surface
#F8F0FC
border
#D1CBD5
text
#120C16
muted
#817D84

Preview Lab

Preview with #9B54DA

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

Preview Lab → · Contrast checker → · Palette generator →

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