#8A6CEC#8A6CEC

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

Color values

HEX#8A6CEC
RGBrgb(138, 108, 236)
HSLhsl(254, 77%, 67%)
HSVhsv(254, 54%, 93%)
CMYKcmyk(41.5%, 54.2%, 0%, 7.5%)
CIE-LABlab(54.22, 41.42, -60.88)
CIE-LCHlch(54.22, 73.64, 304.23°)
OKLaboklab(62.25% 0.0658 -0.1731)
OKLCHoklch(62.25% 0.185 290.8)
XYZxyz(30.9799, 22.1836, 81.9902)
Luminance0.2218 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A6CEC #CEEC6C
analogous
#6C8EEC #8A6CEC #CA6CEC
triadic
#8A6CEC #EC8A6C #6CEC8A
tetradic
#8A6CEC #EC6C8E #CEEC6C #6CECCA
square
#8A6CEC #EC6C8E #CEEC6C #6CECCA
split-complementary
#8A6CEC #ECCA6C #8EEC6C
monochromatic
#4119C4 #5F36E5 #8A6CEC #B5A2F3 #E0D8FA

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##8A6CEC#FFFFFF#000000##000000
##8A6CEC1.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)
#2C84F0
Deuteranopia (green-blind)
#317FE9
Tritanopia (blue-blind)
#6F87A2
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #8a6cec;
/* rgb */ color: rgb(138, 108, 236);
/* oklch */ color: oklch(62.2% 0.185 290.8);
Tailwind
colors: {
  custom: {
    50: '#b197f3',
    500: '#8a6cec',
    950: '#000000',
  },
}
SCSS
$custom: #8a6cec;
$custom-light: #b197f3;
$custom-dark: #000000;
JSON
{
  "hex": "#8a6cec",
  "rgb": {
    "r": 138,
    "g": 108,
    "b": 236
  },
  "hsl": {
    "h": 254.063,
    "s": 77.108,
    "l": 67.451
  },
  "oklch": {
    "l": 0.62249,
    "c": 0.18522,
    "h": 290.8
  },
  "luminance": 0.22185
}

Semantic roles & 50–950 ramp

primary
#8A6CEC
secondary
#E5EEC6
accent
#D90CA9
background
#FBF9FE
surface
#F6F2FD
border
#D0CCD5
text
#110D17
muted
#807E85

Preview Lab

Preview with #8A6CEC

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

Preview Lab → · Contrast checker → · Palette generator →

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