#8A6FEE#8A6FEE

#8A6FEE is a light, vivid violet. Relative luminance 0.229; OKLCH L 62.9% C 0.184 H 289.9°. Best body text is #000000 at 5.59:1 contrast (WCAG AA passes).

Color values

HEX#8A6FEE
RGBrgb(138, 111, 238)
HSLhsl(253, 79%, 68%)
HSVhsv(253, 53%, 93%)
CMYKcmyk(42%, 53.4%, 0%, 6.7%)
CIE-LABlab(55.01, 40.26, -60.73)
CIE-LCHlch(55.01, 72.86, 303.54°)
OKLaboklab(62.88% 0.0624 -0.1727)
OKLCHoklch(62.88% 0.184 289.9)
XYZxyz(31.5940, 22.9442, 83.6364)
Luminance0.2294 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A6FEE #D3EE6F
analogous
#6F93EE #8A6FEE #C96FEE
triadic
#8A6FEE #EE8A6F #6FEE8A
tetradic
#8A6FEE #EE6F93 #D3EE6F #6FEEC9
square
#8A6FEE #EE6F93 #D3EE6F #6FEEC9
split-complementary
#8A6FEE #EEC96F #93EE6F
monochromatic
#3E18CB #5E38E8 #8A6FEE #B6A6F4 #E3DCFB

Accessibility & contrast

On white

3.76
#8A6FEE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.59
#8A6FEE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8A6FEE
5.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A6FEE#FFFFFF#000000##000000
##8A6FEE1.003.765.595.59
#FFFFFF3.761.0021.0021.00
#0000005.5921.001.001.00
##0000005.5921.001.001.00

Color blindness preview

Protanopia (red-blind)
#3186F2
Deuteranopia (green-blind)
#3581EB
Tritanopia (blue-blind)
#6D8AA4
Achromatopsia (no color)
#848484

Design tokens & code

CSS
--color: #8a6fee;
/* rgb */ color: rgb(138, 111, 238);
/* oklch */ color: oklch(62.9% 0.184 289.9);
Tailwind
colors: {
  custom: {
    50: '#b299f4',
    500: '#8a6fee',
    950: '#000000',
  },
}
SCSS
$custom: #8a6fee;
$custom-light: #b299f4;
$custom-dark: #000000;
JSON
{
  "hex": "#8a6fee",
  "rgb": {
    "r": 138,
    "g": 111,
    "b": 238
  },
  "hsl": {
    "h": 252.756,
    "s": 78.882,
    "l": 68.431
  },
  "oklch": {
    "l": 0.62877,
    "c": 0.18358,
    "h": 289.9
  },
  "luminance": 0.22945
}

Semantic roles & 50–950 ramp

primary
#8A6FEE
secondary
#E7F0C9
accent
#DB0AAF
background
#FBF9FF
surface
#F6F2FE
border
#D0CCD6
text
#110E17
muted
#807E85

Preview Lab

Preview with #8A6FEE

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

Preview Lab → · Contrast checker → · Palette generator →

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