#8A6FCF#8A6FCF

#8A6FCF is a mid, vivid violet. Relative luminance 0.213; OKLCH L 61.0% C 0.143 H 294.8°. Best body text is #000000 at 5.26:1 contrast (WCAG AA passes).

Color values

HEX#8A6FCF
RGBrgb(138, 111, 207)
HSLhsl(257, 50%, 62%)
HSVhsv(257, 46%, 81%)
CMYKcmyk(33.3%, 46.4%, 0%, 18.8%)
CIE-LABlab(53.25, 31.91, -46.09)
CIE-LCHlch(53.25, 56.05, 304.69°)
OKLaboklab(60.99% 0.0598 -0.1297)
OKLCHoklch(60.99% 0.143 294.8)
XYZxyz(27.4253, 21.2767, 61.6813)
Luminance0.2128 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A6FCF #B4CF6F
analogous
#6F84CF #8A6FCF #BA6FCF
triadic
#8A6FCF #CF8A6F #6FCF8A
tetradic
#8A6FCF #CF6F84 #B4CF6F #6FCFBA
square
#8A6FCF #CF6F84 #B4CF6F #6FCFBA
split-complementary
#8A6FCF #CFBA6F #84CF6F
monochromatic
#4C3193 #6541C0 #8A6FCF #AF9DDE #D5CBEE

Accessibility & contrast

On white

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

On black

5.26
#8A6FCF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8A6FCF
5.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A6FCF#FFFFFF#000000##000000
##8A6FCF1.004.005.265.26
#FFFFFF4.001.0021.0021.00
#0000005.2621.001.001.00
##0000005.2621.001.001.00

Color blindness preview

Protanopia (red-blind)
#4F80D2
Deuteranopia (green-blind)
#547ECD
Tritanopia (blue-blind)
#7A8195
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #8a6fcf;
/* rgb */ color: rgb(138, 111, 207);
/* oklch */ color: oklch(61.0% 0.143 294.8);
Tailwind
colors: {
  custom: {
    50: '#af99de',
    500: '#8a6fcf',
    950: '#000000',
  },
}
SCSS
$custom: #8a6fcf;
$custom-light: #af99de;
$custom-dark: #000000;
JSON
{
  "hex": "#8a6fcf",
  "rgb": {
    "r": 138,
    "g": 111,
    "b": 207
  },
  "hsl": {
    "h": 256.875,
    "s": 50,
    "l": 62.353
  },
  "oklch": {
    "l": 0.6099,
    "c": 0.14288,
    "h": 294.8
  },
  "luminance": 0.21277
}

Semantic roles & 50–950 ramp

primary
#8A6FCF
secondary
#D5DEBB
accent
#BD2893
background
#FBF9FD
surface
#F6F2FB
border
#D0CCD4
text
#110E15
muted
#807E83

Preview Lab

Preview with #8A6FCF

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

Preview Lab → · Contrast checker → · Palette generator →

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