#8A6FB5#8A6FB5

#8A6FB5 is a mid, moderate violet. Relative luminance 0.201; OKLCH L 59.6% C 0.108 H 301.0°. Best body text is #000000 at 5.02:1 contrast (WCAG AA passes).

Color values

HEX#8A6FB5
RGBrgb(138, 111, 181)
HSLhsl(263, 32%, 57%)
HSVhsv(263, 39%, 71%)
CMYKcmyk(23.8%, 38.7%, 0%, 29%)
CIE-LABlab(51.96, 25.30, -33.22)
CIE-LCHlch(51.96, 41.76, 307.29°)
OKLaboklab(59.59% 0.0554 -0.0924)
OKLCHoklch(59.59% 0.108 301)
XYZxyz(24.5043, 20.1083, 46.2974)
Luminance0.2011 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A6FB5 #9AB56F
analogous
#6F77B5 #8A6FB5 #AD6FB5
triadic
#8A6FB5 #B58A6F #6FB58A
tetradic
#8A6FB5 #B56F77 #9AB56F #6FB5AD
square
#8A6FB5 #B56F77 #9AB56F #6FB5AD
split-complementary
#8A6FB5 #B5AD6F #77B56F
monochromatic
#4F3A70 #6B4E98 #8A6FB5 #AB97CA #CCC0DF

Accessibility & contrast

On white

4.18
#8A6FB5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.02
#8A6FB5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8A6FB5
5.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A6FB5#FFFFFF#000000##000000
##8A6FB51.004.185.025.02
#FFFFFF4.181.0021.0021.00
#0000005.0221.001.001.00
##0000005.0221.001.001.00

Color blindness preview

Protanopia (red-blind)
#5E7CB8
Deuteranopia (green-blind)
#637CB3
Tritanopia (blue-blind)
#827A89
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #8a6fb5;
/* rgb */ color: rgb(138, 111, 181);
/* oklch */ color: oklch(59.6% 0.108 301.0);
Tailwind
colors: {
  custom: {
    50: '#ad98cb',
    500: '#8a6fb5',
    950: '#000000',
  },
}
SCSS
$custom: #8a6fb5;
$custom-light: #ad98cb;
$custom-dark: #000000;
JSON
{
  "hex": "#8a6fb5",
  "rgb": {
    "r": 138,
    "g": 111,
    "b": 181
  },
  "hsl": {
    "h": 263.143,
    "s": 32.11,
    "l": 57.255
  },
  "oklch": {
    "l": 0.59593,
    "c": 0.10772,
    "h": 301
  },
  "luminance": 0.20108
}

Semantic roles & 50–950 ramp

primary
#8A6FB5
secondary
#C3CEB2
accent
#C860A0
background
#FAF9FC
surface
#F4F2F8
border
#CECCD1
text
#100D13
muted
#7F7E82

Preview Lab

Preview with #8A6FB5

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

Preview Lab → · Contrast checker → · Palette generator →

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