#8A6DF8#8A6DF8

#8A6DF8 is a light, vivid violet. Relative luminance 0.231; OKLCH L 63.2% C 0.199 H 289.0°. Best body text is #000000 at 5.62:1 contrast (WCAG AA passes).

Color values

HEX#8A6DF8
RGBrgb(138, 109, 248)
HSLhsl(253, 91%, 70%)
HSVhsv(253, 56%, 97%)
CMYKcmyk(44.4%, 56%, 0%, 2.7%)
CIE-LABlab(55.19, 44.16, -66.00)
CIE-LCHlch(55.19, 79.41, 303.79°)
OKLaboklab(63.21% 0.0649 -0.1882)
OKLCHoklch(63.21% 0.199 289)
XYZxyz(32.8884, 23.1166, 91.5178)
Luminance0.2312 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A6DF8 #DBF86D
analogous
#6D95F8 #8A6DF8 #D06DF8
triadic
#8A6DF8 #F88A6D #6DF88A
tetradic
#8A6DF8 #F86D95 #DBF86D #6DF8D0
square
#8A6DF8 #F86D95 #DBF86D #6DF8D0
split-complementary
#8A6DF8 #F8D06D #95F86D
monochromatic
#370BE0 #5B33F5 #8A6DF8 #B9A7FB #E8E2FE

Accessibility & contrast

On white

3.73
#8A6DF8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.62
#8A6DF8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8A6DF8
5.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A6DF8#FFFFFF#000000##000000
##8A6DF81.003.735.625.62
#FFFFFF3.731.0021.0021.00
#0000005.6221.001.001.00
##0000005.6221.001.001.00

Color blindness preview

Protanopia (red-blind)
#1587FD
Deuteranopia (green-blind)
#1B81F5
Tritanopia (blue-blind)
#688CA8
Achromatopsia (no color)
#848484

Design tokens & code

CSS
--color: #8a6df8;
/* rgb */ color: rgb(138, 109, 248);
/* oklch */ color: oklch(63.2% 0.199 289.0);
Tailwind
colors: {
  custom: {
    50: '#b398fb',
    500: '#8a6df8',
    950: '#000000',
  },
}
SCSS
$custom: #8a6df8;
$custom-light: #b398fb;
$custom-dark: #000000;
JSON
{
  "hex": "#8a6df8",
  "rgb": {
    "r": 138,
    "g": 109,
    "b": 248
  },
  "hsl": {
    "h": 252.518,
    "s": 90.85,
    "l": 70
  },
  "oklch": {
    "l": 0.63207,
    "c": 0.19903,
    "h": 289
  },
  "luminance": 0.23118
}

Semantic roles & 50–950 ramp

primary
#8A6DF8
secondary
#ECF4CD
accent
#E600B6
background
#FBF9FF
surface
#F6F2FF
border
#D0CCD7
text
#120E17
muted
#817E85

Preview Lab

Preview with #8A6DF8

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

Preview Lab → · Contrast checker → · Palette generator →

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