#8A6DE9#8A6DE9

#8A6DE9 is a light, vivid violet. Relative luminance 0.222; OKLCH L 62.2% C 0.180 H 291.0°. Best body text is #000000 at 5.44:1 contrast (WCAG AA passes).

Color values

HEX#8A6DE9
RGBrgb(138, 109, 233)
HSLhsl(254, 74%, 67%)
HSVhsv(254, 53%, 91%)
CMYKcmyk(40.8%, 53.2%, 0%, 8.6%)
CIE-LABlab(54.26, 40.03, -59.14)
CIE-LCHlch(54.26, 71.41, 304.09°)
OKLaboklab(62.22% 0.0646 -0.168)
OKLCHoklch(62.22% 0.18 291)
XYZxyz(30.6538, 22.2228, 79.7493)
Luminance0.2222 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A6DE9 #CCE96D
analogous
#6D8EE9 #8A6DE9 #C86DE9
triadic
#8A6DE9 #E98A6D #6DE98A
tetradic
#8A6DE9 #E96D8E #CCE96D #6DE9C8
square
#8A6DE9 #E96D8E #CCE96D #6DE9C8
split-complementary
#8A6DE9 #E9C86D #8EE96D
monochromatic
#431DBF #5F38E1 #8A6DE9 #B5A2F1 #DFD7F9

Accessibility & contrast

On white

3.86
#8A6DE9 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.44
#8A6DE9 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8A6DE9
5.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A6DE9#FFFFFF#000000##000000
##8A6DE91.003.865.445.44
#FFFFFF3.861.0021.0021.00
#0000005.4421.001.001.00
##0000005.4421.001.001.00

Color blindness preview

Protanopia (red-blind)
#3384ED
Deuteranopia (green-blind)
#387FE6
Tritanopia (blue-blind)
#7087A1
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #8a6de9;
/* rgb */ color: rgb(138, 109, 233);
/* oklch */ color: oklch(62.2% 0.180 291.0);
Tailwind
colors: {
  custom: {
    50: '#b197f1',
    500: '#8a6de9',
    950: '#000000',
  },
}
SCSS
$custom: #8a6de9;
$custom-light: #b197f1;
$custom-dark: #000000;
JSON
{
  "hex": "#8a6de9",
  "rgb": {
    "r": 138,
    "g": 109,
    "b": 233
  },
  "hsl": {
    "h": 254.032,
    "s": 73.81,
    "l": 67.059
  },
  "oklch": {
    "l": 0.62221,
    "c": 0.17997,
    "h": 291
  },
  "luminance": 0.22224
}

Semantic roles & 50–950 ramp

primary
#8A6DE9
secondary
#E3EDC5
accent
#D610A8
background
#FBF9FE
surface
#F6F2FD
border
#D0CCD5
text
#110D17
muted
#807E85

Preview Lab

Preview with #8A6DE9

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

Preview Lab → · Contrast checker → · Palette generator →

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