#8A55CA#8A55CA

#8A55CA is a mid, vivid violet. Relative luminance 0.162; OKLCH L 56.4% C 0.176 H 301.9°. Best body text is #FFFFFF at 4.96:1 contrast (WCAG AA passes).

Color values

HEX#8A55CA
RGBrgb(138, 85, 202)
HSLhsl(267, 52%, 56%)
HSVhsv(267, 58%, 79%)
CMYKcmyk(31.7%, 57.9%, 0%, 20.8%)
CIE-LABlab(47.19, 45.35, -52.90)
CIE-LCHlch(47.19, 69.68, 310.61°)
OKLaboklab(56.4% 0.0933 -0.1497)
OKLCHoklch(56.4% 0.176 301.9)
XYZxyz(24.3879, 16.1645, 57.7009)
Luminance0.1616 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A55CA #95CA55
analogous
#555BCA #8A55CA #C455CA
triadic
#8A55CA #CA8A55 #55CA8A
tetradic
#8A55CA #CA555B #95CA55 #55CAC4
square
#8A55CA #CA555B #95CA55 #55CAC4
split-complementary
#8A55CA #CAC455 #5BCA55
monochromatic
#4E277D #6B36AC #8A55CA #AA84D9 #CAB2E7

Accessibility & contrast

On white

4.96
#8A55CA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.23
#8A55CA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8A55CA
4.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A55CA#FFFFFF#000000##FFFFFF
##8A55CA1.004.964.234.96
#FFFFFF4.961.0021.001.00
#0000004.2321.001.0021.00
##FFFFFF4.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1E6FCE
Deuteranopia (green-blind)
#366FC7
Tritanopia (blue-blind)
#7D6D87
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #8a55ca;
/* rgb */ color: rgb(138, 85, 202);
/* oklch */ color: oklch(56.4% 0.176 301.9);
Tailwind
colors: {
  custom: {
    50: '#b087db',
    500: '#8a55ca',
    950: '#000000',
  },
}
SCSS
$custom: #8a55ca;
$custom-light: #b087db;
$custom-dark: #000000;
JSON
{
  "hex": "#8a55ca",
  "rgb": {
    "r": 138,
    "g": 85,
    "b": 202
  },
  "hsl": {
    "h": 267.179,
    "s": 52.466,
    "l": 56.275
  },
  "oklch": {
    "l": 0.56399,
    "c": 0.17635,
    "h": 301.9
  },
  "luminance": 0.16165
}

Semantic roles & 50–950 ramp

primary
#8A55CA
secondary
#C0D5A5
accent
#DC4C9B
background
#FBF8FD
surface
#F6F0FB
border
#D0CBD4
text
#110B15
muted
#807C83

Preview Lab

Preview with #8A55CA

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

Preview Lab → · Contrast checker → · Palette generator →

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