#8A6FEA#8A6FEA

#8A6FEA is a light, vivid violet. Relative luminance 0.227; OKLCH L 62.6% C 0.178 H 290.4°. Best body text is #000000 at 5.54:1 contrast (WCAG AA passes).

Color values

HEX#8A6FEA
RGBrgb(138, 111, 234)
HSLhsl(253, 75%, 68%)
HSVhsv(253, 53%, 92%)
CMYKcmyk(41%, 52.6%, 0%, 8.2%)
CIE-LABlab(54.77, 39.16, -58.88)
CIE-LCHlch(54.77, 70.71, 303.63°)
OKLaboklab(62.62% 0.0622 -0.1672)
OKLCHoklch(62.62% 0.178 290.4)
XYZxyz(31.0129, 22.7117, 80.5757)
Luminance0.2271 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A6FEA #CFEA6F
analogous
#6F91EA #8A6FEA #C86FEA
triadic
#8A6FEA #EA8A6F #6FEA8A
tetradic
#8A6FEA #EA6F91 #CFEA6F #6FEAC8
square
#8A6FEA #EA6F91 #CFEA6F #6FEAC8
split-complementary
#8A6FEA #EAC86F #91EA6F
monochromatic
#411CC2 #5F3AE2 #8A6FEA #B5A4F2 #E1DAFA

Accessibility & contrast

On white

3.79
#8A6FEA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.54
#8A6FEA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8A6FEA
5.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A6FEA#FFFFFF#000000##000000
##8A6FEA1.003.795.545.54
#FFFFFF3.791.0021.0021.00
#0000005.5421.001.001.00
##0000005.5421.001.001.00

Color blindness preview

Protanopia (red-blind)
#3685EE
Deuteranopia (green-blind)
#3A80E7
Tritanopia (blue-blind)
#6F89A2
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #8a6fea;
/* rgb */ color: rgb(138, 111, 234);
/* oklch */ color: oklch(62.6% 0.178 290.4);
Tailwind
colors: {
  custom: {
    50: '#b199f1',
    500: '#8a6fea',
    950: '#000000',
  },
}
SCSS
$custom: #8a6fea;
$custom-light: #b199f1;
$custom-dark: #000000;
JSON
{
  "hex": "#8a6fea",
  "rgb": {
    "r": 138,
    "g": 111,
    "b": 234
  },
  "hsl": {
    "h": 253.171,
    "s": 74.545,
    "l": 67.647
  },
  "oklch": {
    "l": 0.62621,
    "c": 0.17843,
    "h": 290.4
  },
  "luminance": 0.22713
}

Semantic roles & 50–950 ramp

primary
#8A6FEA
secondary
#E5EDC7
accent
#D70FAB
background
#FBF9FE
surface
#F6F2FD
border
#D0CCD5
text
#110E17
muted
#807E85

Preview Lab

Preview with #8A6FEA

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

Preview Lab → · Contrast checker → · Palette generator →

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