#8A72BA#8A72BA

#8A72BA is a mid, moderate violet. Relative luminance 0.210; OKLCH L 60.4% C 0.110 H 298.4°. Best body text is #000000 at 5.20:1 contrast (WCAG AA passes).

Color values

HEX#8A72BA
RGBrgb(138, 114, 186)
HSLhsl(260, 34%, 59%)
HSVhsv(260, 39%, 73%)
CMYKcmyk(25.8%, 38.7%, 0%, 27.1%)
CIE-LABlab(52.93, 24.77, -34.58)
CIE-LCHlch(52.93, 42.54, 305.61°)
OKLaboklab(60.41% 0.0521 -0.0963)
OKLCHoklch(60.41% 0.11 298.4)
XYZxyz(25.3594, 20.9829, 49.1589)
Luminance0.2098 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A72BA #A2BA72
analogous
#727EBA #8A72BA #AE72BA
triadic
#8A72BA #BA8A72 #72BA8A
tetradic
#8A72BA #BA727E #A2BA72 #72BAAE
square
#8A72BA #BA727E #A2BA72 #72BAAE
split-complementary
#8A72BA #BAAE72 #7EBA72
monochromatic
#4F3A77 #6A4EA0 #8A72BA #AC9BCE #CEC4E2

Accessibility & contrast

On white

4.04
#8A72BA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.20
#8A72BA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8A72BA
5.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A72BA#FFFFFF#000000##000000
##8A72BA1.004.045.205.20
#FFFFFF4.041.0021.0021.00
#0000005.2021.001.001.00
##0000005.2021.001.001.00

Color blindness preview

Protanopia (red-blind)
#5F7EBD
Deuteranopia (green-blind)
#647EB8
Tritanopia (blue-blind)
#817E8D
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #8a72ba;
/* rgb */ color: rgb(138, 114, 186);
/* oklch */ color: oklch(60.4% 0.110 298.4);
Tailwind
colors: {
  custom: {
    50: '#ad9acf',
    500: '#8a72ba',
    950: '#000000',
  },
}
SCSS
$custom: #8a72ba;
$custom-light: #ad9acf;
$custom-dark: #000000;
JSON
{
  "hex": "#8a72ba",
  "rgb": {
    "r": 138,
    "g": 114,
    "b": 186
  },
  "hsl": {
    "h": 260,
    "s": 34.286,
    "l": 58.824
  },
  "oklch": {
    "l": 0.60406,
    "c": 0.10951,
    "h": 298.4
  },
  "luminance": 0.20983
}

Semantic roles & 50–950 ramp

primary
#8A72BA
secondary
#C9D2B6
accent
#CA5DA6
background
#FAF9FC
surface
#F4F2F9
border
#CECCD2
text
#100E14
muted
#7F7E82

Preview Lab

Preview with #8A72BA

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

Preview Lab → · Contrast checker → · Palette generator →

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