#8A6EFE#8A6EFE

#8A6EFE is a light, highly saturated violet. Relative luminance 0.237; OKLCH L 63.8% C 0.205 H 288.1°. Best body text is #000000 at 5.74:1 contrast (WCAG AA passes).

Color values

HEX#8A6EFE
RGBrgb(138, 110, 254)
HSLhsl(252, 99%, 71%)
HSVhsv(252, 57%, 100%)
CMYKcmyk(45.7%, 56.7%, 0%, 0.4%)
CIE-LABlab(55.80, 45.27, -68.35)
CIE-LCHlch(55.80, 81.98, 303.52°)
OKLaboklab(63.78% 0.0637 -0.1951)
OKLCHoklch(63.78% 0.205 288.1)
XYZxyz(33.9414, 23.7095, 96.5347)
Luminance0.2371 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A6EFE #E2FE6E
analogous
#6E9AFE #8A6EFE #D26EFE
triadic
#8A6EFE #FE8A6E #6EFE8A
tetradic
#8A6EFE #FE6E9A #E2FE6E #6EFED2
square
#8A6EFE #FE6E9A #E2FE6E #6EFED2
split-complementary
#8A6EFE #FED26E #9AFE6E
monochromatic
#3002F0 #5931FE #8A6EFE #BBABFE #E6E1FF

Accessibility & contrast

On white

3.66
#8A6EFE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.74
#8A6EFE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8A6EFE
5.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A6EFE#FFFFFF#000000##000000
##8A6EFE1.003.665.745.74
#FFFFFF3.661.0021.0021.00
#0000005.7421.001.001.00
##0000005.7421.001.001.00

Color blindness preview

Protanopia (red-blind)
#0089FF
Deuteranopia (green-blind)
#0582FB
Tritanopia (blue-blind)
#658EAC
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #8a6efe;
/* rgb */ color: rgb(138, 110, 254);
/* oklch */ color: oklch(63.8% 0.205 288.1);
Tailwind
colors: {
  custom: {
    50: '#b398ff',
    500: '#8a6efe',
    950: '#000000',
  },
}
SCSS
$custom: #8a6efe;
$custom-light: #b398ff;
$custom-dark: #000000;
JSON
{
  "hex": "#8a6efe",
  "rgb": {
    "r": 138,
    "g": 110,
    "b": 254
  },
  "hsl": {
    "h": 251.667,
    "s": 98.63,
    "l": 71.373
  },
  "oklch": {
    "l": 0.63775,
    "c": 0.20522,
    "h": 288.1
  },
  "luminance": 0.23711
}

Semantic roles & 50–950 ramp

primary
#8A6EFE
secondary
#EFF7D1
accent
#E600B9
background
#FBF9FF
surface
#F6F2FF
border
#D0CCD7
text
#120E18
muted
#817E86

Preview Lab

Preview with #8A6EFE

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

Preview Lab → · Contrast checker → · Palette generator →

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