#8A6CCB#8A6CCB

#8A6CCB is a mid, vivid violet. Relative luminance 0.204; OKLCH L 60.2% C 0.142 H 296.4°. Best body text is #000000 at 5.09:1 contrast (WCAG AA passes).

Color values

HEX#8A6CCB
RGBrgb(138, 108, 203)
HSLhsl(259, 48%, 61%)
HSVhsv(259, 47%, 80%)
CMYKcmyk(32%, 46.8%, 0%, 20.4%)
CIE-LABlab(52.33, 32.61, -45.27)
CIE-LCHlch(52.33, 55.79, 305.77°)
OKLaboklab(60.23% 0.0634 -0.1274)
OKLCHoklch(60.23% 0.142 296.4)
XYZxyz(26.6206, 20.4398, 59.0311)
Luminance0.2044 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A6CCB #ADCB6C
analogous
#6C7DCB #8A6CCB #B96CCB
triadic
#8A6CCB #CB8A6C #6CCB8A
tetradic
#8A6CCB #CB6C7D #ADCB6C #6CCBB9
square
#8A6CCB #CB6C7D #ADCB6C #6CCBB9
split-complementary
#8A6CCB #CBB96C #7DCB6C
monochromatic
#4E318B #6741B9 #8A6CCB #AE99DB #D2C6EB

Accessibility & contrast

On white

4.13
#8A6CCB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.09
#8A6CCB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8A6CCB
5.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A6CCB#FFFFFF#000000##000000
##8A6CCB1.004.135.095.09
#FFFFFF4.131.0021.0021.00
#0000005.0921.001.001.00
##0000005.0921.001.001.00

Color blindness preview

Protanopia (red-blind)
#4D7DCE
Deuteranopia (green-blind)
#537CC9
Tritanopia (blue-blind)
#7C7E92
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #8a6ccb;
/* rgb */ color: rgb(138, 108, 203);
/* oklch */ color: oklch(60.2% 0.142 296.4);
Tailwind
colors: {
  custom: {
    50: '#af96db',
    500: '#8a6ccb',
    950: '#000000',
  },
}
SCSS
$custom: #8a6ccb;
$custom-light: #af96db;
$custom-dark: #000000;
JSON
{
  "hex": "#8a6ccb",
  "rgb": {
    "r": 138,
    "g": 108,
    "b": 203
  },
  "hsl": {
    "h": 258.947,
    "s": 47.739,
    "l": 60.98
  },
  "oklch": {
    "l": 0.6023,
    "c": 0.14225,
    "h": 296.4
  },
  "luminance": 0.2044
}

Semantic roles & 50–950 ramp

primary
#8A6CCB
secondary
#D0DBB7
accent
#BB2A8D
background
#FBF9FD
surface
#F6F2FB
border
#D0CCD4
text
#110D15
muted
#807E83

Preview Lab

Preview with #8A6CCB

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

Preview Lab → · Contrast checker → · Palette generator →

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