#9A55DB#9A55DB

#9A55DB is a mid, vivid violet. Relative luminance 0.185; OKLCH L 59.3% C 0.199 H 304.7°. Best body text is #000000 at 4.70:1 contrast (WCAG AA passes).

Color values

HEX#9A55DB
RGBrgb(154, 85, 219)
HSLhsl(271, 65%, 60%)
HSVhsv(271, 61%, 86%)
CMYKcmyk(29.7%, 61.2%, 0%, 14.1%)
CIE-LABlab(50.08, 53.18, -57.89)
CIE-LCHlch(50.08, 78.61, 312.57°)
OKLaboklab(59.25% 0.1136 -0.1638)
OKLCHoklch(59.25% 0.199 304.7)
XYZxyz(29.3583, 18.4816, 69.0248)
Luminance0.1848 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9A55DB #96DB55
analogous
#5755DB #9A55DB #DB55D9
triadic
#9A55DB #DB9A55 #55DB9A
tetradic
#9A55DB #DB5755 #96DB55 #55D9DB
square
#9A55DB #DB5755 #96DB55 #55D9DB
split-complementary
#9A55DB #D9DB55 #55DB57
monochromatic
#5D2096 #7C2AC8 #9A55DB #B888E6 #D6BAF0

Accessibility & contrast

On white

4.47
#9A55DB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.70
#9A55DB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9A55DB
4.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9A55DB#FFFFFF#000000##000000
##9A55DB1.004.474.704.70
#FFFFFF4.471.0021.0021.00
#0000004.7021.001.001.00
##0000004.7021.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #9a55db;
/* rgb */ color: rgb(154, 85, 219);
/* oklch */ color: oklch(59.3% 0.199 304.7);
Tailwind
colors: {
  custom: {
    50: '#bc88e7',
    500: '#9a55db',
    950: '#000000',
  },
}
SCSS
$custom: #9a55db;
$custom-light: #bc88e7;
$custom-dark: #000000;
JSON
{
  "hex": "#9a55db",
  "rgb": {
    "r": 154,
    "g": 85,
    "b": 219
  },
  "hsl": {
    "h": 270.896,
    "s": 65.049,
    "l": 59.608
  },
  "oklch": {
    "l": 0.5925,
    "c": 0.19938,
    "h": 304.7
  },
  "luminance": 0.18481
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #9A55DB

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

Preview Lab → · Contrast checker → · Palette generator →

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