#8A6DED#8A6DED

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

Color values

HEX#8A6DED
RGBrgb(138, 109, 237)
HSLhsl(254, 78%, 68%)
HSVhsv(254, 54%, 93%)
CMYKcmyk(41.8%, 54%, 0%, 7.1%)
CIE-LABlab(54.51, 41.13, -60.99)
CIE-LCHlch(54.51, 73.56, 303.99°)
OKLaboklab(62.48% 0.0647 -0.1734)
OKLCHoklch(62.48% 0.185 290.5)
XYZxyz(31.2317, 22.4540, 82.7928)
Luminance0.2245 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A6DED #D0ED6D
analogous
#6D90ED #8A6DED #CA6DED
triadic
#8A6DED #ED8A6D #6DED8A
tetradic
#8A6DED #ED6D90 #D0ED6D #6DEDCA
square
#8A6DED #ED6D90 #D0ED6D #6DEDCA
split-complementary
#8A6DED #EDCA6D #90ED6D
monochromatic
#4019C7 #5E37E6 #8A6DED #B6A3F4 #E1DAFA

Accessibility & contrast

On white

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

On black

5.49
#8A6DED on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8A6DED
5.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A6DED#FFFFFF#000000##000000
##8A6DED1.003.825.495.49
#FFFFFF3.821.0021.0021.00
#0000005.4921.001.001.00
##0000005.4921.001.001.00

Color blindness preview

Protanopia (red-blind)
#2D85F1
Deuteranopia (green-blind)
#3280EA
Tritanopia (blue-blind)
#6E88A3
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #8a6ded;
/* rgb */ color: rgb(138, 109, 237);
/* oklch */ color: oklch(62.5% 0.185 290.5);
Tailwind
colors: {
  custom: {
    50: '#b297f3',
    500: '#8a6ded',
    950: '#000000',
  },
}
SCSS
$custom: #8a6ded;
$custom-light: #b297f3;
$custom-dark: #000000;
JSON
{
  "hex": "#8a6ded",
  "rgb": {
    "r": 138,
    "g": 109,
    "b": 237
  },
  "hsl": {
    "h": 253.594,
    "s": 78.049,
    "l": 67.843
  },
  "oklch": {
    "l": 0.62479,
    "c": 0.1851,
    "h": 290.5
  },
  "luminance": 0.22455
}

Semantic roles & 50–950 ramp

primary
#8A6DED
secondary
#E6EFC7
accent
#DA0BAB
background
#FBF9FE
surface
#F6F2FD
border
#D0CCD5
text
#110D17
muted
#807E85

Preview Lab

Preview with #8A6DED

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

Preview Lab → · Contrast checker → · Palette generator →

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