#8A55DD#8A55DD

#8A55DD is a mid, vivid violet. Relative luminance 0.171; OKLCH L 57.7% C 0.199 H 297.8°. Best body text is #FFFFFF at 4.75:1 contrast (WCAG AA passes).

Color values

HEX#8A55DD
RGBrgb(138, 85, 221)
HSLhsl(263, 67%, 60%)
HSVhsv(263, 62%, 87%)
CMYKcmyk(37.6%, 61.5%, 0%, 13.3%)
CIE-LABlab(48.41, 50.14, -61.80)
CIE-LCHlch(48.41, 79.58, 309.06°)
OKLaboklab(57.68% 0.0927 -0.1758)
OKLCHoklch(57.68% 0.199 297.8)
XYZxyz(26.7776, 17.1203, 70.2864)
Luminance0.1712 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A55DD #A8DD55
analogous
#5564DD #8A55DD #CE55DD
triadic
#8A55DD #DD8A55 #55DD8A
tetradic
#8A55DD #DD5564 #A8DD55 #55DDCE
square
#8A55DD #DD5564 #A8DD55 #55DDCE
split-complementary
#8A55DD #DDCE55 #64DD55
monochromatic
#4E1F99 #6829CC #8A55DD #AD88E7 #D0BBF1

Accessibility & contrast

On white

4.75
#8A55DD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.42
#8A55DD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8A55DD
4.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A55DD#FFFFFF#000000##FFFFFF
##8A55DD1.004.754.424.75
#FFFFFF4.751.0021.001.00
#0000004.4221.001.0021.00
##FFFFFF4.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0073E1
Deuteranopia (green-blind)
#1371DA
Tritanopia (blue-blind)
#777391
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #8a55dd;
/* rgb */ color: rgb(138, 85, 221);
/* oklch */ color: oklch(57.7% 0.199 297.8);
Tailwind
colors: {
  custom: {
    50: '#b187e8',
    500: '#8a55dd',
    950: '#000000',
  },
}
SCSS
$custom: #8a55dd;
$custom-light: #b187e8;
$custom-dark: #000000;
JSON
{
  "hex": "#8a55dd",
  "rgb": {
    "r": 138,
    "g": 85,
    "b": 221
  },
  "hsl": {
    "h": 263.382,
    "s": 66.667,
    "l": 60
  },
  "oklch": {
    "l": 0.5768,
    "c": 0.19874,
    "h": 297.8
  },
  "luminance": 0.17121
}

Semantic roles & 50–950 ramp

primary
#8A55DD
secondary
#CDE1AD
accent
#EA3EA7
background
#FBF8FE
surface
#F6F0FD
border
#D0CBD5
text
#110B16
muted
#807C84

Preview Lab

Preview with #8A55DD

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

Preview Lab → · Contrast checker → · Palette generator →

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