#8A6CFE#8A6CFE

#8A6CFE is a light, highly saturated violet. Relative luminance 0.233; OKLCH L 63.5% C 0.208 H 288.5°. Best body text is #000000 at 5.66:1 contrast (WCAG AA passes).

Color values

HEX#8A6CFE
RGBrgb(138, 108, 254)
HSLhsl(252, 99%, 71%)
HSVhsv(252, 57%, 100%)
CMYKcmyk(45.7%, 57.5%, 0%, 0.4%)
CIE-LABlab(55.36, 46.39, -69.05)
CIE-LCHlch(55.36, 83.19, 303.90°)
OKLaboklab(63.46% 0.0659 -0.1971)
OKLCHoklch(63.46% 0.208 288.5)
XYZxyz(33.7281, 23.2828, 96.4636)
Luminance0.2328 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A6CFE #E0FE6C
analogous
#6C97FE #8A6CFE #D36CFE
triadic
#8A6CFE #FE8A6C #6CFE8A
tetradic
#8A6CFE #FE6C97 #E0FE6C #6CFED3
square
#8A6CFE #FE6C97 #E0FE6C #6CFED3
split-complementary
#8A6CFE #FED36C #97FE6C
monochromatic
#3202EE #5A2FFE #8A6CFE #BAA9FE #E7E1FF

Accessibility & contrast

On white

3.71
#8A6CFE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.66
#8A6CFE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8A6CFE
5.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A6CFE#FFFFFF#000000##000000
##8A6CFE1.003.715.665.66
#FFFFFF3.711.0021.0021.00
#0000005.6621.001.001.00
##0000005.6621.001.001.00

Color blindness preview

Protanopia (red-blind)
#0088FF
Deuteranopia (green-blind)
#0081FB
Tritanopia (blue-blind)
#658DAB
Achromatopsia (no color)
#858585

Design tokens & code

CSS
--color: #8a6cfe;
/* rgb */ color: rgb(138, 108, 254);
/* oklch */ color: oklch(63.5% 0.208 288.5);
Tailwind
colors: {
  custom: {
    50: '#b397ff',
    500: '#8a6cfe',
    950: '#000000',
  },
}
SCSS
$custom: #8a6cfe;
$custom-light: #b397ff;
$custom-dark: #000000;
JSON
{
  "hex": "#8a6cfe",
  "rgb": {
    "r": 138,
    "g": 108,
    "b": 254
  },
  "hsl": {
    "h": 252.329,
    "s": 98.649,
    "l": 70.98
  },
  "oklch": {
    "l": 0.63456,
    "c": 0.20785,
    "h": 288.5
  },
  "luminance": 0.23284
}

Semantic roles & 50–950 ramp

primary
#8A6CFE
secondary
#EEF6CF
accent
#E600B6
background
#FBF9FF
surface
#F6F2FF
border
#D0CCD7
text
#120D18
muted
#817E86

Preview Lab

Preview with #8A6CFE

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

Preview Lab → · Contrast checker → · Palette generator →

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