#8A55DE#8A55DE

#8A55DE is a mid, vivid violet. Relative luminance 0.172; OKLCH L 57.8% C 0.200 H 297.6°. Best body text is #FFFFFF at 4.74:1 contrast (WCAG AA passes).

Color values

HEX#8A55DE
RGBrgb(138, 85, 222)
HSLhsl(263, 67%, 60%)
HSVhsv(263, 62%, 87%)
CMYKcmyk(37.8%, 61.7%, 0%, 12.9%)
CIE-LABlab(48.48, 50.40, -62.25)
CIE-LCHlch(48.48, 80.10, 308.99°)
OKLaboklab(57.75% 0.0926 -0.1772)
OKLCHoklch(57.75% 0.2 297.6)
XYZxyz(26.9112, 17.1738, 70.9901)
Luminance0.1717 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A55DE #A9DE55
analogous
#5564DE #8A55DE #CF55DE
triadic
#8A55DE #DE8A55 #55DE8A
tetradic
#8A55DE #DE5564 #A9DE55 #55DECF
square
#8A55DE #DE5564 #A9DE55 #55DECF
split-complementary
#8A55DE #DECF55 #64DE55
monochromatic
#4E1E9B #6828CE #8A55DE #AD88E8 #D1BCF2

Accessibility & contrast

On white

4.74
#8A55DE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.43
#8A55DE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8A55DE
4.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A55DE#FFFFFF#000000##FFFFFF
##8A55DE1.004.744.434.74
#FFFFFF4.741.0021.001.00
#0000004.4321.001.0021.00
##FFFFFF4.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0073E2
Deuteranopia (green-blind)
#1072DB
Tritanopia (blue-blind)
#767392
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #8a55de;
/* rgb */ color: rgb(138, 85, 222);
/* oklch */ color: oklch(57.8% 0.200 297.6);
Tailwind
colors: {
  custom: {
    50: '#b187e9',
    500: '#8a55de',
    950: '#000000',
  },
}
SCSS
$custom: #8a55de;
$custom-light: #b187e9;
$custom-dark: #000000;
JSON
{
  "hex": "#8a55de",
  "rgb": {
    "r": 138,
    "g": 85,
    "b": 222
  },
  "hsl": {
    "h": 263.212,
    "s": 67.488,
    "l": 60.196
  },
  "oklch": {
    "l": 0.5775,
    "c": 0.19991,
    "h": 297.6
  },
  "luminance": 0.17174
}

Semantic roles & 50–950 ramp

primary
#8A55DE
secondary
#CDE2AD
accent
#CF1688
background
#FBF8FE
surface
#F6F0FD
border
#D0CBD5
text
#110B16
muted
#807C84

Preview Lab

Preview with #8A55DE

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

Preview Lab → · Contrast checker → · Palette generator →

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