#8A55E0#8A55E0

#8A55E0 is a mid, highly saturated violet. Relative luminance 0.173; OKLCH L 57.9% C 0.202 H 297.2°. Best body text is #FFFFFF at 4.71:1 contrast (WCAG AA passes).

Color values

HEX#8A55E0
RGBrgb(138, 85, 224)
HSLhsl(263, 69%, 61%)
HSVhsv(263, 62%, 88%)
CMYKcmyk(38.4%, 62.1%, 0%, 12.2%)
CIE-LABlab(48.61, 50.91, -63.17)
CIE-LCHlch(48.61, 81.13, 308.87°)
OKLaboklab(57.89% 0.0925 -0.1799)
OKLCHoklch(57.89% 0.202 297.2)
XYZxyz(27.1808, 17.2816, 72.4102)
Luminance0.1728 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A55E0 #ABE055
analogous
#5565E0 #8A55E0 #D055E0
triadic
#8A55E0 #E08A55 #55E08A
tetradic
#8A55E0 #E05565 #ABE055 #55E0D0
square
#8A55E0 #E05565 #ABE055 #55E0D0
split-complementary
#8A55E0 #E0D055 #65E055
monochromatic
#4E1D9E #6826D2 #8A55E0 #AE89E9 #D1BDF3

Accessibility & contrast

On white

4.71
#8A55E0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.46
#8A55E0 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8A55E0
4.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A55E0#FFFFFF#000000##FFFFFF
##8A55E01.004.714.464.71
#FFFFFF4.711.0021.001.00
#0000004.4621.001.0021.00
##FFFFFF4.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0074E4
Deuteranopia (green-blind)
#0572DD
Tritanopia (blue-blind)
#757493
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #8a55e0;
/* rgb */ color: rgb(138, 85, 224);
/* oklch */ color: oklch(57.9% 0.202 297.2);
Tailwind
colors: {
  custom: {
    50: '#b287ea',
    500: '#8a55e0',
    950: '#000000',
  },
}
SCSS
$custom: #8a55e0;
$custom-light: #b287ea;
$custom-dark: #000000;
JSON
{
  "hex": "#8a55e0",
  "rgb": {
    "r": 138,
    "g": 85,
    "b": 224
  },
  "hsl": {
    "h": 262.878,
    "s": 69.154,
    "l": 60.588
  },
  "oklch": {
    "l": 0.5789,
    "c": 0.20224,
    "h": 297.2
  },
  "luminance": 0.17282
}

Semantic roles & 50–950 ramp

primary
#8A55E0
secondary
#CFE3AE
accent
#D11489
background
#FBF8FE
surface
#F6F0FD
border
#D0CBD5
text
#110B16
muted
#807C84

Preview Lab

Preview with #8A55E0

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

Preview Lab → · Contrast checker → · Palette generator →

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