#8A72BD#8A72BD

#8A72BD is a mid, moderate violet. Relative luminance 0.211; OKLCH L 60.6% C 0.114 H 297.6°. Best body text is #000000 at 5.22:1 contrast (WCAG AA passes).

Color values

HEX#8A72BD
RGBrgb(138, 114, 189)
HSLhsl(259, 36%, 59%)
HSVhsv(259, 40%, 74%)
CMYKcmyk(27%, 39.7%, 0%, 25.9%)
CIE-LABlab(53.07, 25.52, -36.09)
CIE-LCHlch(53.07, 44.20, 305.27°)
OKLaboklab(60.56% 0.0527 -0.1007)
OKLCHoklch(60.56% 0.114 297.6)
XYZxyz(25.6817, 21.1118, 50.8562)
Luminance0.2111 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A72BD #A5BD72
analogous
#7280BD #8A72BD #B072BD
triadic
#8A72BD #BD8A72 #72BD8A
tetradic
#8A72BD #BD7280 #A5BD72 #72BDB0
square
#8A72BD #BD7280 #A5BD72 #72BDB0
split-complementary
#8A72BD #BDB072 #80BD72
monochromatic
#4F3A7B #694DA5 #8A72BD #AD9CD1 #CFC5E4

Accessibility & contrast

On white

4.02
#8A72BD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.22
#8A72BD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8A72BD
5.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A72BD#FFFFFF#000000##000000
##8A72BD1.004.025.225.22
#FFFFFF4.021.0021.0021.00
#0000005.2221.001.001.00
##0000005.2221.001.001.00

Color blindness preview

Protanopia (red-blind)
#5E7FC0
Deuteranopia (green-blind)
#627EBB
Tritanopia (blue-blind)
#807F8E
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #8a72bd;
/* rgb */ color: rgb(138, 114, 189);
/* oklch */ color: oklch(60.6% 0.114 297.6);
Tailwind
colors: {
  custom: {
    50: '#ae9ad1',
    500: '#8a72bd',
    950: '#000000',
  },
}
SCSS
$custom: #8a72bd;
$custom-light: #ae9ad1;
$custom-dark: #000000;
JSON
{
  "hex": "#8a72bd",
  "rgb": {
    "r": 138,
    "g": 114,
    "b": 189
  },
  "hsl": {
    "h": 259.2,
    "s": 36.232,
    "l": 59.412
  },
  "oklch": {
    "l": 0.6056,
    "c": 0.11363,
    "h": 297.6
  },
  "luminance": 0.21112
}

Semantic roles & 50–950 ramp

primary
#8A72BD
secondary
#CBD4B7
accent
#CC5CA8
background
#FAF9FC
surface
#F4F2F9
border
#CECCD2
text
#100E14
muted
#7F7E82

Preview Lab

Preview with #8A72BD

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

Preview Lab → · Contrast checker → · Palette generator →

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