#8A55C5#8A55C5

#8A55C5 is a mid, vivid violet. Relative luminance 0.159; OKLCH L 56.1% C 0.170 H 303.2°. Best body text is #FFFFFF at 5.02:1 contrast (WCAG AA passes).

Color values

HEX#8A55C5
RGBrgb(138, 85, 197)
HSLhsl(268, 49%, 55%)
HSVhsv(268, 57%, 77%)
CMYKcmyk(29.9%, 56.9%, 0%, 22.7%)
CIE-LABlab(46.88, 44.12, -50.51)
CIE-LCHlch(46.88, 67.06, 311.14°)
OKLaboklab(56.08% 0.0932 -0.1427)
OKLCHoklch(56.08% 0.17 303.2)
XYZxyz(23.8055, 15.9315, 54.6335)
Luminance0.1593 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A55C5 #90C555
analogous
#5558C5 #8A55C5 #C255C5
triadic
#8A55C5 #C58A55 #55C58A
tetradic
#8A55C5 #C55558 #90C555 #55C5C2
square
#8A55C5 #C55558 #90C555 #55C5C2
split-complementary
#8A55C5 #C5C255 #58C555
monochromatic
#4E2977 #6B38A5 #8A55C5 #A983D5 #C9B0E4

Accessibility & contrast

On white

5.02
#8A55C5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.19
#8A55C5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8A55C5
5.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A55C5#FFFFFF#000000##FFFFFF
##8A55C51.005.024.195.02
#FFFFFF5.021.0021.001.00
#0000004.1921.001.0021.00
##FFFFFF5.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#276EC9
Deuteranopia (green-blind)
#3B6FC2
Tritanopia (blue-blind)
#7F6B85
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #8a55c5;
/* rgb */ color: rgb(138, 85, 197);
/* oklch */ color: oklch(56.1% 0.170 303.2);
Tailwind
colors: {
  custom: {
    50: '#af87d7',
    500: '#8a55c5',
    950: '#000000',
  },
}
SCSS
$custom: #8a55c5;
$custom-light: #af87d7;
$custom-dark: #000000;
JSON
{
  "hex": "#8a55c5",
  "rgb": {
    "r": 138,
    "g": 85,
    "b": 197
  },
  "hsl": {
    "h": 268.393,
    "s": 49.123,
    "l": 55.294
  },
  "oklch": {
    "l": 0.56077,
    "c": 0.17041,
    "h": 303.2
  },
  "luminance": 0.15931
}

Semantic roles & 50–950 ramp

primary
#8A55C5
secondary
#BCD2A3
accent
#D94F98
background
#FBF8FD
surface
#F6F0FA
border
#D0CBD3
text
#110B14
muted
#807C83

Preview Lab

Preview with #8A55C5

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

Preview Lab → · Contrast checker → · Palette generator →

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