#8A6FF8#8A6FF8

#8A6FF8 is a light, vivid violet. Relative luminance 0.235; OKLCH L 63.5% C 0.196 H 288.6°. Best body text is #000000 at 5.71:1 contrast (WCAG AA passes).

Color values

HEX#8A6FF8
RGBrgb(138, 111, 248)
HSLhsl(252, 91%, 70%)
HSVhsv(252, 55%, 97%)
CMYKcmyk(44.4%, 55.2%, 0%, 2.7%)
CIE-LABlab(55.63, 43.03, -65.29)
CIE-LCHlch(55.63, 78.20, 303.39°)
OKLaboklab(63.53% 0.0626 -0.1861)
OKLCHoklch(63.53% 0.196 288.6)
XYZxyz(33.1041, 23.5482, 91.5898)
Luminance0.2355 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A6FF8 #DDF86F
analogous
#6F98F8 #8A6FF8 #CF6FF8
triadic
#8A6FF8 #F88A6F #6FF88A
tetradic
#8A6FF8 #F86F98 #DDF86F #6FF8CF
square
#8A6FF8 #F86F98 #DDF86F #6FF8CF
split-complementary
#8A6FF8 #F8CF6F #98F86F
monochromatic
#350BE2 #5B35F5 #8A6FF8 #B9A9FB #E7E2FE

Accessibility & contrast

On white

3.68
#8A6FF8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.71
#8A6FF8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8A6FF8
5.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A6FF8#FFFFFF#000000##000000
##8A6FF81.003.685.715.71
#FFFFFF3.681.0021.0021.00
#0000005.7121.001.001.00
##0000005.7121.001.001.00

Color blindness preview

Protanopia (red-blind)
#1F88FD
Deuteranopia (green-blind)
#2282F5
Tritanopia (blue-blind)
#688DA9
Achromatopsia (no color)
#858585

Design tokens & code

CSS
--color: #8a6ff8;
/* rgb */ color: rgb(138, 111, 248);
/* oklch */ color: oklch(63.5% 0.196 288.6);
Tailwind
colors: {
  custom: {
    50: '#b399fb',
    500: '#8a6ff8',
    950: '#000000',
  },
}
SCSS
$custom: #8a6ff8;
$custom-light: #b399fb;
$custom-dark: #000000;
JSON
{
  "hex": "#8a6ff8",
  "rgb": {
    "r": 138,
    "g": 111,
    "b": 248
  },
  "hsl": {
    "h": 251.825,
    "s": 90.728,
    "l": 70.392
  },
  "oklch": {
    "l": 0.63532,
    "c": 0.19634,
    "h": 288.6
  },
  "luminance": 0.23549
}

Semantic roles & 50–950 ramp

primary
#8A6FF8
secondary
#EDF4CF
accent
#E600B8
background
#FBF9FF
surface
#F6F2FF
border
#D0CCD7
text
#120E17
muted
#817E85

Preview Lab

Preview with #8A6FF8

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

Preview Lab → · Contrast checker → · Palette generator →

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