#9B54CA#9B54CA

#9B54CA is a mid, vivid violet. Relative luminance 0.176; OKLCH L 58.1% C 0.182 H 309.6°. Best body text is #FFFFFF at 4.65:1 contrast (WCAG AA passes).

Color values

HEX#9B54CA
RGBrgb(155, 84, 202)
HSLhsl(276, 53%, 56%)
HSVhsv(276, 58%, 79%)
CMYKcmyk(23.3%, 58.4%, 0%, 20.8%)
CIE-LABlab(48.98, 50.02, -49.93)
CIE-LCHlch(48.98, 70.67, 315.05°)
OKLaboklab(58.15% 0.1164 -0.1405)
OKLCHoklch(58.15% 0.182 309.6)
XYZxyz(27.3465, 17.5740, 57.8172)
Luminance0.1757 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9B54CA #83CA54
analogous
#6054CA #9B54CA #CA54BE
triadic
#9B54CA #CA9B54 #54CA9B
tetradic
#9B54CA #CA6054 #83CA54 #54BECA
square
#9B54CA #CA6054 #83CA54 #54BECA
split-complementary
#9B54CA #BECA54 #54CA60
monochromatic
#5B277D #7C35AC #9B54CA #B683D8 #D2B1E7

Accessibility & contrast

On white

4.65
#9B54CA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.51
#9B54CA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #9B54CA
4.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9B54CA#FFFFFF#000000##FFFFFF
##9B54CA1.004.654.514.65
#FFFFFF4.651.0021.001.00
#0000004.5121.001.0021.00
##FFFFFF4.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2971CE
Deuteranopia (green-blind)
#4675C7
Tritanopia (blue-blind)
#956A87
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #9b54ca;
/* rgb */ color: rgb(155, 84, 202);
/* oklch */ color: oklch(58.1% 0.182 309.6);
Tailwind
colors: {
  custom: {
    50: '#bc87db',
    500: '#9b54ca',
    950: '#000000',
  },
}
SCSS
$custom: #9b54ca;
$custom-light: #bc87db;
$custom-dark: #000000;
JSON
{
  "hex": "#9b54ca",
  "rgb": {
    "r": 155,
    "g": 84,
    "b": 202
  },
  "hsl": {
    "h": 276.102,
    "s": 52.679,
    "l": 56.078
  },
  "oklch": {
    "l": 0.58145,
    "c": 0.1824,
    "h": 309.6
  },
  "luminance": 0.17573
}

Semantic roles & 50–950 ramp

primary
#9B54CA
secondary
#B8D5A5
accent
#DC4C85
background
#FBF8FD
surface
#F7F0FB
border
#D0CBD4
text
#120B15
muted
#817C83

Preview Lab

Preview with #9B54CA

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

Preview Lab → · Contrast checker → · Palette generator →

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