#8A55D1#8A55D1

#8A55D1 is a mid, vivid violet. Relative luminance 0.165; OKLCH L 56.9% C 0.185 H 300.3°. Best body text is #FFFFFF at 4.88:1 contrast (WCAG AA passes).

Color values

HEX#8A55D1
RGBrgb(138, 85, 209)
HSLhsl(266, 57%, 58%)
HSVhsv(266, 59%, 82%)
CMYKcmyk(34%, 59.3%, 0%, 18%)
CIE-LABlab(47.63, 47.10, -56.21)
CIE-LCHlch(47.63, 73.34, 309.96°)
OKLaboklab(56.86% 0.0932 -0.1594)
OKLCHoklch(56.86% 0.185 300.3)
XYZxyz(25.2356, 16.5035, 62.1652)
Luminance0.1650 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A55D1 #9CD155
analogous
#555ED1 #8A55D1 #C855D1
triadic
#8A55D1 #D18A55 #55D18A
tetradic
#8A55D1 #D1555E #9CD155 #55D1C8
square
#8A55D1 #D1555E #9CD155 #55D1C8
split-complementary
#8A55D1 #D1C855 #5ED155
monochromatic
#4F2587 #6B32B7 #8A55D1 #AB85DE #CCB5EB

Accessibility & contrast

On white

4.88
#8A55D1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.30
#8A55D1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8A55D1
4.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A55D1#FFFFFF#000000##FFFFFF
##8A55D11.004.884.304.88
#FFFFFF4.881.0021.001.00
#0000004.3021.001.0021.00
##FFFFFF4.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0C71D5
Deuteranopia (green-blind)
#2D70CE
Tritanopia (blue-blind)
#7B6F8B
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #8a55d1;
/* rgb */ color: rgb(138, 85, 209);
/* oklch */ color: oklch(56.9% 0.185 300.3);
Tailwind
colors: {
  custom: {
    50: '#b087e0',
    500: '#8a55d1',
    950: '#000000',
  },
}
SCSS
$custom: #8a55d1;
$custom-light: #b087e0;
$custom-dark: #000000;
JSON
{
  "hex": "#8a55d1",
  "rgb": {
    "r": 138,
    "g": 85,
    "b": 209
  },
  "hsl": {
    "h": 265.645,
    "s": 57.407,
    "l": 57.647
  },
  "oklch": {
    "l": 0.5686,
    "c": 0.18464,
    "h": 300.3
  },
  "luminance": 0.16504
}

Semantic roles & 50–950 ramp

primary
#8A55D1
secondary
#C5DAA8
accent
#E1479F
background
#FBF8FD
surface
#F6F0FB
border
#D0CBD4
text
#110B15
muted
#807C83

Preview Lab

Preview with #8A55D1

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

Preview Lab → · Contrast checker → · Palette generator →

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