#8A55DC#8A55DC

#8A55DC is a mid, vivid violet. Relative luminance 0.171; OKLCH L 57.6% C 0.198 H 298.0°. Best body text is #FFFFFF at 4.76:1 contrast (WCAG AA passes).

Color values

HEX#8A55DC
RGBrgb(138, 85, 220)
HSLhsl(264, 66%, 60%)
HSVhsv(264, 61%, 86%)
CMYKcmyk(37.3%, 61.4%, 0%, 13.7%)
CIE-LABlab(48.34, 49.89, -61.33)
CIE-LCHlch(48.34, 79.06, 309.12°)
OKLaboklab(57.61% 0.0927 -0.1745)
OKLCHoklch(57.61% 0.198 298)
XYZxyz(26.6447, 17.0672, 69.5868)
Luminance0.1707 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A55DC #A7DC55
analogous
#5563DC #8A55DC #CE55DC
triadic
#8A55DC #DC8A55 #55DC8A
tetradic
#8A55DC #DC5563 #A7DC55 #55DCCE
square
#8A55DC #DC5563 #A7DC55 #55DCCE
split-complementary
#8A55DC #DCCE55 #63DC55
monochromatic
#4E1F97 #692ACA #8A55DC #AD88E6 #D0BBF1

Accessibility & contrast

On white

4.76
#8A55DC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.41
#8A55DC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8A55DC
4.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A55DC#FFFFFF#000000##FFFFFF
##8A55DC1.004.764.414.76
#FFFFFF4.761.0021.001.00
#0000004.4121.001.0021.00
##FFFFFF4.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0073E0
Deuteranopia (green-blind)
#1771D9
Tritanopia (blue-blind)
#777391
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #8a55dc;
/* rgb */ color: rgb(138, 85, 220);
/* oklch */ color: oklch(57.6% 0.198 298.0);
Tailwind
colors: {
  custom: {
    50: '#b187e8',
    500: '#8a55dc',
    950: '#000000',
  },
}
SCSS
$custom: #8a55dc;
$custom-light: #b187e8;
$custom-dark: #000000;
JSON
{
  "hex": "#8a55dc",
  "rgb": {
    "r": 138,
    "g": 85,
    "b": 220
  },
  "hsl": {
    "h": 263.556,
    "s": 65.854,
    "l": 59.804
  },
  "oklch": {
    "l": 0.5761,
    "c": 0.19757,
    "h": 298
  },
  "luminance": 0.17068
}

Semantic roles & 50–950 ramp

primary
#8A55DC
secondary
#CCE0AC
accent
#E93FA6
background
#FBF8FE
surface
#F6F0FD
border
#D0CBD5
text
#110B16
muted
#807C84

Preview Lab

Preview with #8A55DC

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

Preview Lab → · Contrast checker → · Palette generator →

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