#8A6DBE#8A6DBE

#8A6DBE is a mid, vivid violet. Relative luminance 0.201; OKLCH L 59.7% C 0.123 H 299.1°. Best body text is #000000 at 5.01:1 contrast (WCAG AA passes).

Color values

HEX#8A6DBE
RGBrgb(138, 109, 190)
HSLhsl(261, 38%, 59%)
HSVhsv(261, 43%, 75%)
CMYKcmyk(27.4%, 42.6%, 0%, 25.5%)
CIE-LABlab(51.90, 28.70, -38.50)
CIE-LCHlch(51.90, 48.02, 306.71°)
OKLaboklab(59.69% 0.06 -0.1076)
OKLCHoklch(59.69% 0.123 299.1)
XYZxyz(25.2420, 20.0581, 51.2470)
Luminance0.2006 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A6DBE #A1BE6D
analogous
#6D78BE #8A6DBE #B26DBE
triadic
#8A6DBE #BE8A6D #6DBE8A
tetradic
#8A6DBE #BE6D78 #A1BE6D #6DBEB2
square
#8A6DBE #BE6D78 #A1BE6D #6DBEB2
split-complementary
#8A6DBE #BEB26D #78BE6D
monochromatic
#4F367A #6A49A5 #8A6DBE #AC97D1 #CEC2E4

Accessibility & contrast

On white

4.19
#8A6DBE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.01
#8A6DBE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8A6DBE
5.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A6DBE#FFFFFF#000000##000000
##8A6DBE1.004.195.015.01
#FFFFFF4.191.0021.0021.00
#0000005.0121.001.001.00
##0000005.0121.001.001.00

Color blindness preview

Protanopia (red-blind)
#577CC1
Deuteranopia (green-blind)
#5C7BBC
Tritanopia (blue-blind)
#807B8C
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #8a6dbe;
/* rgb */ color: rgb(138, 109, 190);
/* oklch */ color: oklch(59.7% 0.123 299.1);
Tailwind
colors: {
  custom: {
    50: '#ae97d2',
    500: '#8a6dbe',
    950: '#000000',
  },
}
SCSS
$custom: #8a6dbe;
$custom-light: #ae97d2;
$custom-dark: #000000;
JSON
{
  "hex": "#8a6dbe",
  "rgb": {
    "r": 138,
    "g": 109,
    "b": 190
  },
  "hsl": {
    "h": 261.481,
    "s": 38.389,
    "l": 58.627
  },
  "oklch": {
    "l": 0.59691,
    "c": 0.12325,
    "h": 299.1
  },
  "luminance": 0.20058
}

Semantic roles & 50–950 ramp

primary
#8A6DBE
secondary
#C8D3B3
accent
#CE59A4
background
#FAF9FC
surface
#F4F2F9
border
#CECCD2
text
#100D14
muted
#7F7E82

Preview Lab

Preview with #8A6DBE

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

Preview Lab → · Contrast checker → · Palette generator →

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