#9B54E5#9B54E5

#9B54E5 is a mid, highly saturated violet. Relative luminance 0.190; OKLCH L 59.9% C 0.212 H 303.0°. Best body text is #000000 at 4.79:1 contrast (WCAG AA passes).

Color values

HEX#9B54E5
RGBrgb(155, 84, 229)
HSLhsl(269, 74%, 61%)
HSVhsv(269, 63%, 90%)
CMYKcmyk(32.3%, 63.3%, 0%, 10.2%)
CIE-LABlab(50.65, 56.26, -62.62)
CIE-LCHlch(50.65, 84.18, 311.94°)
OKLaboklab(59.9% 0.1155 -0.1777)
OKLCHoklch(59.9% 0.212 303)
XYZxyz(30.8275, 18.9664, 76.1503)
Luminance0.1897 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9B54E5 #9EE554
analogous
#5456E5 #9B54E5 #E354E5
triadic
#9B54E5 #E59B54 #54E59B
tetradic
#9B54E5 #E55456 #9EE554 #54E5E3
square
#9B54E5 #E55456 #9EE554 #54E5E3
split-complementary
#9B54E5 #E5E354 #56E554
monochromatic
#5E19A5 #7C21DB #9B54E5 #BA89ED #D9BEF5

Accessibility & contrast

On white

4.38
#9B54E5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.79
#9B54E5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9B54E5
4.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9B54E5#FFFFFF#000000##000000
##9B54E51.004.384.794.79
#FFFFFF4.381.0021.0021.00
#0000004.7921.001.001.00
##0000004.7921.001.001.00

Color blindness preview

Protanopia (red-blind)
#0077E9
Deuteranopia (green-blind)
#2578E2
Tritanopia (blue-blind)
#8D7395
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #9b54e5;
/* rgb */ color: rgb(155, 84, 229);
/* oklch */ color: oklch(59.9% 0.212 303.0);
Tailwind
colors: {
  custom: {
    50: '#bd88ee',
    500: '#9b54e5',
    950: '#000000',
  },
}
SCSS
$custom: #9b54e5;
$custom-light: #bd88ee;
$custom-dark: #000000;
JSON
{
  "hex": "#9b54e5",
  "rgb": {
    "r": 155,
    "g": 84,
    "b": 229
  },
  "hsl": {
    "h": 269.379,
    "s": 73.604,
    "l": 61.373
  },
  "oklch": {
    "l": 0.59895,
    "c": 0.21195,
    "h": 303
  },
  "luminance": 0.18966
}

Semantic roles & 50–950 ramp

primary
#9B54E5
secondary
#CBE6AF
accent
#D61075
background
#FCF8FE
surface
#F8F0FD
border
#D1CBD5
text
#130C16
muted
#827D84

Preview Lab

Preview with #9B54E5

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

Preview Lab → · Contrast checker → · Palette generator →

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