#8A55D2#8A55D2

#8A55D2 is a mid, vivid violet. Relative luminance 0.166; OKLCH L 56.9% C 0.186 H 300.1°. Best body text is #FFFFFF at 4.87:1 contrast (WCAG AA passes).

Color values

HEX#8A55D2
RGBrgb(138, 85, 210)
HSLhsl(265, 58%, 58%)
HSVhsv(265, 60%, 82%)
CMYKcmyk(34.3%, 59.5%, 0%, 17.6%)
CIE-LABlab(47.69, 47.35, -56.68)
CIE-LCHlch(47.69, 73.86, 309.88°)
OKLaboklab(56.93% 0.0931 -0.1608)
OKLCHoklch(56.93% 0.186 300.1)
XYZxyz(25.3598, 16.5532, 62.8193)
Luminance0.1655 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A55D2 #9DD255
analogous
#555ED2 #8A55D2 #C955D2
triadic
#8A55D2 #D28A55 #55D28A
tetradic
#8A55D2 #D2555E #9DD255 #55D2C9
square
#8A55D2 #D2555E #9DD255 #55D2C9
split-complementary
#8A55D2 #D2C955 #5ED255
monochromatic
#4F2488 #6B31B9 #8A55D2 #AB85DF #CDB6EC

Accessibility & contrast

On white

4.87
#8A55D2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.31
#8A55D2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8A55D2
4.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A55D2#FFFFFF#000000##FFFFFF
##8A55D21.004.874.314.87
#FFFFFF4.871.0021.001.00
#0000004.3121.001.0021.00
##FFFFFF4.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0871D6
Deuteranopia (green-blind)
#2B70CF
Tritanopia (blue-blind)
#7B6F8B
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #8a55d2;
/* rgb */ color: rgb(138, 85, 210);
/* oklch */ color: oklch(56.9% 0.186 300.1);
Tailwind
colors: {
  custom: {
    50: '#b087e0',
    500: '#8a55d2',
    950: '#000000',
  },
}
SCSS
$custom: #8a55d2;
$custom-light: #b087e0;
$custom-dark: #000000;
JSON
{
  "hex": "#8a55d2",
  "rgb": {
    "r": 138,
    "g": 85,
    "b": 210
  },
  "hsl": {
    "h": 265.44,
    "s": 58.14,
    "l": 57.843
  },
  "oklch": {
    "l": 0.56927,
    "c": 0.18582,
    "h": 300.1
  },
  "luminance": 0.16553
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #8A55D2

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

Preview Lab → · Contrast checker → · Palette generator →

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