#8A6FCE#8A6FCE

#8A6FCE is a mid, vivid violet. Relative luminance 0.212; OKLCH L 60.9% C 0.142 H 295.0°. Best body text is #000000 at 5.25:1 contrast (WCAG AA passes).

Color values

HEX#8A6FCE
RGBrgb(138, 111, 206)
HSLhsl(257, 49%, 62%)
HSVhsv(257, 46%, 81%)
CMYKcmyk(33%, 46.1%, 0%, 19.2%)
CIE-LABlab(53.20, 31.64, -45.60)
CIE-LCHlch(53.20, 55.51, 304.76°)
OKLaboklab(60.93% 0.0597 -0.1283)
OKLCHoklch(60.93% 0.142 295)
XYZxyz(27.3034, 21.2279, 61.0395)
Luminance0.2123 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A6FCE #B3CE6F
analogous
#6F83CE #8A6FCE #BA6FCE
triadic
#8A6FCE #CE8A6F #6FCE8A
tetradic
#8A6FCE #CE6F83 #B3CE6F #6FCEBA
square
#8A6FCE #CE6F83 #B3CE6F #6FCEBA
split-complementary
#8A6FCE #CEBA6F #83CE6F
monochromatic
#4D3191 #6541BE #8A6FCE #AF9DDE #D4CAED

Accessibility & contrast

On white

4.00
#8A6FCE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.25
#8A6FCE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8A6FCE
5.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A6FCE#FFFFFF#000000##000000
##8A6FCE1.004.005.255.25
#FFFFFF4.001.0021.0021.00
#0000005.2521.001.001.00
##0000005.2521.001.001.00

Color blindness preview

Protanopia (red-blind)
#5080D1
Deuteranopia (green-blind)
#547ECC
Tritanopia (blue-blind)
#7B8195
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #8a6fce;
/* rgb */ color: rgb(138, 111, 206);
/* oklch */ color: oklch(60.9% 0.142 295.0);
Tailwind
colors: {
  custom: {
    50: '#af99dd',
    500: '#8a6fce',
    950: '#000000',
  },
}
SCSS
$custom: #8a6fce;
$custom-light: #af99dd;
$custom-dark: #000000;
JSON
{
  "hex": "#8a6fce",
  "rgb": {
    "r": 138,
    "g": 111,
    "b": 206
  },
  "hsl": {
    "h": 257.053,
    "s": 49.223,
    "l": 62.157
  },
  "oklch": {
    "l": 0.60933,
    "c": 0.14155,
    "h": 295
  },
  "luminance": 0.21228
}

Semantic roles & 50–950 ramp

primary
#8A6FCE
secondary
#D4DEBB
accent
#BD2993
background
#FBF9FD
surface
#F6F2FB
border
#D0CCD4
text
#110E15
muted
#807E83

Preview Lab

Preview with #8A6FCE

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

Preview Lab → · Contrast checker → · Palette generator →

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