#9A55BB#9A55BB

#9A55BB is a mid, vivid purple. Relative luminance 0.170; OKLCH L 57.3% C 0.164 H 313.6°. Best body text is #FFFFFF at 4.78:1 contrast (WCAG AA passes).

Color values

HEX#9A55BB
RGBrgb(154, 85, 187)
HSLhsl(281, 43%, 53%)
HSVhsv(281, 55%, 73%)
CMYKcmyk(17.6%, 54.5%, 0%, 26.7%)
CIE-LABlab(48.20, 45.92, -42.50)
CIE-LCHlch(48.20, 62.57, 317.22°)
OKLaboklab(57.28% 0.1132 -0.1188)
OKLCHoklch(57.28% 0.164 313.6)
XYZxyz(25.5431, 16.9556, 48.9313)
Luminance0.1696 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9A55BB #76BB55
analogous
#6755BB #9A55BB #BB55A9
triadic
#9A55BB #BB9A55 #55BB9A
tetradic
#9A55BB #BB6755 #76BB55 #55A9BB
square
#9A55BB #BB6755 #76BB55 #55A9BB
split-complementary
#9A55BB #A9BB55 #55BB67
monochromatic
#562B6B #793C97 #9A55BB #B481CC #CEACDE

Accessibility & contrast

On white

4.78
#9A55BB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.39
#9A55BB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9A55BB
4.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9A55BB#FFFFFF#000000##FFFFFF
##9A55BB1.004.784.394.78
#FFFFFF4.781.0021.001.00
#0000004.3921.001.0021.00
##FFFFFF4.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3B6FBE
Deuteranopia (green-blind)
#5274B8
Tritanopia (blue-blind)
#976680
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #9a55bb;
/* rgb */ color: rgb(154, 85, 187);
/* oklch */ color: oklch(57.3% 0.164 313.6);
Tailwind
colors: {
  custom: {
    50: '#ba88d0',
    500: '#9a55bb',
    950: '#000000',
  },
}
SCSS
$custom: #9a55bb;
$custom-light: #ba88d0;
$custom-dark: #000000;
JSON
{
  "hex": "#9a55bb",
  "rgb": {
    "r": 154,
    "g": 85,
    "b": 187
  },
  "hsl": {
    "h": 280.588,
    "s": 42.857,
    "l": 53.333
  },
  "oklch": {
    "l": 0.5728,
    "c": 0.16405,
    "h": 313.6
  },
  "luminance": 0.16955
}

Semantic roles & 50–950 ramp

primary
#9A55BB
secondary
#AECCA0
accent
#D3557E
background
#FBF8FC
surface
#F6F0F9
border
#D0CBD2
text
#120B14
muted
#817C82

Preview Lab

Preview with #9A55BB

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

Preview Lab → · Contrast checker → · Palette generator →

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