#8A6CFF#8A6CFF

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

Color values

HEX#8A6CFF
RGBrgb(138, 108, 255)
HSLhsl(252, 100%, 71%)
HSVhsv(252, 58%, 100%)
CMYKcmyk(45.9%, 57.6%, 0%, 0%)
CIE-LABlab(55.43, 46.67, -69.49)
CIE-LCHlch(55.43, 83.71, 303.88°)
OKLaboklab(63.53% 0.0659 -0.1984)
OKLCHoklch(63.53% 0.209 288.4)
XYZxyz(33.8886, 23.3470, 97.3092)
Luminance0.2335 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A6CFF #E1FF6C
analogous
#6C97FF #8A6CFF #D36CFF
triadic
#8A6CFF #FF8A6C #6CFF8A
tetradic
#8A6CFF #FF6C97 #E1FF6C #6CFFD3
square
#8A6CFF #FF6C97 #E1FF6C #6CFFD3
split-complementary
#8A6CFF #FFD36C #97FF6C
monochromatic
#3100F1 #592FFF #8A6CFF #BBA9FF #E7E0FF

Accessibility & contrast

On white

3.70
#8A6CFF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.67
#8A6CFF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8A6CFF
5.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A6CFF#FFFFFF#000000##000000
##8A6CFF1.003.705.675.67
#FFFFFF3.701.0021.0021.00
#0000005.6721.001.001.00
##0000005.6721.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #8a6cff;
/* rgb */ color: rgb(138, 108, 255);
/* oklch */ color: oklch(63.5% 0.209 288.4);
Tailwind
colors: {
  custom: {
    50: '#b397ff',
    500: '#8a6cff',
    950: '#000000',
  },
}
SCSS
$custom: #8a6cff;
$custom-light: #b397ff;
$custom-dark: #000000;
JSON
{
  "hex": "#8a6cff",
  "rgb": {
    "r": 138,
    "g": 108,
    "b": 255
  },
  "hsl": {
    "h": 252.245,
    "s": 100,
    "l": 71.176
  },
  "oklch": {
    "l": 0.63525,
    "c": 0.2091,
    "h": 288.4
  },
  "luminance": 0.23348
}

Semantic roles & 50–950 ramp

primary
#8A6CFF
secondary
#EFF7D0
accent
#E600B7
background
#FBF9FF
surface
#F6F2FF
border
#D0CCD7
text
#120D18
muted
#817E86

Preview Lab

Preview with #8A6CFF

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

Preview Lab → · Contrast checker → · Palette generator →

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