#8A6CE4#8A6CE4

#8A6CE4 is a mid, vivid violet. Relative luminance 0.217; OKLCH L 61.7% C 0.175 H 292.0°. Best body text is #000000 at 5.35:1 contrast (WCAG AA passes).

Color values

HEX#8A6CE4
RGBrgb(138, 108, 228)
HSLhsl(255, 69%, 66%)
HSVhsv(255, 53%, 89%)
CMYKcmyk(39.5%, 52.6%, 0%, 10.6%)
CIE-LABlab(53.74, 39.24, -57.18)
CIE-LCHlch(53.74, 69.35, 304.46°)
OKLaboklab(61.74% 0.0655 -0.1622)
OKLCHoklch(61.74% 0.175 292)
XYZxyz(29.8436, 21.7290, 76.0055)
Luminance0.2173 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A6CE4 #C6E46C
analogous
#6C8AE4 #8A6CE4 #C66CE4
triadic
#8A6CE4 #E48A6C #6CE48A
tetradic
#8A6CE4 #E46C8A #C6E46C #6CE4C6
square
#8A6CE4 #E46C8A #C6E46C #6CE4C6
split-complementary
#8A6CE4 #E4C66C #8AE46C
monochromatic
#4621B4 #6138DB #8A6CE4 #B3A0ED #DCD3F7

Accessibility & contrast

On white

3.93
#8A6CE4 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.35
#8A6CE4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8A6CE4
5.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A6CE4#FFFFFF#000000##000000
##8A6CE41.003.935.355.35
#FFFFFF3.931.0021.0021.00
#0000005.3521.001.001.00
##0000005.3521.001.001.00

Color blindness preview

Protanopia (red-blind)
#3782E8
Deuteranopia (green-blind)
#3C7EE1
Tritanopia (blue-blind)
#72859E
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #8a6ce4;
/* rgb */ color: rgb(138, 108, 228);
/* oklch */ color: oklch(61.7% 0.175 292.0);
Tailwind
colors: {
  custom: {
    50: '#b197ed',
    500: '#8a6ce4',
    950: '#000000',
  },
}
SCSS
$custom: #8a6ce4;
$custom-light: #b197ed;
$custom-dark: #000000;
JSON
{
  "hex": "#8a6ce4",
  "rgb": {
    "r": 138,
    "g": 108,
    "b": 228
  },
  "hsl": {
    "h": 255,
    "s": 68.966,
    "l": 65.882
  },
  "oklch": {
    "l": 0.61736,
    "c": 0.17497,
    "h": 292
  },
  "luminance": 0.2173
}

Semantic roles & 50–950 ramp

primary
#8A6CE4
secondary
#E0EAC2
accent
#D115A2
background
#FBF9FE
surface
#F6F2FD
border
#D0CCD5
text
#110D16
muted
#807E84

Preview Lab

Preview with #8A6CE4

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

Preview Lab → · Contrast checker → · Palette generator →

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