#9B54E1#9B54E1

#9B54E1 is a mid, highly saturated violet. Relative luminance 0.187; OKLCH L 59.6% C 0.208 H 303.9°. Best body text is #000000 at 4.75:1 contrast (WCAG AA passes).

Color values

HEX#9B54E1
RGBrgb(155, 84, 225)
HSLhsl(270, 70%, 61%)
HSVhsv(270, 63%, 88%)
CMYKcmyk(31.1%, 62.7%, 0%, 11.8%)
CIE-LABlab(50.39, 55.32, -60.78)
CIE-LCHlch(50.39, 82.18, 312.31°)
OKLaboklab(59.62% 0.1158 -0.1723)
OKLCHoklch(59.62% 0.208 303.9)
XYZxyz(30.2754, 18.7455, 73.2428)
Luminance0.1875 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9B54E1 #9AE154
analogous
#5454E1 #9B54E1 #E154E0
triadic
#9B54E1 #E19B54 #54E19B
tetradic
#9B54E1 #E15454 #9AE154 #54E0E1
square
#9B54E1 #E15454 #9AE154 #54E0E1
split-complementary
#9B54E1 #E0E154 #54E154
monochromatic
#5E1C9F #7D25D3 #9B54E1 #B988EA #D8BCF3

Accessibility & contrast

On white

4.42
#9B54E1 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.75
#9B54E1 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9B54E1
4.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9B54E1#FFFFFF#000000##000000
##9B54E11.004.424.754.75
#FFFFFF4.421.0021.0021.00
#0000004.7521.001.001.00
##0000004.7521.001.001.00

Color blindness preview

Protanopia (red-blind)
#0076E5
Deuteranopia (green-blind)
#2C78DE
Tritanopia (blue-blind)
#8E7293
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #9b54e1;
/* rgb */ color: rgb(155, 84, 225);
/* oklch */ color: oklch(59.6% 0.208 303.9);
Tailwind
colors: {
  custom: {
    50: '#bd88eb',
    500: '#9b54e1',
    950: '#000000',
  },
}
SCSS
$custom: #9b54e1;
$custom-light: #bd88eb;
$custom-dark: #000000;
JSON
{
  "hex": "#9b54e1",
  "rgb": {
    "r": 155,
    "g": 84,
    "b": 225
  },
  "hsl": {
    "h": 270.213,
    "s": 70.149,
    "l": 60.588
  },
  "oklch": {
    "l": 0.59625,
    "c": 0.20758,
    "h": 303.9
  },
  "luminance": 0.18745
}

Semantic roles & 50–950 ramp

primary
#9B54E1
secondary
#C8E3AE
accent
#D21372
background
#FCF8FE
surface
#F8F0FD
border
#D1CBD5
text
#120C16
muted
#817D84

Preview Lab

Preview with #9B54E1

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

Preview Lab → · Contrast checker → · Palette generator →

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