#8A6EEE#8A6EEE

#8A6EEE is a light, vivid violet. Relative luminance 0.227; OKLCH L 62.7% C 0.185 H 290.1°. Best body text is #000000 at 5.55:1 contrast (WCAG AA passes).

Color values

HEX#8A6EEE
RGBrgb(138, 110, 238)
HSLhsl(253, 79%, 68%)
HSVhsv(253, 54%, 93%)
CMYKcmyk(42%, 53.8%, 0%, 6.7%)
CIE-LABlab(54.79, 40.83, -61.09)
CIE-LCHlch(54.79, 73.48, 303.76°)
OKLaboklab(62.71% 0.0636 -0.1737)
OKLCHoklch(62.71% 0.185 290.1)
XYZxyz(31.4855, 22.7272, 83.6002)
Luminance0.2273 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A6EEE #D2EE6E
analogous
#6E92EE #8A6EEE #CA6EEE
triadic
#8A6EEE #EE8A6E #6EEE8A
tetradic
#8A6EEE #EE6E92 #D2EE6E #6EEECA
square
#8A6EEE #EE6E92 #D2EE6E #6EEECA
split-complementary
#8A6EEE #EECA6E #92EE6E
monochromatic
#3F18CA #5E37E8 #8A6EEE #B6A5F4 #E2DCFB

Accessibility & contrast

On white

3.79
#8A6EEE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.55
#8A6EEE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8A6EEE
5.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A6EEE#FFFFFF#000000##000000
##8A6EEE1.003.795.555.55
#FFFFFF3.791.0021.0021.00
#0000005.5521.001.001.00
##0000005.5521.001.001.00

Color blindness preview

Protanopia (red-blind)
#2E86F2
Deuteranopia (green-blind)
#3380EB
Tritanopia (blue-blind)
#6D89A4
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #8a6eee;
/* rgb */ color: rgb(138, 110, 238);
/* oklch */ color: oklch(62.7% 0.185 290.1);
Tailwind
colors: {
  custom: {
    50: '#b298f4',
    500: '#8a6eee',
    950: '#000000',
  },
}
SCSS
$custom: #8a6eee;
$custom-light: #b298f4;
$custom-dark: #000000;
JSON
{
  "hex": "#8a6eee",
  "rgb": {
    "r": 138,
    "g": 110,
    "b": 238
  },
  "hsl": {
    "h": 253.125,
    "s": 79.012,
    "l": 68.235
  },
  "oklch": {
    "l": 0.6271,
    "c": 0.18498,
    "h": 290.1
  },
  "luminance": 0.22728
}

Semantic roles & 50–950 ramp

primary
#8A6EEE
secondary
#E7EFC8
accent
#DB0AAE
background
#FBF9FF
surface
#F6F2FE
border
#D0CCD6
text
#110E17
muted
#807E85

Preview Lab

Preview with #8A6EEE

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

Preview Lab → · Contrast checker → · Palette generator →

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