#8A6CDE#8A6CDE

#8A6CDE is a mid, vivid violet. Relative luminance 0.214; OKLCH L 61.4% C 0.167 H 292.9°. Best body text is #000000 at 5.28:1 contrast (WCAG AA passes).

Color values

HEX#8A6CDE
RGBrgb(138, 108, 222)
HSLhsl(256, 63%, 65%)
HSVhsv(256, 51%, 87%)
CMYKcmyk(37.8%, 51.4%, 0%, 12.9%)
CIE-LABlab(53.39, 37.63, -54.36)
CIE-LCHlch(53.39, 66.11, 304.69°)
OKLaboklab(61.36% 0.0652 -0.154)
OKLCHoklch(61.36% 0.167 292.9)
XYZxyz(29.0251, 21.4016, 71.6948)
Luminance0.2140 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A6CDE #C0DE6C
analogous
#6C87DE #8A6CDE #C36CDE
triadic
#8A6CDE #DE8A6C #6CDE8A
tetradic
#8A6CDE #DE6C87 #C0DE6C #6CDEC3
square
#8A6CDE #DE6C87 #C0DE6C #6CDEC3
split-complementary
#8A6CDE #DEC36C #87DE6C
monochromatic
#4926AA #623AD3 #8A6CDE #B29EE9 #DAD0F4

Accessibility & contrast

On white

3.98
#8A6CDE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.28
#8A6CDE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8A6CDE
5.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A6CDE#FFFFFF#000000##000000
##8A6CDE1.003.985.285.28
#FFFFFF3.981.0021.0021.00
#0000005.2821.001.001.00
##0000005.2821.001.001.00

Color blindness preview

Protanopia (red-blind)
#3D81E2
Deuteranopia (green-blind)
#437DDB
Tritanopia (blue-blind)
#75839B
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #8a6cde;
/* rgb */ color: rgb(138, 108, 222);
/* oklch */ color: oklch(61.4% 0.167 292.9);
Tailwind
colors: {
  custom: {
    50: '#b097e9',
    500: '#8a6cde',
    950: '#000000',
  },
}
SCSS
$custom: #8a6cde;
$custom-light: #b097e9;
$custom-dark: #000000;
JSON
{
  "hex": "#8a6cde",
  "rgb": {
    "r": 138,
    "g": 108,
    "b": 222
  },
  "hsl": {
    "h": 255.789,
    "s": 63.333,
    "l": 64.706
  },
  "oklch": {
    "l": 0.61361,
    "c": 0.16722,
    "h": 292.9
  },
  "luminance": 0.21402
}

Semantic roles & 50–950 ramp

primary
#8A6CDE
secondary
#DCE6BF
accent
#CB1A9D
background
#FBF9FE
surface
#F6F2FD
border
#D0CCD5
text
#110D16
muted
#807E84

Preview Lab

Preview with #8A6CDE

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

Preview Lab → · Contrast checker → · Palette generator →

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