#8A6FCD#8A6FCD

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

Color values

HEX#8A6FCD
RGBrgb(138, 111, 205)
HSLhsl(257, 48%, 62%)
HSVhsv(257, 46%, 80%)
CMYKcmyk(32.7%, 45.9%, 0%, 19.6%)
CIE-LABlab(53.15, 31.38, -45.12)
CIE-LCHlch(53.15, 54.96, 304.82°)
OKLaboklab(60.88% 0.0596 -0.1269)
OKLCHoklch(60.88% 0.14 295.1)
XYZxyz(27.1824, 21.1795, 60.4017)
Luminance0.2118 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A6FCD #B2CD6F
analogous
#6F83CD #8A6FCD #B96FCD
triadic
#8A6FCD #CD8A6F #6FCD8A
tetradic
#8A6FCD #CD6F83 #B2CD6F #6FCDB9
square
#8A6FCD #CD6F83 #B2CD6F #6FCDB9
split-complementary
#8A6FCD #CDB96F #83CD6F
monochromatic
#4D3290 #6542BD #8A6FCD #AF9CDD #D4CAED

Accessibility & contrast

On white

4.01
#8A6FCD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.24
#8A6FCD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8A6FCD
5.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A6FCD#FFFFFF#000000##000000
##8A6FCD1.004.015.245.24
#FFFFFF4.011.0021.0021.00
#0000005.2421.001.001.00
##0000005.2421.001.001.00

Color blindness preview

Protanopia (red-blind)
#5080D0
Deuteranopia (green-blind)
#557ECB
Tritanopia (blue-blind)
#7B8194
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #8a6fcd;
/* rgb */ color: rgb(138, 111, 205);
/* oklch */ color: oklch(60.9% 0.140 295.1);
Tailwind
colors: {
  custom: {
    50: '#af98dd',
    500: '#8a6fcd',
    950: '#000000',
  },
}
SCSS
$custom: #8a6fcd;
$custom-light: #af98dd;
$custom-dark: #000000;
JSON
{
  "hex": "#8a6fcd",
  "rgb": {
    "r": 138,
    "g": 111,
    "b": 205
  },
  "hsl": {
    "h": 257.234,
    "s": 48.454,
    "l": 61.961
  },
  "oklch": {
    "l": 0.60876,
    "c": 0.14021,
    "h": 295.1
  },
  "luminance": 0.2118
}

Semantic roles & 50–950 ramp

primary
#8A6FCD
secondary
#D3DDBB
accent
#BC2A92
background
#FBF9FD
surface
#F6F2FB
border
#D0CCD4
text
#110E15
muted
#807E83

Preview Lab

Preview with #8A6FCD

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

Preview Lab → · Contrast checker → · Palette generator →

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