#8A6DE6#8A6DE6

#8A6DE6 is a light, vivid violet. Relative luminance 0.221; OKLCH L 62.0% C 0.176 H 291.5°. Best body text is #000000 at 5.41:1 contrast (WCAG AA passes).

Color values

HEX#8A6DE6
RGBrgb(138, 109, 230)
HSLhsl(254, 71%, 66%)
HSVhsv(254, 53%, 90%)
CMYKcmyk(40%, 52.6%, 0%, 9.8%)
CIE-LABlab(54.08, 39.21, -57.75)
CIE-LCHlch(54.08, 69.80, 304.18°)
OKLaboklab(62.03% 0.0644 -0.1639)
OKLCHoklch(62.03% 0.176 291.5)
XYZxyz(30.2289, 22.0529, 77.5115)
Luminance0.2205 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A6DE6 #C9E66D
analogous
#6D8DE6 #8A6DE6 #C76DE6
triadic
#8A6DE6 #E68A6D #6DE68A
tetradic
#8A6DE6 #E66D8D #C9E66D #6DE6C7
square
#8A6DE6 #E66D8D #C9E66D #6DE6C7
split-complementary
#8A6DE6 #E6C76D #8DE66D
monochromatic
#4420B9 #6039DD #8A6DE6 #B4A1EF #DED6F8

Accessibility & contrast

On white

3.88
#8A6DE6 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.41
#8A6DE6 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8A6DE6
5.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A6DE6#FFFFFF#000000##000000
##8A6DE61.003.885.415.41
#FFFFFF3.881.0021.0021.00
#0000005.4121.001.001.00
##0000005.4121.001.001.00

Color blindness preview

Protanopia (red-blind)
#3783EA
Deuteranopia (green-blind)
#3C7FE3
Tritanopia (blue-blind)
#71869F
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #8a6de6;
/* rgb */ color: rgb(138, 109, 230);
/* oklch */ color: oklch(62.0% 0.176 291.5);
Tailwind
colors: {
  custom: {
    50: '#b197ee',
    500: '#8a6de6',
    950: '#000000',
  },
}
SCSS
$custom: #8a6de6;
$custom-light: #b197ee;
$custom-dark: #000000;
JSON
{
  "hex": "#8a6de6",
  "rgb": {
    "r": 138,
    "g": 109,
    "b": 230
  },
  "hsl": {
    "h": 254.38,
    "s": 70.76,
    "l": 66.471
  },
  "oklch": {
    "l": 0.6203,
    "c": 0.17611,
    "h": 291.5
  },
  "luminance": 0.22054
}

Semantic roles & 50–950 ramp

primary
#8A6DE6
secondary
#E2EBC4
accent
#D313A5
background
#FBF9FE
surface
#F6F2FD
border
#D0CCD5
text
#110D16
muted
#807E84

Preview Lab

Preview with #8A6DE6

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

Preview Lab → · Contrast checker → · Palette generator →

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