#8A55C0#8A55C0

#8A55C0 is a mid, vivid violet. Relative luminance 0.157; OKLCH L 55.8% C 0.164 H 304.5°. Best body text is #FFFFFF at 5.07:1 contrast (WCAG AA passes).

Color values

HEX#8A55C0
RGBrgb(138, 85, 192)
HSLhsl(270, 46%, 54%)
HSVhsv(270, 56%, 75%)
CMYKcmyk(28.1%, 55.7%, 0%, 24.7%)
CIE-LABlab(46.59, 42.90, -48.09)
CIE-LCHlch(46.59, 64.44, 311.74°)
OKLaboklab(55.76% 0.0931 -0.1356)
OKLCHoklch(55.76% 0.164 304.5)
XYZxyz(23.2421, 15.7061, 51.6661)
Luminance0.1571 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A55C0 #8BC055
analogous
#5556C0 #8A55C0 #C055C0
triadic
#8A55C0 #C08A55 #55C08A
tetradic
#8A55C0 #C05556 #8BC055 #55C0C0
square
#8A55C0 #C05556 #8BC055 #55C0C0
split-complementary
#8A55C0 #C0C055 #56C055
monochromatic
#4D2A71 #6B3A9D #8A55C0 #A982D1 #C7AEE1

Accessibility & contrast

On white

5.07
#8A55C0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.14
#8A55C0 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8A55C0
5.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A55C0#FFFFFF#000000##FFFFFF
##8A55C01.005.074.145.07
#FFFFFF5.071.0021.001.00
#0000004.1421.001.0021.00
##FFFFFF5.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2D6DC4
Deuteranopia (green-blind)
#406EBD
Tritanopia (blue-blind)
#816982
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #8a55c0;
/* rgb */ color: rgb(138, 85, 192);
/* oklch */ color: oklch(55.8% 0.164 304.5);
Tailwind
colors: {
  custom: {
    50: '#af87d3',
    500: '#8a55c0',
    950: '#000000',
  },
}
SCSS
$custom: #8a55c0;
$custom-light: #af87d3;
$custom-dark: #000000;
JSON
{
  "hex": "#8a55c0",
  "rgb": {
    "r": 138,
    "g": 85,
    "b": 192
  },
  "hsl": {
    "h": 269.72,
    "s": 45.923,
    "l": 54.314
  },
  "oklch": {
    "l": 0.55762,
    "c": 0.16444,
    "h": 304.5
  },
  "luminance": 0.15706
}

Semantic roles & 50–950 ramp

primary
#8A55C0
secondary
#B9CFA2
accent
#D65295
background
#FBF8FD
surface
#F6F0FA
border
#D0CBD3
text
#110B14
muted
#807C83

Preview Lab

Preview with #8A55C0

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

Preview Lab → · Contrast checker → · Palette generator →

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