#8A6BCF#8A6BCF

#8A6BCF is a mid, vivid violet. Relative luminance 0.204; OKLCH L 60.3% C 0.149 H 295.9°. Best body text is #000000 at 5.08:1 contrast (WCAG AA passes).

Color values

HEX#8A6BCF
RGBrgb(138, 107, 207)
HSLhsl(259, 51%, 62%)
HSVhsv(259, 48%, 81%)
CMYKcmyk(33.3%, 48.3%, 0%, 18.8%)
CIE-LABlab(52.31, 34.23, -47.58)
CIE-LCHlch(52.31, 58.61, 305.73°)
OKLaboklab(60.29% 0.0652 -0.1341)
OKLCHoklch(60.29% 0.149 295.9)
XYZxyz(26.9986, 20.4232, 61.5390)
Luminance0.2042 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A6BCF #B0CF6B
analogous
#6B7ECF #8A6BCF #BC6BCF
triadic
#8A6BCF #CF8A6B #6BCF8A
tetradic
#8A6BCF #CF6B7E #B0CF6B #6BCFBC
square
#8A6BCF #CF6B7E #B0CF6B #6BCFBC
split-complementary
#8A6BCF #CFBC6B #7ECF6B
monochromatic
#4D2F91 #663EBF #8A6BCF #AF99DE #D3C7ED

Accessibility & contrast

On white

4.13
#8A6BCF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.08
#8A6BCF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8A6BCF
5.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A6BCF#FFFFFF#000000##000000
##8A6BCF1.004.135.085.08
#FFFFFF4.131.0021.0021.00
#0000005.0821.001.001.00
##0000005.0821.001.001.00

Color blindness preview

Protanopia (red-blind)
#487DD3
Deuteranopia (green-blind)
#4F7BCD
Tritanopia (blue-blind)
#7A7E93
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #8a6bcf;
/* rgb */ color: rgb(138, 107, 207);
/* oklch */ color: oklch(60.3% 0.149 295.9);
Tailwind
colors: {
  custom: {
    50: '#af96de',
    500: '#8a6bcf',
    950: '#000000',
  },
}
SCSS
$custom: #8a6bcf;
$custom-light: #af96de;
$custom-dark: #000000;
JSON
{
  "hex": "#8a6bcf",
  "rgb": {
    "r": 138,
    "g": 107,
    "b": 207
  },
  "hsl": {
    "h": 258.6,
    "s": 51.02,
    "l": 61.569
  },
  "oklch": {
    "l": 0.60286,
    "c": 0.1491,
    "h": 295.9
  },
  "luminance": 0.20424
}

Semantic roles & 50–950 ramp

primary
#8A6BCF
secondary
#D2DEB8
accent
#BE278F
background
#FBF9FD
surface
#F6F2FB
border
#D0CCD4
text
#110D15
muted
#807E83

Preview Lab

Preview with #8A6BCF

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

Preview Lab → · Contrast checker → · Palette generator →

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