#8A6FE9#8A6FE9

#8A6FE9 is a light, vivid violet. Relative luminance 0.227; OKLCH L 62.6% C 0.177 H 290.5°. Best body text is #000000 at 5.53:1 contrast (WCAG AA passes).

Color values

HEX#8A6FE9
RGBrgb(138, 111, 233)
HSLhsl(253, 73%, 67%)
HSVhsv(253, 52%, 91%)
CMYKcmyk(40.8%, 52.4%, 0%, 8.6%)
CIE-LABlab(54.71, 38.89, -58.41)
CIE-LCHlch(54.71, 70.17, 303.65°)
OKLaboklab(62.56% 0.0622 -0.1659)
OKLCHoklch(62.56% 0.177 290.5)
XYZxyz(30.8696, 22.6544, 79.8213)
Luminance0.2266 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A6FE9 #CEE96F
analogous
#6F91E9 #8A6FE9 #C76FE9
triadic
#8A6FE9 #E98A6F #6FE98A
tetradic
#8A6FE9 #E96F91 #CEE96F #6FE9C7
square
#8A6FE9 #E96F91 #CEE96F #6FE9C7
split-complementary
#8A6FE9 #E9C76F #91E96F
monochromatic
#411DC0 #5F3AE1 #8A6FE9 #B5A4F1 #E0D9F9

Accessibility & contrast

On white

3.80
#8A6FE9 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.53
#8A6FE9 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8A6FE9
5.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A6FE9#FFFFFF#000000##000000
##8A6FE91.003.805.535.53
#FFFFFF3.801.0021.0021.00
#0000005.5321.001.001.00
##0000005.5321.001.001.00

Color blindness preview

Protanopia (red-blind)
#3885ED
Deuteranopia (green-blind)
#3B80E6
Tritanopia (blue-blind)
#7089A1
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #8a6fe9;
/* rgb */ color: rgb(138, 111, 233);
/* oklch */ color: oklch(62.6% 0.177 290.5);
Tailwind
colors: {
  custom: {
    50: '#b199f1',
    500: '#8a6fe9',
    950: '#000000',
  },
}
SCSS
$custom: #8a6fe9;
$custom-light: #b199f1;
$custom-dark: #000000;
JSON
{
  "hex": "#8a6fe9",
  "rgb": {
    "r": 138,
    "g": 111,
    "b": 233
  },
  "hsl": {
    "h": 253.279,
    "s": 73.494,
    "l": 67.451
  },
  "oklch": {
    "l": 0.62557,
    "c": 0.17713,
    "h": 290.5
  },
  "luminance": 0.22655
}

Semantic roles & 50–950 ramp

primary
#8A6FE9
secondary
#E5EDC7
accent
#D610AA
background
#FBF9FE
surface
#F6F2FD
border
#D0CCD5
text
#110E17
muted
#807E85

Preview Lab

Preview with #8A6FE9

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

Preview Lab → · Contrast checker → · Palette generator →

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