#8A6EE9#8A6EE9

#8A6EE9 is a light, vivid violet. Relative luminance 0.224; OKLCH L 62.4% C 0.179 H 290.8°. Best body text is #000000 at 5.49:1 contrast (WCAG AA passes).

Color values

HEX#8A6EE9
RGBrgb(138, 110, 233)
HSLhsl(254, 74%, 67%)
HSVhsv(254, 53%, 91%)
CMYKcmyk(40.8%, 52.8%, 0%, 8.6%)
CIE-LABlab(54.49, 39.46, -58.78)
CIE-LCHlch(54.49, 70.79, 303.87°)
OKLaboklab(62.39% 0.0634 -0.1669)
OKLCHoklch(62.39% 0.179 290.8)
XYZxyz(30.7611, 22.4374, 79.7851)
Luminance0.2244 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A6EE9 #CDE96E
analogous
#6E8FE9 #8A6EE9 #C86EE9
triadic
#8A6EE9 #E98A6E #6EE98A
tetradic
#8A6EE9 #E96E8F #CDE96E #6EE9C8
square
#8A6EE9 #E96E8F #CDE96E #6EE9C8
split-complementary
#8A6EE9 #E9C86E #8FE96E
monochromatic
#421DC0 #5F39E1 #8A6EE9 #B5A3F1 #E0D8F9

Accessibility & contrast

On white

3.83
#8A6EE9 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.49
#8A6EE9 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8A6EE9
5.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A6EE9#FFFFFF#000000##000000
##8A6EE91.003.835.495.49
#FFFFFF3.831.0021.0021.00
#0000005.4921.001.001.00
##0000005.4921.001.001.00

Color blindness preview

Protanopia (red-blind)
#3584ED
Deuteranopia (green-blind)
#3A80E6
Tritanopia (blue-blind)
#7088A1
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #8a6ee9;
/* rgb */ color: rgb(138, 110, 233);
/* oklch */ color: oklch(62.4% 0.179 290.8);
Tailwind
colors: {
  custom: {
    50: '#b198f1',
    500: '#8a6ee9',
    950: '#000000',
  },
}
SCSS
$custom: #8a6ee9;
$custom-light: #b198f1;
$custom-dark: #000000;
JSON
{
  "hex": "#8a6ee9",
  "rgb": {
    "r": 138,
    "g": 110,
    "b": 233
  },
  "hsl": {
    "h": 253.659,
    "s": 73.653,
    "l": 67.255
  },
  "oklch": {
    "l": 0.62389,
    "c": 0.17856,
    "h": 290.8
  },
  "luminance": 0.22438
}

Semantic roles & 50–950 ramp

primary
#8A6EE9
secondary
#E4EDC6
accent
#D610A9
background
#FBF9FE
surface
#F6F2FD
border
#D0CCD5
text
#110E17
muted
#807E85

Preview Lab

Preview with #8A6EE9

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

Preview Lab → · Contrast checker → · Palette generator →

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