#8A6DFD#8A6DFD

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

Color values

HEX#8A6DFD
RGBrgb(138, 109, 253)
HSLhsl(252, 97%, 71%)
HSVhsv(252, 57%, 99%)
CMYKcmyk(45.5%, 56.9%, 0%, 0.8%)
CIE-LABlab(55.51, 45.55, -68.25)
CIE-LCHlch(55.51, 82.06, 303.72°)
OKLaboklab(63.55% 0.0648 -0.1948)
OKLCHoklch(63.55% 0.205 288.4)
XYZxyz(33.6744, 23.4311, 95.6578)
Luminance0.2343 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A6DFD #E0FD6D
analogous
#6D98FD #8A6DFD #D26DFD
triadic
#8A6DFD #FD8A6D #6DFD8A
tetradic
#8A6DFD #FD6D98 #E0FD6D #6DFDD2
square
#8A6DFD #FD6D98 #E0FD6D #6DFDD2
split-complementary
#8A6DFD #FDD26D #98FD6D
monochromatic
#3203EC #5A31FC #8A6DFD #BAA9FE #E7E1FF

Accessibility & contrast

On white

3.69
#8A6DFD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.69
#8A6DFD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8A6DFD
5.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A6DFD#FFFFFF#000000##000000
##8A6DFD1.003.695.695.69
#FFFFFF3.691.0021.0021.00
#0000005.6921.001.001.00
##0000005.6921.001.001.00

Color blindness preview

Protanopia (red-blind)
#0088FF
Deuteranopia (green-blind)
#0381FA
Tritanopia (blue-blind)
#668DAB
Achromatopsia (no color)
#858585

Design tokens & code

CSS
--color: #8a6dfd;
/* rgb */ color: rgb(138, 109, 253);
/* oklch */ color: oklch(63.5% 0.205 288.4);
Tailwind
colors: {
  custom: {
    50: '#b398ff',
    500: '#8a6dfd',
    950: '#000000',
  },
}
SCSS
$custom: #8a6dfd;
$custom-light: #b398ff;
$custom-dark: #000000;
JSON
{
  "hex": "#8a6dfd",
  "rgb": {
    "r": 138,
    "g": 109,
    "b": 253
  },
  "hsl": {
    "h": 252.083,
    "s": 97.297,
    "l": 70.98
  },
  "oklch": {
    "l": 0.63546,
    "c": 0.2053,
    "h": 288.4
  },
  "luminance": 0.23432
}

Semantic roles & 50–950 ramp

primary
#8A6DFD
secondary
#EEF6D0
accent
#E600B7
background
#FBF9FF
surface
#F6F2FF
border
#D0CCD7
text
#120E18
muted
#817E86

Preview Lab

Preview with #8A6DFD

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

Preview Lab → · Contrast checker → · Palette generator →

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