#8A6ECE#8A6ECE

#8A6ECE is a mid, vivid violet. Relative luminance 0.210; OKLCH L 60.8% C 0.143 H 295.3°. Best body text is #000000 at 5.20:1 contrast (WCAG AA passes).

Color values

HEX#8A6ECE
RGBrgb(138, 110, 206)
HSLhsl(258, 49%, 62%)
HSVhsv(258, 47%, 81%)
CMYKcmyk(33%, 46.6%, 0%, 19.2%)
CIE-LABlab(52.96, 32.23, -45.98)
CIE-LCHlch(52.96, 56.15, 305.03°)
OKLaboklab(60.76% 0.0611 -0.1294)
OKLCHoklch(60.76% 0.143 295.3)
XYZxyz(27.1949, 21.0109, 61.0033)
Luminance0.2101 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A6ECE #B2CE6E
analogous
#6E82CE #8A6ECE #BA6ECE
triadic
#8A6ECE #CE8A6E #6ECE8A
tetradic
#8A6ECE #CE6E82 #B2CE6E #6ECEBA
square
#8A6ECE #CE6E82 #B2CE6E #6ECEBA
split-complementary
#8A6ECE #CEBA6E #82CE6E
monochromatic
#4D3191 #6540BE #8A6ECE #AF9CDD #D4C9ED

Accessibility & contrast

On white

4.04
#8A6ECE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.20
#8A6ECE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8A6ECE
5.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A6ECE#FFFFFF#000000##000000
##8A6ECE1.004.045.205.20
#FFFFFF4.041.0021.0021.00
#0000005.2021.001.001.00
##0000005.2021.001.001.00

Color blindness preview

Protanopia (red-blind)
#4E7FD1
Deuteranopia (green-blind)
#537DCC
Tritanopia (blue-blind)
#7B8094
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #8a6ece;
/* rgb */ color: rgb(138, 110, 206);
/* oklch */ color: oklch(60.8% 0.143 295.3);
Tailwind
colors: {
  custom: {
    50: '#af98dd',
    500: '#8a6ece',
    950: '#000000',
  },
}
SCSS
$custom: #8a6ece;
$custom-light: #af98dd;
$custom-dark: #000000;
JSON
{
  "hex": "#8a6ece",
  "rgb": {
    "r": 138,
    "g": 110,
    "b": 206
  },
  "hsl": {
    "h": 257.5,
    "s": 49.485,
    "l": 61.961
  },
  "oklch": {
    "l": 0.60755,
    "c": 0.14311,
    "h": 295.3
  },
  "luminance": 0.21011
}

Semantic roles & 50–950 ramp

primary
#8A6ECE
secondary
#D3DEBA
accent
#BD2992
background
#FBF9FD
surface
#F6F2FB
border
#D0CCD4
text
#110D15
muted
#807E83

Preview Lab

Preview with #8A6ECE

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

Preview Lab → · Contrast checker → · Palette generator →

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