#8A72B7#8A72B7

#8A72B7 is a mid, moderate violet. Relative luminance 0.209; OKLCH L 60.3% C 0.105 H 299.2°. Best body text is #000000 at 5.17:1 contrast (WCAG AA passes).

Color values

HEX#8A72B7
RGBrgb(138, 114, 183)
HSLhsl(261, 32%, 58%)
HSVhsv(261, 38%, 72%)
CMYKcmyk(24.6%, 37.7%, 0%, 28.2%)
CIE-LABlab(52.79, 24.03, -33.07)
CIE-LCHlch(52.79, 40.88, 306.00°)
OKLaboklab(60.26% 0.0515 -0.092)
OKLCHoklch(60.26% 0.105 299.2)
XYZxyz(25.0439, 20.8567, 47.4969)
Luminance0.2086 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A72B7 #9FB772
analogous
#727CB7 #8A72B7 #AC72B7
triadic
#8A72B7 #B78A72 #72B78A
tetradic
#8A72B7 #B7727C #9FB772 #72B7AC
square
#8A72B7 #B7727C #9FB772 #72B7AC
split-complementary
#8A72B7 #B7AC72 #7CB772
monochromatic
#4F3B74 #6A509C #8A72B7 #AC9BCC #CDC3E0

Accessibility & contrast

On white

4.06
#8A72B7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.17
#8A72B7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8A72B7
5.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A72B7#FFFFFF#000000##000000
##8A72B71.004.065.175.17
#FFFFFF4.061.0021.0021.00
#0000005.1721.001.001.00
##0000005.1721.001.001.00

Color blindness preview

Protanopia (red-blind)
#617EBA
Deuteranopia (green-blind)
#657DB5
Tritanopia (blue-blind)
#827D8C
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #8a72b7;
/* rgb */ color: rgb(138, 114, 183);
/* oklch */ color: oklch(60.3% 0.105 299.2);
Tailwind
colors: {
  custom: {
    50: '#ad9acd',
    500: '#8a72b7',
    950: '#000000',
  },
}
SCSS
$custom: #8a72b7;
$custom-light: #ad9acd;
$custom-dark: #000000;
JSON
{
  "hex": "#8a72b7",
  "rgb": {
    "r": 138,
    "g": 114,
    "b": 183
  },
  "hsl": {
    "h": 260.87,
    "s": 32.394,
    "l": 58.235
  },
  "oklch": {
    "l": 0.60256,
    "c": 0.10538,
    "h": 299.2
  },
  "luminance": 0.20857
}

Semantic roles & 50–950 ramp

primary
#8A72B7
secondary
#C7D0B5
accent
#C95FA4
background
#FAF9FC
surface
#F4F2F9
border
#CECCD2
text
#100E13
muted
#7F7E82

Preview Lab

Preview with #8A72B7

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

Preview Lab → · Contrast checker → · Palette generator →

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