#9A54DB#9A54DB

#9A54DB is a mid, highly saturated violet. Relative luminance 0.183; OKLCH L 59.1% C 0.201 H 304.9°. Best body text is #000000 at 4.67:1 contrast (WCAG AA passes).

Color values

HEX#9A54DB
RGBrgb(154, 84, 219)
HSLhsl(271, 65%, 59%)
HSVhsv(271, 62%, 86%)
CMYKcmyk(29.7%, 61.6%, 0%, 14.1%)
CIE-LABlab(49.89, 53.69, -58.19)
CIE-LCHlch(49.89, 79.17, 312.70°)
OKLaboklab(59.11% 0.1148 -0.1647)
OKLCHoklch(59.11% 0.201 304.9)
XYZxyz(29.2801, 18.3253, 68.9987)
Luminance0.1832 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9A54DB #95DB54
analogous
#5754DB #9A54DB #DB54D9
triadic
#9A54DB #DB9A54 #54DB9A
tetradic
#9A54DB #DB5754 #95DB54 #54D9DB
square
#9A54DB #DB5754 #95DB54 #54D9DB
split-complementary
#9A54DB #D9DB54 #54DB57
monochromatic
#5C1F95 #7C2AC8 #9A54DB #B887E6 #D6B9F0

Accessibility & contrast

On white

4.50
#9A54DB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.67
#9A54DB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9A54DB
4.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9A54DB#FFFFFF#000000##000000
##9A54DB1.004.504.674.67
#FFFFFF4.501.0021.0021.00
#0000004.6721.001.001.00
##0000004.6721.001.001.00

Color blindness preview

Protanopia (red-blind)
#0075DF
Deuteranopia (green-blind)
#3377D8
Tritanopia (blue-blind)
#8E7090
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #9a54db;
/* rgb */ color: rgb(154, 84, 219);
/* oklch */ color: oklch(59.1% 0.201 304.9);
Tailwind
colors: {
  custom: {
    50: '#bc88e7',
    500: '#9a54db',
    950: '#000000',
  },
}
SCSS
$custom: #9a54db;
$custom-light: #bc88e7;
$custom-dark: #000000;
JSON
{
  "hex": "#9a54db",
  "rgb": {
    "r": 154,
    "g": 84,
    "b": 219
  },
  "hsl": {
    "h": 271.111,
    "s": 65.217,
    "l": 59.412
  },
  "oklch": {
    "l": 0.59114,
    "c": 0.20077,
    "h": 304.9
  },
  "luminance": 0.18325
}

Semantic roles & 50–950 ramp

primary
#9A54DB
secondary
#C4E0AB
accent
#E84091
background
#FBF8FE
surface
#F7F0FC
border
#D0CBD5
text
#120C16
muted
#817D84

Preview Lab

Preview with #9A54DB

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

Preview Lab → · Contrast checker → · Palette generator →

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