#8A6CED#8A6CED

#8A6CED is a light, vivid violet. Relative luminance 0.222; OKLCH L 62.3% C 0.186 H 290.7°. Best body text is #000000 at 5.45:1 contrast (WCAG AA passes).

Color values

HEX#8A6CED
RGBrgb(138, 108, 237)
HSLhsl(254, 78%, 68%)
HSVhsv(254, 54%, 93%)
CMYKcmyk(41.8%, 54.4%, 0%, 7.1%)
CIE-LABlab(54.28, 41.70, -61.34)
CIE-LCHlch(54.28, 74.17, 304.20°)
OKLaboklab(62.31% 0.0659 -0.1745)
OKLCHoklch(62.31% 0.187 290.7)
XYZxyz(31.1256, 22.2418, 82.7575)
Luminance0.2224 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A6CED #CFED6C
analogous
#6C8FED #8A6CED #CA6CED
triadic
#8A6CED #ED8A6C #6CED8A
tetradic
#8A6CED #ED6C8F #CFED6C #6CEDCA
square
#8A6CED #ED6C8F #CFED6C #6CEDCA
split-complementary
#8A6CED #EDCA6C #8FED6C
monochromatic
#4118C6 #5F35E6 #8A6CED #B5A3F4 #E1D9FA

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##8A6CED#FFFFFF#000000##000000
##8A6CED1.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)
#2A84F1
Deuteranopia (green-blind)
#307FEA
Tritanopia (blue-blind)
#6E88A2
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #8a6ced;
/* rgb */ color: rgb(138, 108, 237);
/* oklch */ color: oklch(62.3% 0.186 290.7);
Tailwind
colors: {
  custom: {
    50: '#b297f3',
    500: '#8a6ced',
    950: '#000000',
  },
}
SCSS
$custom: #8a6ced;
$custom-light: #b297f3;
$custom-dark: #000000;
JSON
{
  "hex": "#8a6ced",
  "rgb": {
    "r": 138,
    "g": 108,
    "b": 237
  },
  "hsl": {
    "h": 253.953,
    "s": 78.182,
    "l": 67.647
  },
  "oklch": {
    "l": 0.62314,
    "c": 0.1865,
    "h": 290.7
  },
  "luminance": 0.22243
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #8A6CED

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

Preview Lab → · Contrast checker → · Palette generator →

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