#8A6BCD#8A6BCD

#8A6BCD is a mid, vivid violet. Relative luminance 0.203; OKLCH L 60.2% C 0.146 H 296.3°. Best body text is #000000 at 5.07:1 contrast (WCAG AA passes).

Color values

HEX#8A6BCD
RGBrgb(138, 107, 205)
HSLhsl(259, 49%, 61%)
HSVhsv(259, 48%, 80%)
CMYKcmyk(32.7%, 47.8%, 0%, 19.6%)
CIE-LABlab(52.20, 33.71, -46.61)
CIE-LCHlch(52.20, 57.52, 305.87°)
OKLaboklab(60.17% 0.0649 -0.1313)
OKLCHoklch(60.17% 0.146 296.3)
XYZxyz(26.7556, 20.3261, 60.2595)
Luminance0.2033 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A6BCD #AECD6B
analogous
#6B7DCD #8A6BCD #BB6BCD
triadic
#8A6BCD #CD8A6B #6BCD8A
tetradic
#8A6BCD #CD6B7D #AECD6B #6BCDBB
square
#8A6BCD #CD6B7D #AECD6B #6BCDBB
split-complementary
#8A6BCD #CDBB6B #7DCD6B
monochromatic
#4E308E #673FBB #8A6BCD #AE99DC #D2C6EC

Accessibility & contrast

On white

4.15
#8A6BCD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.07
#8A6BCD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8A6BCD
5.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A6BCD#FFFFFF#000000##000000
##8A6BCD1.004.155.075.07
#FFFFFF4.151.0021.0021.00
#0000005.0721.001.001.00
##0000005.0721.001.001.00

Color blindness preview

Protanopia (red-blind)
#4A7DD1
Deuteranopia (green-blind)
#507BCB
Tritanopia (blue-blind)
#7B7E92
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #8a6bcd;
/* rgb */ color: rgb(138, 107, 205);
/* oklch */ color: oklch(60.2% 0.146 296.3);
Tailwind
colors: {
  custom: {
    50: '#af96dd',
    500: '#8a6bcd',
    950: '#000000',
  },
}
SCSS
$custom: #8a6bcd;
$custom-light: #af96dd;
$custom-dark: #000000;
JSON
{
  "hex": "#8a6bcd",
  "rgb": {
    "r": 138,
    "g": 107,
    "b": 205
  },
  "hsl": {
    "h": 258.98,
    "s": 49.495,
    "l": 61.176
  },
  "oklch": {
    "l": 0.6017,
    "c": 0.14646,
    "h": 296.3
  },
  "luminance": 0.20326
}

Semantic roles & 50–950 ramp

primary
#8A6BCD
secondary
#D1DCB8
accent
#BD298E
background
#FBF9FD
surface
#F6F2FB
border
#D0CCD4
text
#110D15
muted
#807E83

Preview Lab

Preview with #8A6BCD

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

Preview Lab → · Contrast checker → · Palette generator →

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