#8A6DEA#8A6DEA

#8A6DEA is a light, vivid violet. Relative luminance 0.223; OKLCH L 62.3% C 0.181 H 290.9°. Best body text is #000000 at 5.46:1 contrast (WCAG AA passes).

Color values

HEX#8A6DEA
RGBrgb(138, 109, 234)
HSLhsl(254, 75%, 67%)
HSVhsv(254, 53%, 92%)
CMYKcmyk(41%, 53.4%, 0%, 8.2%)
CIE-LABlab(54.32, 40.31, -59.60)
CIE-LCHlch(54.32, 71.95, 304.07°)
OKLaboklab(62.29% 0.0646 -0.1694)
OKLCHoklch(62.29% 0.181 290.9)
XYZxyz(30.7971, 22.2801, 80.5038)
Luminance0.2228 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A6DEA #CDEA6D
analogous
#6D8FEA #8A6DEA #C96DEA
triadic
#8A6DEA #EA8A6D #6DEA8A
tetradic
#8A6DEA #EA6D8F #CDEA6D #6DEAC9
square
#8A6DEA #EA6D8F #CDEA6D #6DEAC9
split-complementary
#8A6DEA #EAC96D #8FEA6D
monochromatic
#421CC1 #5F37E2 #8A6DEA #B5A3F2 #E0D8F9

Accessibility & contrast

On white

3.85
#8A6DEA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.46
#8A6DEA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8A6DEA
5.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A6DEA#FFFFFF#000000##000000
##8A6DEA1.003.855.465.46
#FFFFFF3.851.0021.0021.00
#0000005.4621.001.001.00
##0000005.4621.001.001.00

Color blindness preview

Protanopia (red-blind)
#3184EE
Deuteranopia (green-blind)
#367FE7
Tritanopia (blue-blind)
#6F87A1
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #8a6dea;
/* rgb */ color: rgb(138, 109, 234);
/* oklch */ color: oklch(62.3% 0.181 290.9);
Tailwind
colors: {
  custom: {
    50: '#b197f1',
    500: '#8a6dea',
    950: '#000000',
  },
}
SCSS
$custom: #8a6dea;
$custom-light: #b197f1;
$custom-dark: #000000;
JSON
{
  "hex": "#8a6dea",
  "rgb": {
    "r": 138,
    "g": 109,
    "b": 234
  },
  "hsl": {
    "h": 253.92,
    "s": 74.85,
    "l": 67.255
  },
  "oklch": {
    "l": 0.62286,
    "c": 0.18126,
    "h": 290.9
  },
  "luminance": 0.22281
}

Semantic roles & 50–950 ramp

primary
#8A6DEA
secondary
#E4EDC6
accent
#D70EA8
background
#FBF9FE
surface
#F6F2FD
border
#D0CCD5
text
#110D17
muted
#807E85

Preview Lab

Preview with #8A6DEA

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

Preview Lab → · Contrast checker → · Palette generator →

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