#8A6AFC#8A6AFC

#8A6AFC is a light, highly saturated violet. Relative luminance 0.227; OKLCH L 63.0% C 0.208 H 289.1°. Best body text is #000000 at 5.55:1 contrast (WCAG AA passes).

Color values

HEX#8A6AFC
RGBrgb(138, 106, 252)
HSLhsl(253, 96%, 70%)
HSVhsv(253, 58%, 99%)
CMYKcmyk(45.2%, 57.9%, 0%, 1.2%)
CIE-LABlab(54.80, 46.95, -68.85)
CIE-LCHlch(54.80, 83.33, 304.29°)
OKLaboklab(63% 0.0681 -0.1965)
OKLCHoklch(63% 0.208 289.1)
XYZxyz(33.2010, 22.7383, 94.7162)
Luminance0.2274 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A6AFC #DCFC6A
analogous
#6A93FC #8A6AFC #D36AFC
triadic
#8A6AFC #FC8A6A #6AFC8A
tetradic
#8A6AFC #FC6A93 #DCFC6A #6AFCD3
square
#8A6AFC #FC6A93 #DCFC6A #6AFCD3
split-complementary
#8A6AFC #FCD36A #93FC6A
monochromatic
#3605E7 #5B2EFB #8A6AFC #B9A6FD #E7E1FE

Accessibility & contrast

On white

3.79
#8A6AFC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.55
#8A6AFC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8A6AFC
5.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A6AFC#FFFFFF#000000##000000
##8A6AFC1.003.795.555.55
#FFFFFF3.791.0021.0021.00
#0000005.5521.001.001.00
##0000005.5521.001.001.00

Color blindness preview

Protanopia (red-blind)
#0086FF
Deuteranopia (green-blind)
#0080F9
Tritanopia (blue-blind)
#668BA9
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #8a6afc;
/* rgb */ color: rgb(138, 106, 252);
/* oklch */ color: oklch(63.0% 0.208 289.1);
Tailwind
colors: {
  custom: {
    50: '#b396fe',
    500: '#8a6afc',
    950: '#000000',
  },
}
SCSS
$custom: #8a6afc;
$custom-light: #b396fe;
$custom-dark: #000000;
JSON
{
  "hex": "#8a6afc",
  "rgb": {
    "r": 138,
    "g": 106,
    "b": 252
  },
  "hsl": {
    "h": 253.151,
    "s": 96.053,
    "l": 70.196
  },
  "oklch": {
    "l": 0.63002,
    "c": 0.20801,
    "h": 289.1
  },
  "luminance": 0.2274
}

Semantic roles & 50–950 ramp

primary
#8A6AFC
secondary
#ECF5CD
accent
#E600B3
background
#FBF9FF
surface
#F6F2FF
border
#D0CCD7
text
#120D18
muted
#817E86

Preview Lab

Preview with #8A6AFC

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

Preview Lab → · Contrast checker → · Palette generator →

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