#8A6EFD#8A6EFD

#8A6EFD is a light, highly saturated violet. Relative luminance 0.236; OKLCH L 63.7% C 0.204 H 288.2°. Best body text is #000000 at 5.73:1 contrast (WCAG AA passes).

Color values

HEX#8A6EFD
RGBrgb(138, 110, 253)
HSLhsl(252, 97%, 71%)
HSVhsv(252, 57%, 99%)
CMYKcmyk(45.5%, 56.5%, 0%, 0.8%)
CIE-LABlab(55.73, 44.99, -67.90)
CIE-LCHlch(55.73, 81.45, 303.53°)
OKLaboklab(63.71% 0.0638 -0.1937)
OKLCHoklch(63.71% 0.204 288.2)
XYZxyz(33.7817, 23.6456, 95.6936)
Luminance0.2365 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A6EFD #E1FD6E
analogous
#6E99FD #8A6EFD #D16EFD
triadic
#8A6EFD #FD8A6E #6EFD8A
tetradic
#8A6EFD #FD6E99 #E1FD6E #6EFDD1
square
#8A6EFD #FD6E99 #E1FD6E #6EFDD1
split-complementary
#8A6EFD #FDD16E #99FD6E
monochromatic
#3103ED #5932FC #8A6EFD #BBAAFE #E7E1FF

Accessibility & contrast

On white

3.67
#8A6EFD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.73
#8A6EFD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8A6EFD
5.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A6EFD#FFFFFF#000000##000000
##8A6EFD1.003.675.735.73
#FFFFFF3.671.0021.0021.00
#0000005.7321.001.001.00
##0000005.7321.001.001.00

Color blindness preview

Protanopia (red-blind)
#0589FF
Deuteranopia (green-blind)
#0C82FA
Tritanopia (blue-blind)
#668EAB
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #8a6efd;
/* rgb */ color: rgb(138, 110, 253);
/* oklch */ color: oklch(63.7% 0.204 288.2);
Tailwind
colors: {
  custom: {
    50: '#b398ff',
    500: '#8a6efd',
    950: '#000000',
  },
}
SCSS
$custom: #8a6efd;
$custom-light: #b398ff;
$custom-dark: #000000;
JSON
{
  "hex": "#8a6efd",
  "rgb": {
    "r": 138,
    "g": 110,
    "b": 253
  },
  "hsl": {
    "h": 251.748,
    "s": 97.279,
    "l": 71.176
  },
  "oklch": {
    "l": 0.63707,
    "c": 0.20397,
    "h": 288.2
  },
  "luminance": 0.23647
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #8A6EFD

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

Preview Lab → · Contrast checker → · Palette generator →

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