#9A55CB#9A55CB

#9A55CB is a mid, vivid violet. Relative luminance 0.177; OKLCH L 58.2% C 0.182 H 308.8°. Best body text is #FFFFFF at 4.63:1 contrast (WCAG AA passes).

Color values

HEX#9A55CB
RGBrgb(154, 85, 203)
HSLhsl(275, 53%, 56%)
HSVhsv(275, 58%, 80%)
CMYKcmyk(24.1%, 58.1%, 0%, 20.4%)
CIE-LABlab(49.10, 49.48, -50.30)
CIE-LCHlch(49.10, 70.56, 314.53°)
OKLaboklab(58.23% 0.1138 -0.1416)
OKLCHoklch(58.23% 0.182 308.8)
XYZxyz(27.3523, 17.6792, 58.4599)
Luminance0.1768 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9A55CB #86CB55
analogous
#5F55CB #9A55CB #CB55C1
triadic
#9A55CB #CB9A55 #55CB9A
tetradic
#9A55CB #CB5F55 #86CB55 #55C1CB
square
#9A55CB #CB5F55 #86CB55 #55C1CB
split-complementary
#9A55CB #C1CB55 #55CB5F
monochromatic
#5A277F #7C35AE #9A55CB #B684D9 #D2B3E8

Accessibility & contrast

On white

4.63
#9A55CB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.54
#9A55CB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #9A55CB
4.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9A55CB#FFFFFF#000000##FFFFFF
##9A55CB1.004.634.544.63
#FFFFFF4.631.0021.001.00
#0000004.5421.001.0021.00
##FFFFFF4.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2972CF
Deuteranopia (green-blind)
#4676C8
Tritanopia (blue-blind)
#936B88
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #9a55cb;
/* rgb */ color: rgb(154, 85, 203);
/* oklch */ color: oklch(58.2% 0.182 308.8);
Tailwind
colors: {
  custom: {
    50: '#bb88db',
    500: '#9a55cb',
    950: '#000000',
  },
}
SCSS
$custom: #9a55cb;
$custom-light: #bb88db;
$custom-dark: #000000;
JSON
{
  "hex": "#9a55cb",
  "rgb": {
    "r": 154,
    "g": 85,
    "b": 203
  },
  "hsl": {
    "h": 275.085,
    "s": 53.153,
    "l": 56.471
  },
  "oklch": {
    "l": 0.58232,
    "c": 0.18168,
    "h": 308.8
  },
  "luminance": 0.17679
}

Semantic roles & 50–950 ramp

primary
#9A55CB
secondary
#BAD6A6
accent
#DD4B88
background
#FBF8FD
surface
#F7F0FB
border
#D0CBD4
text
#120C15
muted
#817D83

Preview Lab

Preview with #9A55CB

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

Preview Lab → · Contrast checker → · Palette generator →

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