#8A6CDC#8A6CDC

#8A6CDC is a mid, vivid violet. Relative luminance 0.213; OKLCH L 61.2% C 0.165 H 293.3°. Best body text is #000000 at 5.26:1 contrast (WCAG AA passes).

Color values

HEX#8A6CDC
RGBrgb(138, 108, 220)
HSLhsl(256, 62%, 64%)
HSVhsv(256, 51%, 86%)
CMYKcmyk(37.3%, 50.9%, 0%, 13.7%)
CIE-LABlab(53.27, 37.09, -53.42)
CIE-LCHlch(53.27, 65.03, 304.77°)
OKLaboklab(61.24% 0.065 -0.1512)
OKLCHoklch(61.24% 0.165 293.3)
XYZxyz(28.7587, 21.2951, 70.2914)
Luminance0.2130 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A6CDC #BEDC6C
analogous
#6C86DC #8A6CDC #C26CDC
triadic
#8A6CDC #DC8A6C #6CDC8A
tetradic
#8A6CDC #DC6C86 #BEDC6C #6CDCC2
square
#8A6CDC #DC6C86 #BEDC6C #6CDCC2
split-complementary
#8A6CDC #DCC26C #86DC6C
monochromatic
#4928A6 #633BD0 #8A6CDC #B19DE8 #D9CFF4

Accessibility & contrast

On white

3.99
#8A6CDC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.26
#8A6CDC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8A6CDC
5.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A6CDC#FFFFFF#000000##000000
##8A6CDC1.003.995.265.26
#FFFFFF3.991.0021.0021.00
#0000005.2621.001.001.00
##0000005.2621.001.001.00

Color blindness preview

Protanopia (red-blind)
#3F81E0
Deuteranopia (green-blind)
#457DD9
Tritanopia (blue-blind)
#76839A
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #8a6cdc;
/* rgb */ color: rgb(138, 108, 220);
/* oklch */ color: oklch(61.2% 0.165 293.3);
Tailwind
colors: {
  custom: {
    50: '#b097e7',
    500: '#8a6cdc',
    950: '#000000',
  },
}
SCSS
$custom: #8a6cdc;
$custom-light: #b097e7;
$custom-dark: #000000;
JSON
{
  "hex": "#8a6cdc",
  "rgb": {
    "r": 138,
    "g": 108,
    "b": 220
  },
  "hsl": {
    "h": 256.071,
    "s": 61.538,
    "l": 64.314
  },
  "oklch": {
    "l": 0.61238,
    "c": 0.16461,
    "h": 293.3
  },
  "luminance": 0.21296
}

Semantic roles & 50–950 ramp

primary
#8A6CDC
secondary
#DBE5BE
accent
#C91C9B
background
#FBF9FE
surface
#F6F2FC
border
#D0CCD5
text
#110D16
muted
#807E84

Preview Lab

Preview with #8A6CDC

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

Preview Lab → · Contrast checker → · Palette generator →

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