#8A6DDE#8A6DDE

#8A6DDE is a mid, vivid violet. Relative luminance 0.216; OKLCH L 61.5% C 0.166 H 292.7°. Best body text is #000000 at 5.32:1 contrast (WCAG AA passes).

Color values

HEX#8A6DDE
RGBrgb(138, 109, 222)
HSLhsl(255, 63%, 65%)
HSVhsv(255, 51%, 87%)
CMYKcmyk(37.8%, 50.9%, 0%, 12.9%)
CIE-LABlab(53.61, 37.05, -54.00)
CIE-LCHlch(53.61, 65.49, 304.45°)
OKLaboklab(61.53% 0.0639 -0.1529)
OKLCHoklch(61.53% 0.166 292.7)
XYZxyz(29.1312, 21.6138, 71.7301)
Luminance0.2161 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A6DDE #C1DE6D
analogous
#6D89DE #8A6DDE #C26DDE
triadic
#8A6DDE #DE8A6D #6DDE8A
tetradic
#8A6DDE #DE6D89 #C1DE6D #6DDEC2
square
#8A6DDE #DE6D89 #C1DE6D #6DDEC2
split-complementary
#8A6DDE #DEC26D #89DE6D
monochromatic
#4826AA #623BD3 #8A6DDE #B29FE9 #DAD1F5

Accessibility & contrast

On white

3.95
#8A6DDE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.32
#8A6DDE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8A6DDE
5.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A6DDE#FFFFFF#000000##000000
##8A6DDE1.003.955.325.32
#FFFFFF3.951.0021.0021.00
#0000005.3221.001.001.00
##0000005.3221.001.001.00

Color blindness preview

Protanopia (red-blind)
#3F82E2
Deuteranopia (green-blind)
#447EDB
Tritanopia (blue-blind)
#75849B
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #8a6dde;
/* rgb */ color: rgb(138, 109, 222);
/* oklch */ color: oklch(61.5% 0.166 292.7);
Tailwind
colors: {
  custom: {
    50: '#b097e9',
    500: '#8a6dde',
    950: '#000000',
  },
}
SCSS
$custom: #8a6dde;
$custom-light: #b097e9;
$custom-dark: #000000;
JSON
{
  "hex": "#8a6dde",
  "rgb": {
    "r": 138,
    "g": 109,
    "b": 222
  },
  "hsl": {
    "h": 255.398,
    "s": 63.128,
    "l": 64.902
  },
  "oklch": {
    "l": 0.61531,
    "c": 0.16574,
    "h": 292.7
  },
  "luminance": 0.21614
}

Semantic roles & 50–950 ramp

primary
#8A6DDE
secondary
#DDE7C0
accent
#CB1B9E
background
#FBF9FE
surface
#F6F2FD
border
#D0CCD5
text
#110D16
muted
#807E84

Preview Lab

Preview with #8A6DDE

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

Preview Lab → · Contrast checker → · Palette generator →

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