#8A55E4#8A55E4

#8A55E4 is a mid, highly saturated violet. Relative luminance 0.175; OKLCH L 58.2% C 0.207 H 296.5°. Best body text is #FFFFFF at 4.67:1 contrast (WCAG AA passes).

Color values

HEX#8A55E4
RGBrgb(138, 85, 228)
HSLhsl(262, 73%, 61%)
HSVhsv(262, 63%, 89%)
CMYKcmyk(39.5%, 62.7%, 0%, 10.6%)
CIE-LABlab(48.89, 51.94, -64.99)
CIE-LCHlch(48.89, 83.20, 308.63°)
OKLaboklab(58.17% 0.0922 -0.1852)
OKLCHoklch(58.17% 0.207 296.5)
XYZxyz(27.7297, 17.5012, 75.3008)
Luminance0.1750 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A55E4 #AFE455
analogous
#5568E4 #8A55E4 #D255E4
triadic
#8A55E4 #E48A55 #55E48A
tetradic
#8A55E4 #E45568 #AFE455 #55E4D2
square
#8A55E4 #E45568 #AFE455 #55E4D2
split-complementary
#8A55E4 #E4D255 #68E455
monochromatic
#4D1AA4 #6623D9 #8A55E4 #AE8AEC #D3BFF5

Accessibility & contrast

On white

4.67
#8A55E4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.50
#8A55E4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #8A55E4
4.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A55E4#FFFFFF#000000##FFFFFF
##8A55E41.004.674.504.67
#FFFFFF4.671.0021.001.00
#0000004.5021.001.0021.00
##FFFFFF4.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0075E8
Deuteranopia (green-blind)
#0072E1
Tritanopia (blue-blind)
#747595
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #8a55e4;
/* rgb */ color: rgb(138, 85, 228);
/* oklch */ color: oklch(58.2% 0.207 296.5);
Tailwind
colors: {
  custom: {
    50: '#b288ed',
    500: '#8a55e4',
    950: '#000000',
  },
}
SCSS
$custom: #8a55e4;
$custom-light: #b288ed;
$custom-dark: #000000;
JSON
{
  "hex": "#8a55e4",
  "rgb": {
    "r": 138,
    "g": 85,
    "b": 228
  },
  "hsl": {
    "h": 262.238,
    "s": 72.589,
    "l": 61.373
  },
  "oklch": {
    "l": 0.58174,
    "c": 0.20689,
    "h": 296.5
  },
  "luminance": 0.17502
}

Semantic roles & 50–950 ramp

primary
#8A55E4
secondary
#D1E5B0
accent
#D5118C
background
#FBF8FE
surface
#F6F0FD
border
#D0CBD5
text
#110B16
muted
#807C84

Preview Lab

Preview with #8A55E4

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

Preview Lab → · Contrast checker → · Palette generator →

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