#8A6EDE#8A6EDE

#8A6EDE is a mid, vivid violet. Relative luminance 0.218; OKLCH L 61.7% C 0.164 H 292.4°. Best body text is #000000 at 5.37:1 contrast (WCAG AA passes).

Color values

HEX#8A6EDE
RGBrgb(138, 110, 222)
HSLhsl(255, 63%, 65%)
HSVhsv(255, 50%, 87%)
CMYKcmyk(37.8%, 50.5%, 0%, 12.9%)
CIE-LABlab(53.84, 36.47, -53.63)
CIE-LCHlch(53.84, 64.86, 304.22°)
OKLaboklab(61.7% 0.0627 -0.1518)
OKLCHoklch(61.7% 0.164 292.4)
XYZxyz(29.2385, 21.8283, 71.7659)
Luminance0.2183 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A6EDE #C2DE6E
analogous
#6E8ADE #8A6EDE #C26EDE
triadic
#8A6EDE #DE8A6E #6EDE8A
tetradic
#8A6EDE #DE6E8A #C2DE6E #6EDEC2
square
#8A6EDE #DE6E8A #C2DE6E #6EDEC2
split-complementary
#8A6EDE #DEC26E #8ADE6E
monochromatic
#4827AB #623CD3 #8A6EDE #B2A0E9 #DAD2F5

Accessibility & contrast

On white

3.91
#8A6EDE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.37
#8A6EDE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8A6EDE
5.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A6EDE#FFFFFF#000000##000000
##8A6EDE1.003.915.375.37
#FFFFFF3.911.0021.0021.00
#0000005.3721.001.001.00
##0000005.3721.001.001.00

Color blindness preview

Protanopia (red-blind)
#4182E2
Deuteranopia (green-blind)
#467FDB
Tritanopia (blue-blind)
#75859C
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #8a6ede;
/* rgb */ color: rgb(138, 110, 222);
/* oklch */ color: oklch(61.7% 0.164 292.4);
Tailwind
colors: {
  custom: {
    50: '#b098e9',
    500: '#8a6ede',
    950: '#000000',
  },
}
SCSS
$custom: #8a6ede;
$custom-light: #b098e9;
$custom-dark: #000000;
JSON
{
  "hex": "#8a6ede",
  "rgb": {
    "r": 138,
    "g": 110,
    "b": 222
  },
  "hsl": {
    "h": 255,
    "s": 62.921,
    "l": 65.098
  },
  "oklch": {
    "l": 0.61702,
    "c": 0.16426,
    "h": 292.4
  },
  "luminance": 0.21829
}

Semantic roles & 50–950 ramp

primary
#8A6EDE
secondary
#DDE7C1
accent
#CB1B9F
background
#FBF9FE
surface
#F6F2FD
border
#D0CCD5
text
#110D16
muted
#807E84

Preview Lab

Preview with #8A6EDE

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

Preview Lab → · Contrast checker → · Palette generator →

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