#8A6EEA#8A6EEA

#8A6EEA is a light, vivid violet. Relative luminance 0.225; OKLCH L 62.5% C 0.180 H 290.6°. Best body text is #000000 at 5.50:1 contrast (WCAG AA passes).

Color values

HEX#8A6EEA
RGBrgb(138, 110, 234)
HSLhsl(254, 75%, 67%)
HSVhsv(254, 53%, 92%)
CMYKcmyk(41%, 53%, 0%, 8.2%)
CIE-LABlab(54.55, 39.73, -59.24)
CIE-LCHlch(54.55, 71.33, 303.85°)
OKLaboklab(62.45% 0.0634 -0.1683)
OKLCHoklch(62.45% 0.18 290.6)
XYZxyz(30.9044, 22.4947, 80.5396)
Luminance0.2250 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A6EEA #CEEA6E
analogous
#6E90EA #8A6EEA #C86EEA
triadic
#8A6EEA #EA8A6E #6EEA8A
tetradic
#8A6EEA #EA6E90 #CEEA6E #6EEAC8
square
#8A6EEA #EA6E90 #CEEA6E #6EEAC8
split-complementary
#8A6EEA #EAC86E #90EA6E
monochromatic
#411CC2 #5F39E2 #8A6EEA #B5A3F2 #E0D9F9

Accessibility & contrast

On white

3.82
#8A6EEA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.50
#8A6EEA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8A6EEA
5.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A6EEA#FFFFFF#000000##000000
##8A6EEA1.003.825.505.50
#FFFFFF3.821.0021.0021.00
#0000005.5021.001.001.00
##0000005.5021.001.001.00

Color blindness preview

Protanopia (red-blind)
#3485EE
Deuteranopia (green-blind)
#3880E7
Tritanopia (blue-blind)
#6F88A2
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #8a6eea;
/* rgb */ color: rgb(138, 110, 234);
/* oklch */ color: oklch(62.5% 0.180 290.6);
Tailwind
colors: {
  custom: {
    50: '#b198f1',
    500: '#8a6eea',
    950: '#000000',
  },
}
SCSS
$custom: #8a6eea;
$custom-light: #b198f1;
$custom-dark: #000000;
JSON
{
  "hex": "#8a6eea",
  "rgb": {
    "r": 138,
    "g": 110,
    "b": 234
  },
  "hsl": {
    "h": 253.548,
    "s": 74.699,
    "l": 67.451
  },
  "oklch": {
    "l": 0.62453,
    "c": 0.17985,
    "h": 290.6
  },
  "luminance": 0.22496
}

Semantic roles & 50–950 ramp

primary
#8A6EEA
secondary
#E5EDC7
accent
#D70FAA
background
#FBF9FE
surface
#F6F2FD
border
#D0CCD5
text
#110E17
muted
#807E85

Preview Lab

Preview with #8A6EEA

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

Preview Lab → · Contrast checker → · Palette generator →

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