#8A72BB#8A72BB

#8A72BB is a mid, moderate violet. Relative luminance 0.210; OKLCH L 60.5% C 0.111 H 298.2°. Best body text is #000000 at 5.21:1 contrast (WCAG AA passes).

Color values

HEX#8A72BB
RGBrgb(138, 114, 187)
HSLhsl(260, 35%, 59%)
HSVhsv(260, 39%, 73%)
CMYKcmyk(26.2%, 39%, 0%, 26.7%)
CIE-LABlab(52.98, 25.02, -35.09)
CIE-LCHlch(52.98, 43.09, 305.49°)
OKLaboklab(60.46% 0.0523 -0.0978)
OKLCHoklch(60.46% 0.111 298.2)
XYZxyz(25.4661, 21.0256, 49.7208)
Luminance0.2103 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A72BB #A3BB72
analogous
#727FBB #8A72BB #AF72BB
triadic
#8A72BB #BB8A72 #72BB8A
tetradic
#8A72BB #BB727F #A3BB72 #72BBAF
square
#8A72BB #BB727F #A3BB72 #72BBAF
split-complementary
#8A72BB #BBAF72 #7FBB72
monochromatic
#4F3A78 #6A4EA2 #8A72BB #AC9BCF #CFC5E3

Accessibility & contrast

On white

4.03
#8A72BB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.21
#8A72BB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8A72BB
5.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A72BB#FFFFFF#000000##000000
##8A72BB1.004.035.215.21
#FFFFFF4.031.0021.0021.00
#0000005.2121.001.001.00
##0000005.2121.001.001.00

Color blindness preview

Protanopia (red-blind)
#5F7FBE
Deuteranopia (green-blind)
#637EB9
Tritanopia (blue-blind)
#807E8E
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #8a72bb;
/* rgb */ color: rgb(138, 114, 187);
/* oklch */ color: oklch(60.5% 0.111 298.2);
Tailwind
colors: {
  custom: {
    50: '#ad9ad0',
    500: '#8a72bb',
    950: '#000000',
  },
}
SCSS
$custom: #8a72bb;
$custom-light: #ad9ad0;
$custom-dark: #000000;
JSON
{
  "hex": "#8a72bb",
  "rgb": {
    "r": 138,
    "g": 114,
    "b": 187
  },
  "hsl": {
    "h": 259.726,
    "s": 34.928,
    "l": 59.02
  },
  "oklch": {
    "l": 0.60457,
    "c": 0.11089,
    "h": 298.2
  },
  "luminance": 0.21026
}

Semantic roles & 50–950 ramp

primary
#8A72BB
secondary
#C9D3B6
accent
#CB5DA7
background
#FAF9FC
surface
#F4F2F9
border
#CECCD2
text
#100E14
muted
#7F7E82

Preview Lab

Preview with #8A72BB

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

Preview Lab → · Contrast checker → · Palette generator →

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