#8A6FF4#8A6FF4

#8A6FF4 is a light, vivid violet. Relative luminance 0.233; OKLCH L 63.3% C 0.191 H 289.1°. Best body text is #000000 at 5.66:1 contrast (WCAG AA passes).

Color values

HEX#8A6FF4
RGBrgb(138, 111, 244)
HSLhsl(252, 86%, 70%)
HSVhsv(252, 55%, 96%)
CMYKcmyk(43.4%, 54.5%, 0%, 4.3%)
CIE-LABlab(55.38, 41.92, -63.47)
CIE-LCHlch(55.38, 76.07, 303.44°)
OKLaboklab(63.27% 0.0626 -0.1807)
OKLCHoklch(63.27% 0.191 289.1)
XYZxyz(32.4902, 23.3026, 88.3564)
Luminance0.2330 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A6FF4 #D9F46F
analogous
#6F97F4 #8A6FF4 #CC6FF4
triadic
#8A6FF4 #F48A6F #6FF48A
tetradic
#8A6FF4 #F46F97 #D9F46F #6FF4CC
square
#8A6FF4 #F46F97 #D9F46F #6FF4CC
split-complementary
#8A6FF4 #F4CC6F #97F46F
monochromatic
#3911D8 #5C36F0 #8A6FF4 #B8A8F8 #E6E1FD

Accessibility & contrast

On white

3.71
#8A6FF4 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.66
#8A6FF4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8A6FF4
5.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A6FF4#FFFFFF#000000##000000
##8A6FF41.003.715.665.66
#FFFFFF3.711.0021.0021.00
#0000005.6621.001.001.00
##0000005.6621.001.001.00

Color blindness preview

Protanopia (red-blind)
#2787F9
Deuteranopia (green-blind)
#2B81F1
Tritanopia (blue-blind)
#6A8CA7
Achromatopsia (no color)
#858585

Design tokens & code

CSS
--color: #8a6ff4;
/* rgb */ color: rgb(138, 111, 244);
/* oklch */ color: oklch(63.3% 0.191 289.1);
Tailwind
colors: {
  custom: {
    50: '#b299f8',
    500: '#8a6ff4',
    950: '#000000',
  },
}
SCSS
$custom: #8a6ff4;
$custom-light: #b299f8;
$custom-dark: #000000;
JSON
{
  "hex": "#8a6ff4",
  "rgb": {
    "r": 138,
    "g": 111,
    "b": 244
  },
  "hsl": {
    "h": 252.18,
    "s": 85.806,
    "l": 69.608
  },
  "oklch": {
    "l": 0.63267,
    "c": 0.19125,
    "h": 289.1
  },
  "luminance": 0.23304
}

Semantic roles & 50–950 ramp

primary
#8A6FF4
secondary
#EBF2CC
accent
#E203B5
background
#FBF9FF
surface
#F6F2FF
border
#D0CCD7
text
#110E17
muted
#807E85

Preview Lab

Preview with #8A6FF4

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

Preview Lab → · Contrast checker → · Palette generator →

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