#9B54CB#9B54CB

#9B54CB is a mid, vivid violet. Relative luminance 0.176; OKLCH L 58.2% C 0.183 H 309.4°. Best body text is #FFFFFF at 4.64:1 contrast (WCAG AA passes).

Color values

HEX#9B54CB
RGBrgb(155, 84, 203)
HSLhsl(276, 53%, 56%)
HSVhsv(276, 59%, 80%)
CMYKcmyk(23.6%, 58.6%, 0%, 20.4%)
CIE-LABlab(49.03, 50.24, -50.41)
CIE-LCHlch(49.03, 71.17, 314.90°)
OKLaboklab(58.21% 0.1164 -0.1419)
OKLCHoklch(58.21% 0.183 309.4)
XYZxyz(27.4653, 17.6215, 58.4428)
Luminance0.1762 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9B54CB #84CB54
analogous
#6054CB #9B54CB #CB54C0
triadic
#9B54CB #CB9B54 #54CB9B
tetradic
#9B54CB #CB6054 #84CB54 #54C0CB
square
#9B54CB #CB6054 #84CB54 #54C0CB
split-complementary
#9B54CB #C0CB54 #54CB60
monochromatic
#5B267E #7D35AD #9B54CB #B683D9 #D2B2E8

Accessibility & contrast

On white

4.64
#9B54CB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.52
#9B54CB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #9B54CB
4.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9B54CB#FFFFFF#000000##FFFFFF
##9B54CB1.004.644.524.64
#FFFFFF4.641.0021.001.00
#0000004.5221.001.0021.00
##FFFFFF4.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2871CF
Deuteranopia (green-blind)
#4676C8
Tritanopia (blue-blind)
#946A88
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #9b54cb;
/* rgb */ color: rgb(155, 84, 203);
/* oklch */ color: oklch(58.2% 0.183 309.4);
Tailwind
colors: {
  custom: {
    50: '#bc87db',
    500: '#9b54cb',
    950: '#000000',
  },
}
SCSS
$custom: #9b54cb;
$custom-light: #bc87db;
$custom-dark: #000000;
JSON
{
  "hex": "#9b54cb",
  "rgb": {
    "r": 155,
    "g": 84,
    "b": 203
  },
  "hsl": {
    "h": 275.798,
    "s": 53.363,
    "l": 56.275
  },
  "oklch": {
    "l": 0.58207,
    "c": 0.18349,
    "h": 309.4
  },
  "luminance": 0.17621
}

Semantic roles & 50–950 ramp

primary
#9B54CB
secondary
#B9D6A5
accent
#DD4B86
background
#FBF8FD
surface
#F7F0FB
border
#D0CBD4
text
#120B15
muted
#817C83

Preview Lab

Preview with #9B54CB

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

Preview Lab → · Contrast checker → · Palette generator →

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