#9B54DF#9B54DF

#9B54DF is a mid, highly saturated violet. Relative luminance 0.186; OKLCH L 59.5% C 0.205 H 304.4°. Best body text is #000000 at 4.73:1 contrast (WCAG AA passes).

Color values

HEX#9B54DF
RGBrgb(155, 84, 223)
HSLhsl(271, 68%, 60%)
HSVhsv(271, 62%, 87%)
CMYKcmyk(30.5%, 62.3%, 0%, 12.5%)
CIE-LABlab(50.26, 54.85, -59.85)
CIE-LCHlch(50.26, 81.18, 312.50°)
OKLaboklab(59.49% 0.1159 -0.1696)
OKLCHoklch(59.49% 0.205 304.4)
XYZxyz(30.0042, 18.6370, 71.8144)
Luminance0.1864 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9B54DF #98DF54
analogous
#5554DF #9B54DF #DF54DE
triadic
#9B54DF #DF9B54 #54DF9B
tetradic
#9B54DF #DF5554 #98DF54 #54DEDF
square
#9B54DF #DF5554 #98DF54 #54DEDF
split-complementary
#9B54DF #DEDF54 #54DF55
monochromatic
#5E1D9C #7D27CF #9B54DF #B988E9 #D7BBF2

Accessibility & contrast

On white

4.44
#9B54DF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.73
#9B54DF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9B54DF
4.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9B54DF#FFFFFF#000000##000000
##9B54DF1.004.444.734.73
#FFFFFF4.441.0021.0021.00
#0000004.7321.001.001.00
##0000004.7321.001.001.00

Color blindness preview

Protanopia (red-blind)
#0076E3
Deuteranopia (green-blind)
#2F78DC
Tritanopia (blue-blind)
#8F7192
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #9b54df;
/* rgb */ color: rgb(155, 84, 223);
/* oklch */ color: oklch(59.5% 0.205 304.4);
Tailwind
colors: {
  custom: {
    50: '#bd88ea',
    500: '#9b54df',
    950: '#000000',
  },
}
SCSS
$custom: #9b54df;
$custom-light: #bd88ea;
$custom-dark: #000000;
JSON
{
  "hex": "#9b54df",
  "rgb": {
    "r": 155,
    "g": 84,
    "b": 223
  },
  "hsl": {
    "h": 270.647,
    "s": 68.473,
    "l": 60.196
  },
  "oklch": {
    "l": 0.59491,
    "c": 0.20539,
    "h": 304.4
  },
  "luminance": 0.18637
}

Semantic roles & 50–950 ramp

primary
#9B54DF
secondary
#C7E2AD
accent
#D01571
background
#FCF8FE
surface
#F8F0FD
border
#D1CBD5
text
#120C16
muted
#817D84

Preview Lab

Preview with #9B54DF

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

Preview Lab → · Contrast checker → · Palette generator →

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