#8A72BE#8A72BE

#8A72BE is a mid, moderate violet. Relative luminance 0.212; OKLCH L 60.6% C 0.115 H 297.4°. Best body text is #000000 at 5.23:1 contrast (WCAG AA passes).

Color values

HEX#8A72BE
RGBrgb(138, 114, 190)
HSLhsl(259, 37%, 60%)
HSVhsv(259, 40%, 75%)
CMYKcmyk(27.4%, 40%, 0%, 25.5%)
CIE-LABlab(53.12, 25.77, -36.59)
CIE-LCHlch(53.12, 44.75, 305.16°)
OKLaboklab(60.61% 0.0529 -0.1021)
OKLCHoklch(60.61% 0.115 297.4)
XYZxyz(25.7906, 21.1554, 51.4298)
Luminance0.2116 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A72BE #A6BE72
analogous
#7280BE #8A72BE #B072BE
triadic
#8A72BE #BE8A72 #72BE8A
tetradic
#8A72BE #BE7280 #A6BE72 #72BEB0
square
#8A72BE #BE7280 #A6BE72 #72BEB0
split-complementary
#8A72BE #BEB072 #80BE72
monochromatic
#4E397C #694DA6 #8A72BE #AD9CD1 #D0C6E5

Accessibility & contrast

On white

4.01
#8A72BE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.23
#8A72BE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8A72BE
5.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A72BE#FFFFFF#000000##000000
##8A72BE1.004.015.235.23
#FFFFFF4.011.0021.0021.00
#0000005.2321.001.001.00
##0000005.2321.001.001.00

Color blindness preview

Protanopia (red-blind)
#5D7FC1
Deuteranopia (green-blind)
#617EBC
Tritanopia (blue-blind)
#807F8F
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #8a72be;
/* rgb */ color: rgb(138, 114, 190);
/* oklch */ color: oklch(60.6% 0.115 297.4);
Tailwind
colors: {
  custom: {
    50: '#ae9bd2',
    500: '#8a72be',
    950: '#000000',
  },
}
SCSS
$custom: #8a72be;
$custom-light: #ae9bd2;
$custom-dark: #000000;
JSON
{
  "hex": "#8a72be",
  "rgb": {
    "r": 138,
    "g": 114,
    "b": 190
  },
  "hsl": {
    "h": 258.947,
    "s": 36.893,
    "l": 59.608
  },
  "oklch": {
    "l": 0.60611,
    "c": 0.11501,
    "h": 297.4
  },
  "luminance": 0.21156
}

Semantic roles & 50–950 ramp

primary
#8A72BE
secondary
#CBD5B7
accent
#CD5BA9
background
#FAF9FC
surface
#F4F2F9
border
#CECCD2
text
#100E14
muted
#7F7E82

Preview Lab

Preview with #8A72BE

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

Preview Lab → · Contrast checker → · Palette generator →

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