#8A6FD3#8A6FD3

#8A6FD3 is a mid, vivid violet. Relative luminance 0.215; OKLCH L 61.2% C 0.148 H 294.0°. Best body text is #000000 at 5.29:1 contrast (WCAG AA passes).

Color values

HEX#8A6FD3
RGBrgb(138, 111, 211)
HSLhsl(256, 53%, 63%)
HSVhsv(256, 47%, 83%)
CMYKcmyk(34.6%, 47.4%, 0%, 17.3%)
CIE-LABlab(53.47, 32.96, -48.02)
CIE-LCHlch(53.47, 58.24, 304.46°)
OKLaboklab(61.22% 0.0603 -0.1354)
OKLCHoklch(61.22% 0.148 294)
XYZxyz(27.9205, 21.4748, 64.2894)
Luminance0.2147 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A6FD3 #B8D36F
analogous
#6F86D3 #8A6FD3 #BC6FD3
triadic
#8A6FD3 #D38A6F #6FD38A
tetradic
#8A6FD3 #D36F86 #B8D36F #6FD3BC
square
#8A6FD3 #D36F86 #B8D36F #6FD3BC
split-complementary
#8A6FD3 #D3BC6F #86D36F
monochromatic
#4B2F99 #6440C5 #8A6FD3 #B09EE1 #D6CDF0

Accessibility & contrast

On white

3.97
#8A6FD3 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.29
#8A6FD3 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8A6FD3
5.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A6FD3#FFFFFF#000000##000000
##8A6FD31.003.975.295.29
#FFFFFF3.971.0021.0021.00
#0000005.2921.001.001.00
##0000005.2921.001.001.00

Color blindness preview

Protanopia (red-blind)
#4C81D7
Deuteranopia (green-blind)
#517ED1
Tritanopia (blue-blind)
#798297
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #8a6fd3;
/* rgb */ color: rgb(138, 111, 211);
/* oklch */ color: oklch(61.2% 0.148 294.0);
Tailwind
colors: {
  custom: {
    50: '#af99e1',
    500: '#8a6fd3',
    950: '#000000',
  },
}
SCSS
$custom: #8a6fd3;
$custom-light: #af99e1;
$custom-dark: #000000;
JSON
{
  "hex": "#8a6fd3",
  "rgb": {
    "r": 138,
    "g": 111,
    "b": 211
  },
  "hsl": {
    "h": 256.2,
    "s": 53.191,
    "l": 63.137
  },
  "oklch": {
    "l": 0.6122,
    "c": 0.14822,
    "h": 294
  },
  "luminance": 0.21475
}

Semantic roles & 50–950 ramp

primary
#8A6FD3
secondary
#D7E1BD
accent
#C12597
background
#FBF9FD
surface
#F6F2FB
border
#D0CCD4
text
#110E15
muted
#807E83

Preview Lab

Preview with #8A6FD3

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

Preview Lab → · Contrast checker → · Palette generator →

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