#8A6CDF#8A6CDF

#8A6CDF is a mid, vivid violet. Relative luminance 0.215; OKLCH L 61.4% C 0.169 H 292.8°. Best body text is #000000 at 5.29:1 contrast (WCAG AA passes).

Color values

HEX#8A6CDF
RGBrgb(138, 108, 223)
HSLhsl(256, 64%, 65%)
HSVhsv(256, 52%, 87%)
CMYKcmyk(38.1%, 51.6%, 0%, 12.5%)
CIE-LABlab(53.44, 37.89, -54.84)
CIE-LCHlch(53.44, 66.65, 304.65°)
OKLaboklab(61.42% 0.0652 -0.1554)
OKLCHoklch(61.42% 0.169 292.8)
XYZxyz(29.1595, 21.4554, 72.4027)
Luminance0.2146 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A6CDF #C1DF6C
analogous
#6C88DF #8A6CDF #C36CDF
triadic
#8A6CDF #DF8A6C #6CDF8A
tetradic
#8A6CDF #DF6C88 #C1DF6C #6CDFC3
square
#8A6CDF #DF6C88 #C1DF6C #6CDFC3
split-complementary
#8A6CDF #DFC36C #88DF6C
monochromatic
#4825AB #623AD4 #8A6CDF #B29EEA #DAD1F5

Accessibility & contrast

On white

3.97
#8A6CDF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.29
#8A6CDF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8A6CDF
5.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A6CDF#FFFFFF#000000##000000
##8A6CDF1.003.975.295.29
#FFFFFF3.971.0021.0021.00
#0000005.2921.001.001.00
##0000005.2921.001.001.00

Color blindness preview

Protanopia (red-blind)
#3C81E3
Deuteranopia (green-blind)
#427EDC
Tritanopia (blue-blind)
#74839B
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #8a6cdf;
/* rgb */ color: rgb(138, 108, 223);
/* oklch */ color: oklch(61.4% 0.169 292.8);
Tailwind
colors: {
  custom: {
    50: '#b097e9',
    500: '#8a6cdf',
    950: '#000000',
  },
}
SCSS
$custom: #8a6cdf;
$custom-light: #b097e9;
$custom-dark: #000000;
JSON
{
  "hex": "#8a6cdf",
  "rgb": {
    "r": 138,
    "g": 108,
    "b": 223
  },
  "hsl": {
    "h": 255.652,
    "s": 64.246,
    "l": 64.902
  },
  "oklch": {
    "l": 0.61423,
    "c": 0.16851,
    "h": 292.8
  },
  "luminance": 0.21456
}

Semantic roles & 50–950 ramp

primary
#8A6CDF
secondary
#DDE7C0
accent
#CC199D
background
#FBF9FE
surface
#F6F2FD
border
#D0CCD5
text
#110D16
muted
#807E84

Preview Lab

Preview with #8A6CDF

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

Preview Lab → · Contrast checker → · Palette generator →

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