#9B54E4#9B54E4

#9B54E4 is a mid, highly saturated violet. Relative luminance 0.189; OKLCH L 59.8% C 0.211 H 303.2°. Best body text is #000000 at 4.78:1 contrast (WCAG AA passes).

Color values

HEX#9B54E4
RGBrgb(155, 84, 228)
HSLhsl(270, 73%, 61%)
HSVhsv(270, 63%, 89%)
CMYKcmyk(32%, 63.2%, 0%, 10.6%)
CIE-LABlab(50.58, 56.02, -62.16)
CIE-LCHlch(50.58, 83.68, 312.03°)
OKLaboklab(59.83% 0.1156 -0.1763)
OKLCHoklch(59.83% 0.211 303.2)
XYZxyz(30.6883, 18.9107, 75.4171)
Luminance0.1891 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9B54E4 #9DE454
analogous
#5455E4 #9B54E4 #E354E4
triadic
#9B54E4 #E49B54 #54E49B
tetradic
#9B54E4 #E45455 #9DE454 #54E4E3
square
#9B54E4 #E45455 #9DE454 #54E4E3
split-complementary
#9B54E4 #E4E354 #55E454
monochromatic
#5E1AA4 #7C22D9 #9B54E4 #BA89EC #D9BEF5

Accessibility & contrast

On white

4.39
#9B54E4 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.78
#9B54E4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9B54E4
4.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9B54E4#FFFFFF#000000##000000
##9B54E41.004.394.784.78
#FFFFFF4.391.0021.0021.00
#0000004.7821.001.001.00
##0000004.7821.001.001.00

Color blindness preview

Protanopia (red-blind)
#0077E8
Deuteranopia (green-blind)
#2778E1
Tritanopia (blue-blind)
#8D7395
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #9b54e4;
/* rgb */ color: rgb(155, 84, 228);
/* oklch */ color: oklch(59.8% 0.211 303.2);
Tailwind
colors: {
  custom: {
    50: '#bd88ed',
    500: '#9b54e4',
    950: '#000000',
  },
}
SCSS
$custom: #9b54e4;
$custom-light: #bd88ed;
$custom-dark: #000000;
JSON
{
  "hex": "#9b54e4",
  "rgb": {
    "r": 155,
    "g": 84,
    "b": 228
  },
  "hsl": {
    "h": 269.583,
    "s": 72.727,
    "l": 61.176
  },
  "oklch": {
    "l": 0.59827,
    "c": 0.21085,
    "h": 303.2
  },
  "luminance": 0.18911
}

Semantic roles & 50–950 ramp

primary
#9B54E4
secondary
#CAE5AF
accent
#D51174
background
#FCF8FE
surface
#F8F0FD
border
#D1CBD5
text
#130C16
muted
#827D84

Preview Lab

Preview with #9B54E4

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

Preview Lab → · Contrast checker → · Palette generator →

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