#8A6CCD#8A6CCD

#8A6CCD is a mid, vivid violet. Relative luminance 0.205; OKLCH L 60.3% C 0.145 H 296.0°. Best body text is #000000 at 5.11:1 contrast (WCAG AA passes).

Color values

HEX#8A6CCD
RGBrgb(138, 108, 205)
HSLhsl(259, 49%, 61%)
HSVhsv(259, 47%, 80%)
CMYKcmyk(32.7%, 47.3%, 0%, 19.6%)
CIE-LABlab(52.44, 33.13, -46.24)
CIE-LCHlch(52.44, 56.88, 305.62°)
OKLaboklab(60.35% 0.0636 -0.1302)
OKLCHoklch(60.35% 0.145 296)
XYZxyz(26.8605, 20.5358, 60.2944)
Luminance0.2054 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A6CCD #AFCD6C
analogous
#6C7FCD #8A6CCD #BB6CCD
triadic
#8A6CCD #CD8A6C #6CCD8A
tetradic
#8A6CCD #CD6C7F #AFCD6C #6CCDBB
square
#8A6CCD #CD6C7F #AFCD6C #6CCDBB
split-complementary
#8A6CCD #CDBB6C #7FCD6C
monochromatic
#4D308E #6640BC #8A6CCD #AE9ADD #D3C7EC

Accessibility & contrast

On white

4.11
#8A6CCD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.11
#8A6CCD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8A6CCD
5.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A6CCD#FFFFFF#000000##000000
##8A6CCD1.004.115.115.11
#FFFFFF4.111.0021.0021.00
#0000005.1121.001.001.00
##0000005.1121.001.001.00

Color blindness preview

Protanopia (red-blind)
#4C7ED0
Deuteranopia (green-blind)
#517CCB
Tritanopia (blue-blind)
#7B7E93
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #8a6ccd;
/* rgb */ color: rgb(138, 108, 205);
/* oklch */ color: oklch(60.3% 0.145 296.0);
Tailwind
colors: {
  custom: {
    50: '#af96dd',
    500: '#8a6ccd',
    950: '#000000',
  },
}
SCSS
$custom: #8a6ccd;
$custom-light: #af96dd;
$custom-dark: #000000;
JSON
{
  "hex": "#8a6ccd",
  "rgb": {
    "r": 138,
    "g": 108,
    "b": 205
  },
  "hsl": {
    "h": 258.557,
    "s": 49.239,
    "l": 61.373
  },
  "oklch": {
    "l": 0.60345,
    "c": 0.1449,
    "h": 296
  },
  "luminance": 0.20536
}

Semantic roles & 50–950 ramp

primary
#8A6CCD
secondary
#D1DDB8
accent
#BD298F
background
#FBF9FD
surface
#F6F2FB
border
#D0CCD4
text
#110D15
muted
#807E83

Preview Lab

Preview with #8A6CCD

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

Preview Lab → · Contrast checker → · Palette generator →

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