#8A6CCF#8A6CCF

#8A6CCF is a mid, vivid violet. Relative luminance 0.206; OKLCH L 60.5% C 0.148 H 295.6°. Best body text is #000000 at 5.13:1 contrast (WCAG AA passes).

Color values

HEX#8A6CCF
RGBrgb(138, 108, 207)
HSLhsl(258, 51%, 62%)
HSVhsv(258, 48%, 81%)
CMYKcmyk(33.3%, 47.8%, 0%, 18.8%)
CIE-LABlab(52.55, 33.65, -47.21)
CIE-LCHlch(52.55, 57.97, 305.48°)
OKLaboklab(60.46% 0.0638 -0.133)
OKLCHoklch(60.46% 0.148 295.6)
XYZxyz(27.1035, 20.6330, 61.5740)
Luminance0.2063 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A6CCF #B1CF6C
analogous
#6C80CF #8A6CCF #BC6CCF
triadic
#8A6CCF #CF8A6C #6CCF8A
tetradic
#8A6CCF #CF6C80 #B1CF6C #6CCFBC
square
#8A6CCF #CF6C80 #B1CF6C #6CCFBC
split-complementary
#8A6CCF #CFBC6C #80CF6C
monochromatic
#4D2F91 #663EBF #8A6CCF #AF9ADE #D3C8ED

Accessibility & contrast

On white

4.10
#8A6CCF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.13
#8A6CCF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8A6CCF
5.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A6CCF#FFFFFF#000000##000000
##8A6CCF1.004.105.135.13
#FFFFFF4.101.0021.0021.00
#0000005.1321.001.001.00
##0000005.1321.001.001.00

Color blindness preview

Protanopia (red-blind)
#4A7ED3
Deuteranopia (green-blind)
#507CCD
Tritanopia (blue-blind)
#7A7F94
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #8a6ccf;
/* rgb */ color: rgb(138, 108, 207);
/* oklch */ color: oklch(60.5% 0.148 295.6);
Tailwind
colors: {
  custom: {
    50: '#af96de',
    500: '#8a6ccf',
    950: '#000000',
  },
}
SCSS
$custom: #8a6ccf;
$custom-light: #af96de;
$custom-dark: #000000;
JSON
{
  "hex": "#8a6ccf",
  "rgb": {
    "r": 138,
    "g": 108,
    "b": 207
  },
  "hsl": {
    "h": 258.182,
    "s": 50.769,
    "l": 61.765
  },
  "oklch": {
    "l": 0.60461,
    "c": 0.14755,
    "h": 295.6
  },
  "luminance": 0.20633
}

Semantic roles & 50–950 ramp

primary
#8A6CCF
secondary
#D3DEB9
accent
#BE2790
background
#FBF9FD
surface
#F6F2FB
border
#D0CCD4
text
#110D15
muted
#807E83

Preview Lab

Preview with #8A6CCF

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

Preview Lab → · Contrast checker → · Palette generator →

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