#8A6EE6#8A6EE6

#8A6EE6 is a light, vivid violet. Relative luminance 0.223; OKLCH L 62.2% C 0.175 H 291.2°. Best body text is #000000 at 5.45:1 contrast (WCAG AA passes).

Color values

HEX#8A6EE6
RGBrgb(138, 110, 230)
HSLhsl(254, 71%, 67%)
HSVhsv(254, 52%, 90%)
CMYKcmyk(40%, 52.2%, 0%, 9.8%)
CIE-LABlab(54.31, 38.64, -57.38)
CIE-LCHlch(54.31, 69.18, 303.96°)
OKLaboklab(62.2% 0.0632 -0.1628)
OKLCHoklch(62.2% 0.175 291.2)
XYZxyz(30.3362, 22.2674, 77.5473)
Luminance0.2227 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A6EE6 #CAE66E
analogous
#6E8EE6 #8A6EE6 #C66EE6
triadic
#8A6EE6 #E68A6E #6EE68A
tetradic
#8A6EE6 #E66E8E #CAE66E #6EE6C6
square
#8A6EE6 #E66E8E #CAE66E #6EE6C6
split-complementary
#8A6EE6 #E6C66E #8EE66E
monochromatic
#4420BA #603ADD #8A6EE6 #B4A2EF #DED6F8

Accessibility & contrast

On white

3.85
#8A6EE6 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.45
#8A6EE6 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8A6EE6
5.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A6EE6#FFFFFF#000000##000000
##8A6EE61.003.855.455.45
#FFFFFF3.851.0021.0021.00
#0000005.4521.001.001.00
##0000005.4521.001.001.00

Color blindness preview

Protanopia (red-blind)
#3984EA
Deuteranopia (green-blind)
#3D7FE3
Tritanopia (blue-blind)
#7187A0
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #8a6ee6;
/* rgb */ color: rgb(138, 110, 230);
/* oklch */ color: oklch(62.2% 0.175 291.2);
Tailwind
colors: {
  custom: {
    50: '#b198ee',
    500: '#8a6ee6',
    950: '#000000',
  },
}
SCSS
$custom: #8a6ee6;
$custom-light: #b198ee;
$custom-dark: #000000;
JSON
{
  "hex": "#8a6ee6",
  "rgb": {
    "r": 138,
    "g": 110,
    "b": 230
  },
  "hsl": {
    "h": 254,
    "s": 70.588,
    "l": 66.667
  },
  "oklch": {
    "l": 0.62199,
    "c": 0.17468,
    "h": 291.2
  },
  "luminance": 0.22268
}

Semantic roles & 50–950 ramp

primary
#8A6EE6
secondary
#E2EBC5
accent
#D313A6
background
#FBF9FE
surface
#F6F2FD
border
#D0CCD5
text
#110E16
muted
#807E84

Preview Lab

Preview with #8A6EE6

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

Preview Lab → · Contrast checker → · Palette generator →

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