#8A6CFD#8A6CFD

#8A6CFD is a light, highly saturated violet. Relative luminance 0.232; OKLCH L 63.4% C 0.207 H 288.6°. Best body text is #000000 at 5.64:1 contrast (WCAG AA passes).

Color values

HEX#8A6CFD
RGBrgb(138, 108, 253)
HSLhsl(252, 97%, 71%)
HSVhsv(252, 57%, 99%)
CMYKcmyk(45.5%, 57.3%, 0%, 0.8%)
CIE-LABlab(55.30, 46.11, -68.60)
CIE-LCHlch(55.30, 82.66, 303.91°)
OKLaboklab(63.39% 0.0659 -0.1958)
OKLCHoklch(63.39% 0.207 288.6)
XYZxyz(33.5684, 23.2189, 95.6224)
Luminance0.2322 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A6CFD #DFFD6C
analogous
#6C96FD #8A6CFD #D26CFD
triadic
#8A6CFD #FD8A6C #6CFD8A
tetradic
#8A6CFD #FD6C96 #DFFD6C #6CFDD2
square
#8A6CFD #FD6C96 #DFFD6C #6CFDD2
split-complementary
#8A6CFD #FDD26C #96FD6C
monochromatic
#3303EB #5A30FC #8A6CFD #BAA8FE #E7E1FF

Accessibility & contrast

On white

3.72
#8A6CFD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.64
#8A6CFD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8A6CFD
5.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A6CFD#FFFFFF#000000##000000
##8A6CFD1.003.725.645.64
#FFFFFF3.721.0021.0021.00
#0000005.6421.001.001.00
##0000005.6421.001.001.00

Color blindness preview

Protanopia (red-blind)
#0088FF
Deuteranopia (green-blind)
#0081FA
Tritanopia (blue-blind)
#668DAA
Achromatopsia (no color)
#848484

Design tokens & code

CSS
--color: #8a6cfd;
/* rgb */ color: rgb(138, 108, 253);
/* oklch */ color: oklch(63.4% 0.207 288.6);
Tailwind
colors: {
  custom: {
    50: '#b397ff',
    500: '#8a6cfd',
    950: '#000000',
  },
}
SCSS
$custom: #8a6cfd;
$custom-light: #b397ff;
$custom-dark: #000000;
JSON
{
  "hex": "#8a6cfd",
  "rgb": {
    "r": 138,
    "g": 108,
    "b": 253
  },
  "hsl": {
    "h": 252.414,
    "s": 97.315,
    "l": 70.784
  },
  "oklch": {
    "l": 0.63387,
    "c": 0.20662,
    "h": 288.6
  },
  "luminance": 0.2322
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #8A6CFD

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

Preview Lab → · Contrast checker → · Palette generator →

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