#8A55D3#8A55D3

#8A55D3 is a mid, vivid violet. Relative luminance 0.166; OKLCH L 57.0% C 0.187 H 299.9°. Best body text is #FFFFFF at 4.86:1 contrast (WCAG AA passes).

Color values

HEX#8A55D3
RGBrgb(138, 85, 211)
HSLhsl(265, 59%, 58%)
HSVhsv(265, 60%, 83%)
CMYKcmyk(34.6%, 59.7%, 0%, 17.3%)
CIE-LABlab(47.76, 47.61, -57.15)
CIE-LCHlch(47.76, 74.38, 309.79°)
OKLaboklab(56.99% 0.0931 -0.1622)
OKLCHoklch(56.99% 0.187 299.9)
XYZxyz(25.4847, 16.6032, 63.4775)
Luminance0.1660 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A55D3 #9ED355
analogous
#555FD3 #8A55D3 #C955D3
triadic
#8A55D3 #D38A55 #55D38A
tetradic
#8A55D3 #D3555F #9ED355 #55D3C9
square
#8A55D3 #D3555F #9ED355 #55D3C9
split-complementary
#8A55D3 #D3C955 #5FD355
monochromatic
#4F248A #6A30BB #8A55D3 #AB86E0 #CDB6EC

Accessibility & contrast

On white

4.86
#8A55D3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.32
#8A55D3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8A55D3
4.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A55D3#FFFFFF#000000##FFFFFF
##8A55D31.004.864.324.86
#FFFFFF4.861.0021.001.00
#0000004.3221.001.0021.00
##FFFFFF4.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0371D7
Deuteranopia (green-blind)
#2A70D0
Tritanopia (blue-blind)
#7A708C
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #8a55d3;
/* rgb */ color: rgb(138, 85, 211);
/* oklch */ color: oklch(57.0% 0.187 299.9);
Tailwind
colors: {
  custom: {
    50: '#b187e1',
    500: '#8a55d3',
    950: '#000000',
  },
}
SCSS
$custom: #8a55d3;
$custom-light: #b187e1;
$custom-dark: #000000;
JSON
{
  "hex": "#8a55d3",
  "rgb": {
    "r": 138,
    "g": 85,
    "b": 211
  },
  "hsl": {
    "h": 265.238,
    "s": 58.879,
    "l": 58.039
  },
  "oklch": {
    "l": 0.56994,
    "c": 0.187,
    "h": 299.9
  },
  "luminance": 0.16603
}

Semantic roles & 50–950 ramp

primary
#8A55D3
secondary
#C6DBA9
accent
#E246A0
background
#FBF8FD
surface
#F6F0FB
border
#D0CBD4
text
#110B15
muted
#807C83

Preview Lab

Preview with #8A55D3

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

Preview Lab → · Contrast checker → · Palette generator →

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