#8A6BBD#8A6BBD

#8A6BBD is a mid, vivid violet. Relative luminance 0.196; OKLCH L 59.3% C 0.125 H 300.0°. Best body text is #000000 at 4.92:1 contrast (WCAG AA passes).

Color values

HEX#8A6BBD
RGBrgb(138, 107, 189)
HSLhsl(263, 38%, 58%)
HSVhsv(263, 43%, 74%)
CMYKcmyk(27%, 43.4%, 0%, 25.9%)
CIE-LABlab(51.37, 29.62, -38.76)
CIE-LCHlch(51.37, 48.78, 307.39°)
OKLaboklab(59.28% 0.0627 -0.1084)
OKLCHoklch(59.28% 0.125 300)
XYZxyz(24.9221, 19.5927, 50.6030)
Luminance0.1959 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A6BBD #9EBD6B
analogous
#6B75BD #8A6BBD #B36BBD
triadic
#8A6BBD #BD8A6B #6BBD8A
tetradic
#8A6BBD #BD6B75 #9EBD6B #6BBDB3
square
#8A6BBD #BD6B75 #9EBD6B #6BBDB3
split-complementary
#8A6BBD #BDB36B #75BD6B
monochromatic
#4F3678 #6A48A2 #8A6BBD #AB95D0 #CDC0E3

Accessibility & contrast

On white

4.27
#8A6BBD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.92
#8A6BBD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8A6BBD
4.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A6BBD#FFFFFF#000000##000000
##8A6BBD1.004.274.924.92
#FFFFFF4.271.0021.0021.00
#0000004.9221.001.001.00
##0000004.9221.001.001.00

Color blindness preview

Protanopia (red-blind)
#547AC0
Deuteranopia (green-blind)
#5B7ABB
Tritanopia (blue-blind)
#80798B
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #8a6bbd;
/* rgb */ color: rgb(138, 107, 189);
/* oklch */ color: oklch(59.3% 0.125 300.0);
Tailwind
colors: {
  custom: {
    50: '#ae96d1',
    500: '#8a6bbd',
    950: '#000000',
  },
}
SCSS
$custom: #8a6bbd;
$custom-light: #ae96d1;
$custom-dark: #000000;
JSON
{
  "hex": "#8a6bbd",
  "rgb": {
    "r": 138,
    "g": 107,
    "b": 189
  },
  "hsl": {
    "h": 262.683,
    "s": 38.318,
    "l": 58.039
  },
  "oklch": {
    "l": 0.59275,
    "c": 0.12521,
    "h": 300
  },
  "luminance": 0.19593
}

Semantic roles & 50–950 ramp

primary
#8A6BBD
secondary
#C6D2B2
accent
#CE5AA2
background
#FAF9FC
surface
#F5F2F9
border
#CFCCD2
text
#100D14
muted
#7F7E82

Preview Lab

Preview with #8A6BBD

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

Preview Lab → · Contrast checker → · Palette generator →

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