#8A6BCA#8A6BCA

#8A6BCA is a mid, vivid violet. Relative luminance 0.202; OKLCH L 60.0% C 0.142 H 296.9°. Best body text is #000000 at 5.04:1 contrast (WCAG AA passes).

Color values

HEX#8A6BCA
RGBrgb(138, 107, 202)
HSLhsl(260, 47%, 61%)
HSVhsv(260, 47%, 79%)
CMYKcmyk(31.7%, 47%, 0%, 20.8%)
CIE-LABlab(52.04, 32.93, -45.16)
CIE-LCHlch(52.04, 55.89, 306.10°)
OKLaboklab(60% 0.0646 -0.127)
OKLCHoklch(60% 0.143 296.9)
XYZxyz(26.3970, 20.1826, 58.3706)
Luminance0.2018 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A6BCA #ABCA6B
analogous
#6B7BCA #8A6BCA #B96BCA
triadic
#8A6BCA #CA8A6B #6BCA8A
tetradic
#8A6BCA #CA6B7B #ABCA6B #6BCAB9
square
#8A6BCA #CA6B7B #ABCA6B #6BCAB9
split-complementary
#8A6BCA #CAB96B #7BCA6B
monochromatic
#4E3189 #6841B6 #8A6BCA #AE98DA #D1C5EA

Accessibility & contrast

On white

4.17
#8A6BCA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.04
#8A6BCA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8A6BCA
5.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A6BCA#FFFFFF#000000##000000
##8A6BCA1.004.175.045.04
#FFFFFF4.171.0021.0021.00
#0000005.0421.001.001.00
##0000005.0421.001.001.00

Color blindness preview

Protanopia (red-blind)
#4C7CCD
Deuteranopia (green-blind)
#527BC8
Tritanopia (blue-blind)
#7C7D91
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #8a6bca;
/* rgb */ color: rgb(138, 107, 202);
/* oklch */ color: oklch(60.0% 0.142 296.9);
Tailwind
colors: {
  custom: {
    50: '#af96da',
    500: '#8a6bca',
    950: '#000000',
  },
}
SCSS
$custom: #8a6bca;
$custom-light: #af96da;
$custom-dark: #000000;
JSON
{
  "hex": "#8a6bca",
  "rgb": {
    "r": 138,
    "g": 107,
    "b": 202
  },
  "hsl": {
    "h": 259.579,
    "s": 47.264,
    "l": 60.588
  },
  "oklch": {
    "l": 0.59997,
    "c": 0.1425,
    "h": 296.9
  },
  "luminance": 0.20183
}

Semantic roles & 50–950 ramp

primary
#8A6BCA
secondary
#CFDAB6
accent
#BB2B8C
background
#FBF9FD
surface
#F6F2FB
border
#D0CCD4
text
#110D15
muted
#807E83

Preview Lab

Preview with #8A6BCA

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

Preview Lab → · Contrast checker → · Palette generator →

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