#8A55CB#8A55CB

#8A55CB is a mid, vivid violet. Relative luminance 0.162; OKLCH L 56.5% C 0.178 H 301.7°. Best body text is #FFFFFF at 4.95:1 contrast (WCAG AA passes).

Color values

HEX#8A55CB
RGBrgb(138, 85, 203)
HSLhsl(267, 53%, 56%)
HSVhsv(267, 58%, 80%)
CMYKcmyk(32%, 58.1%, 0%, 20.4%)
CIE-LABlab(47.25, 45.60, -53.38)
CIE-LCHlch(47.25, 70.20, 310.51°)
OKLaboklab(56.46% 0.0932 -0.1511)
OKLCHoklch(56.46% 0.178 301.7)
XYZxyz(24.5067, 16.2120, 58.3265)
Luminance0.1621 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A55CB #96CB55
analogous
#555BCB #8A55CB #C555CB
triadic
#8A55CB #CB8A55 #55CB8A
tetradic
#8A55CB #CB555B #96CB55 #55CBC5
square
#8A55CB #CB555B #96CB55 #55CBC5
split-complementary
#8A55CB #CBC555 #5BCB55
monochromatic
#4E277F #6B35AE #8A55CB #AA84D9 #CBB3E8

Accessibility & contrast

On white

4.95
#8A55CB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.24
#8A55CB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8A55CB
4.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A55CB#FFFFFF#000000##FFFFFF
##8A55CB1.004.954.244.95
#FFFFFF4.951.0021.001.00
#0000004.2421.001.0021.00
##FFFFFF4.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1D6FCF
Deuteranopia (green-blind)
#3570C8
Tritanopia (blue-blind)
#7D6D88
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #8a55cb;
/* rgb */ color: rgb(138, 85, 203);
/* oklch */ color: oklch(56.5% 0.178 301.7);
Tailwind
colors: {
  custom: {
    50: '#b087db',
    500: '#8a55cb',
    950: '#000000',
  },
}
SCSS
$custom: #8a55cb;
$custom-light: #b087db;
$custom-dark: #000000;
JSON
{
  "hex": "#8a55cb",
  "rgb": {
    "r": 138,
    "g": 85,
    "b": 203
  },
  "hsl": {
    "h": 266.949,
    "s": 53.153,
    "l": 56.471
  },
  "oklch": {
    "l": 0.56464,
    "c": 0.17754,
    "h": 301.7
  },
  "luminance": 0.16212
}

Semantic roles & 50–950 ramp

primary
#8A55CB
secondary
#C0D6A6
accent
#DD4B9B
background
#FBF8FD
surface
#F6F0FB
border
#D0CBD4
text
#110B15
muted
#807C83

Preview Lab

Preview with #8A55CB

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

Preview Lab → · Contrast checker → · Palette generator →

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