#8A6CBF#8A6CBF

#8A6CBF is a mid, vivid violet. Relative luminance 0.199; OKLCH L 59.6% C 0.126 H 299.2°. Best body text is #000000 at 4.98:1 contrast (WCAG AA passes).

Color values

HEX#8A6CBF
RGBrgb(138, 108, 191)
HSLhsl(262, 39%, 59%)
HSVhsv(262, 43%, 75%)
CMYKcmyk(27.7%, 43.5%, 0%, 25.1%)
CIE-LABlab(51.71, 29.54, -39.37)
CIE-LCHlch(51.71, 49.22, 306.88°)
OKLaboklab(59.56% 0.0616 -0.1102)
OKLCHoklch(59.56% 0.126 299.2)
XYZxyz(25.2456, 19.8898, 51.7892)
Luminance0.1989 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A6CBF #A1BF6C
analogous
#6C77BF #8A6CBF #B36CBF
triadic
#8A6CBF #BF8A6C #6CBF8A
tetradic
#8A6CBF #BF6C77 #A1BF6C #6CBFB3
square
#8A6CBF #BF6C77 #A1BF6C #6CBFB3
split-complementary
#8A6CBF #BFB36C #77BF6C
monochromatic
#4F367B #6A48A6 #8A6CBF #AC97D2 #CEC1E4

Accessibility & contrast

On white

4.22
#8A6CBF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.98
#8A6CBF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8A6CBF
4.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A6CBF#FFFFFF#000000##000000
##8A6CBF1.004.224.984.98
#FFFFFF4.221.0021.0021.00
#0000004.9821.001.001.00
##0000004.9821.001.001.00

Color blindness preview

Protanopia (red-blind)
#557BC2
Deuteranopia (green-blind)
#5B7BBD
Tritanopia (blue-blind)
#807B8C
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #8a6cbf;
/* rgb */ color: rgb(138, 108, 191);
/* oklch */ color: oklch(59.6% 0.126 299.2);
Tailwind
colors: {
  custom: {
    50: '#ae96d2',
    500: '#8a6cbf',
    950: '#000000',
  },
}
SCSS
$custom: #8a6cbf;
$custom-light: #ae96d2;
$custom-dark: #000000;
JSON
{
  "hex": "#8a6cbf",
  "rgb": {
    "r": 138,
    "g": 108,
    "b": 191
  },
  "hsl": {
    "h": 261.687,
    "s": 39.336,
    "l": 58.627
  },
  "oklch": {
    "l": 0.59563,
    "c": 0.12623,
    "h": 299.2
  },
  "luminance": 0.1989
}

Semantic roles & 50–950 ramp

primary
#8A6CBF
secondary
#C8D4B3
accent
#CF59A4
background
#FAF9FC
surface
#F5F2F9
border
#CFCCD2
text
#100D14
muted
#7F7E82

Preview Lab

Preview with #8A6CBF

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

Preview Lab → · Contrast checker → · Palette generator →

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