#8A55C1#8A55C1

#8A55C1 is a mid, vivid violet. Relative luminance 0.158; OKLCH L 55.8% C 0.166 H 304.2°. Best body text is #FFFFFF at 5.06:1 contrast (WCAG AA passes).

Color values

HEX#8A55C1
RGBrgb(138, 85, 193)
HSLhsl(269, 47%, 55%)
HSVhsv(269, 56%, 76%)
CMYKcmyk(28.5%, 56%, 0%, 24.3%)
CIE-LABlab(46.65, 43.14, -48.57)
CIE-LCHlch(46.65, 64.97, 311.61°)
OKLaboklab(55.83% 0.0931 -0.137)
OKLCHoklch(55.83% 0.166 304.2)
XYZxyz(23.3533, 15.7506, 52.2516)
Luminance0.1575 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A55C1 #8CC155
analogous
#5556C1 #8A55C1 #C055C1
triadic
#8A55C1 #C18A55 #55C18A
tetradic
#8A55C1 #C15556 #8CC155 #55C1C0
square
#8A55C1 #C15556 #8CC155 #55C1C0
split-complementary
#8A55C1 #C1C055 #56C155
monochromatic
#4D2A72 #6B3A9F #8A55C1 #A982D1 #C8AFE2

Accessibility & contrast

On white

5.06
#8A55C1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.15
#8A55C1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8A55C1
5.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A55C1#FFFFFF#000000##FFFFFF
##8A55C11.005.064.155.06
#FFFFFF5.061.0021.001.00
#0000004.1521.001.0021.00
##FFFFFF5.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2C6DC5
Deuteranopia (green-blind)
#3F6FBE
Tritanopia (blue-blind)
#806A83
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #8a55c1;
/* rgb */ color: rgb(138, 85, 193);
/* oklch */ color: oklch(55.8% 0.166 304.2);
Tailwind
colors: {
  custom: {
    50: '#af87d4',
    500: '#8a55c1',
    950: '#000000',
  },
}
SCSS
$custom: #8a55c1;
$custom-light: #af87d4;
$custom-dark: #000000;
JSON
{
  "hex": "#8a55c1",
  "rgb": {
    "r": 138,
    "g": 85,
    "b": 193
  },
  "hsl": {
    "h": 269.444,
    "s": 46.552,
    "l": 54.51
  },
  "oklch": {
    "l": 0.55825,
    "c": 0.16564,
    "h": 304.2
  },
  "luminance": 0.15751
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #8A55C1

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

Preview Lab → · Contrast checker → · Palette generator →

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