#8A6FFC#8A6FFC

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

Color values

HEX#8A6FFC
RGBrgb(138, 111, 252)
HSLhsl(251, 96%, 71%)
HSVhsv(251, 56%, 99%)
CMYKcmyk(45.2%, 56%, 0%, 1.2%)
CIE-LABlab(55.89, 44.14, -67.10)
CIE-LCHlch(55.89, 80.32, 303.34°)
OKLaboklab(63.8% 0.0627 -0.1914)
OKLCHoklch(63.8% 0.201 288.1)
XYZxyz(33.7313, 23.7991, 94.8930)
Luminance0.2380 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A6FFC #E1FC6F
analogous
#6F9AFC #8A6FFC #D06FFC
triadic
#8A6FFC #FC8A6F #6FFC8A
tetradic
#8A6FFC #FC6F9A #E1FC6F #6FFCD0
square
#8A6FFC #FC6F9A #E1FC6F #6FFCD0
split-complementary
#8A6FFC #FCD06F #9AFC6F
monochromatic
#3105EC #5933FB #8A6FFC #BBABFD #E7E1FE

Accessibility & contrast

On white

3.65
#8A6FFC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.76
#8A6FFC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8A6FFC
5.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A6FFC#FFFFFF#000000##000000
##8A6FFC1.003.655.765.76
#FFFFFF3.651.0021.0021.00
#0000005.7621.001.001.00
##0000005.7621.001.001.00

Color blindness preview

Protanopia (red-blind)
#1389FF
Deuteranopia (green-blind)
#1682F9
Tritanopia (blue-blind)
#668EAB
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #8a6ffc;
/* rgb */ color: rgb(138, 111, 252);
/* oklch */ color: oklch(63.8% 0.201 288.1);
Tailwind
colors: {
  custom: {
    50: '#b399fe',
    500: '#8a6ffc',
    950: '#000000',
  },
}
SCSS
$custom: #8a6ffc;
$custom-light: #b399fe;
$custom-dark: #000000;
JSON
{
  "hex": "#8a6ffc",
  "rgb": {
    "r": 138,
    "g": 111,
    "b": 252
  },
  "hsl": {
    "h": 251.489,
    "s": 95.918,
    "l": 71.176
  },
  "oklch": {
    "l": 0.638,
    "c": 0.20139,
    "h": 288.1
  },
  "luminance": 0.238
}

Semantic roles & 50–950 ramp

primary
#8A6FFC
secondary
#EFF6D1
accent
#E600BA
background
#FBF9FF
surface
#F6F2FF
border
#D0CCD7
text
#120E18
muted
#817E86

Preview Lab

Preview with #8A6FFC

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

Preview Lab → · Contrast checker → · Palette generator →

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