#8A6DEE#8A6DEE

#8A6DEE is a light, vivid violet. Relative luminance 0.225; OKLCH L 62.5% C 0.186 H 290.3°. Best body text is #000000 at 5.50:1 contrast (WCAG AA passes).

Color values

HEX#8A6DEE
RGBrgb(138, 109, 238)
HSLhsl(253, 79%, 68%)
HSVhsv(253, 54%, 93%)
CMYKcmyk(42%, 54.2%, 0%, 6.7%)
CIE-LABlab(54.57, 41.40, -61.45)
CIE-LCHlch(54.57, 74.09, 303.97°)
OKLaboklab(62.54% 0.0647 -0.1748)
OKLCHoklch(62.54% 0.186 290.3)
XYZxyz(31.3782, 22.5126, 83.5644)
Luminance0.2251 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A6DEE #D1EE6D
analogous
#6D91EE #8A6DEE #CA6DEE
triadic
#8A6DEE #EE8A6D #6DEE8A
tetradic
#8A6DEE #EE6D91 #D1EE6D #6DEECA
square
#8A6DEE #EE6D91 #D1EE6D #6DEECA
split-complementary
#8A6DEE #EECA6D #91EE6D
monochromatic
#3F17C9 #5E36E8 #8A6DEE #B6A4F4 #E2DBFB

Accessibility & contrast

On white

3.82
#8A6DEE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.50
#8A6DEE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8A6DEE
5.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A6DEE#FFFFFF#000000##000000
##8A6DEE1.003.825.505.50
#FFFFFF3.821.0021.0021.00
#0000005.5021.001.001.00
##0000005.5021.001.001.00

Color blindness preview

Protanopia (red-blind)
#2B85F2
Deuteranopia (green-blind)
#3080EB
Tritanopia (blue-blind)
#6E89A3
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #8a6dee;
/* rgb */ color: rgb(138, 109, 238);
/* oklch */ color: oklch(62.5% 0.186 290.3);
Tailwind
colors: {
  custom: {
    50: '#b297f4',
    500: '#8a6dee',
    950: '#000000',
  },
}
SCSS
$custom: #8a6dee;
$custom-light: #b297f4;
$custom-dark: #000000;
JSON
{
  "hex": "#8a6dee",
  "rgb": {
    "r": 138,
    "g": 109,
    "b": 238
  },
  "hsl": {
    "h": 253.488,
    "s": 79.141,
    "l": 68.039
  },
  "oklch": {
    "l": 0.62544,
    "c": 0.18638,
    "h": 290.3
  },
  "luminance": 0.22514
}

Semantic roles & 50–950 ramp

primary
#8A6DEE
secondary
#E6EFC8
accent
#DB0AAC
background
#FBF9FF
surface
#F6F2FE
border
#D0CCD6
text
#110D17
muted
#807E85

Preview Lab

Preview with #8A6DEE

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

Preview Lab → · Contrast checker → · Palette generator →

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