#9B54CC#9B54CC

#9B54CC is a mid, vivid violet. Relative luminance 0.177; OKLCH L 58.3% C 0.185 H 309.1°. Best body text is #FFFFFF at 4.63:1 contrast (WCAG AA passes).

Color values

HEX#9B54CC
RGBrgb(155, 84, 204)
HSLhsl(276, 54%, 56%)
HSVhsv(276, 59%, 80%)
CMYKcmyk(24%, 58.8%, 0%, 20%)
CIE-LABlab(49.09, 50.47, -50.89)
CIE-LCHlch(49.09, 71.67, 314.76°)
OKLaboklab(58.27% 0.1164 -0.1433)
OKLCHoklch(58.27% 0.185 309.1)
XYZxyz(27.5848, 17.6693, 59.0724)
Luminance0.1767 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9B54CC #85CC54
analogous
#5F54CC #9B54CC #CC54C1
triadic
#9B54CC #CC9B54 #54CC9B
tetradic
#9B54CC #CC5F54 #85CC54 #54C1CC
square
#9B54CC #CC5F54 #85CC54 #54C1CC
split-complementary
#9B54CC #C1CC54 #54CC5F
monochromatic
#5B2680 #7D34AF #9B54CC #B783DA #D2B2E8

Accessibility & contrast

On white

4.63
#9B54CC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.53
#9B54CC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #9B54CC
4.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9B54CC#FFFFFF#000000##FFFFFF
##9B54CC1.004.634.534.63
#FFFFFF4.631.0021.001.00
#0000004.5321.001.0021.00
##FFFFFF4.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2672D0
Deuteranopia (green-blind)
#4576C9
Tritanopia (blue-blind)
#946B88
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #9b54cc;
/* rgb */ color: rgb(155, 84, 204);
/* oklch */ color: oklch(58.3% 0.185 309.1);
Tailwind
colors: {
  custom: {
    50: '#bc87dc',
    500: '#9b54cc',
    950: '#000000',
  },
}
SCSS
$custom: #9b54cc;
$custom-light: #bc87dc;
$custom-dark: #000000;
JSON
{
  "hex": "#9b54cc",
  "rgb": {
    "r": 155,
    "g": 84,
    "b": 204
  },
  "hsl": {
    "h": 275.5,
    "s": 54.054,
    "l": 56.471
  },
  "oklch": {
    "l": 0.58268,
    "c": 0.18458,
    "h": 309.1
  },
  "luminance": 0.17669
}

Semantic roles & 50–950 ramp

primary
#9B54CC
secondary
#B9D7A5
accent
#DD4A86
background
#FBF8FD
surface
#F7F0FB
border
#D0CBD4
text
#120C15
muted
#817D83

Preview Lab

Preview with #9B54CC

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

Preview Lab → · Contrast checker → · Palette generator →

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