#8B72B2#8B72B2

#8B72B2 is a mid, moderate violet. Relative luminance 0.207; OKLCH L 60.1% C 0.099 H 301.5°. Best body text is #000000 at 5.15:1 contrast (WCAG AA passes).

Color values

HEX#8B72B2
RGBrgb(139, 114, 178)
HSLhsl(263, 29%, 57%)
HSVhsv(263, 36%, 70%)
CMYKcmyk(21.9%, 36%, 0%, 30.2%)
CIE-LABlab(52.66, 23.11, -30.39)
CIE-LCHlch(52.66, 38.18, 307.26°)
OKLaboklab(60.11% 0.0515 -0.0842)
OKLCHoklch(60.11% 0.099 301.5)
XYZxyz(24.6989, 20.7379, 44.8125)
Luminance0.2074 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8B72B2 #99B272
analogous
#7279B2 #8B72B2 #AB72B2
triadic
#8B72B2 #B28B72 #72B28B
tetradic
#8B72B2 #B27279 #99B272 #72B2AB
square
#8B72B2 #B27279 #99B272 #72B2AB
split-complementary
#8B72B2 #B2AB72 #79B272
monochromatic
#4F3C6E #6C5295 #8B72B2 #AC9AC8 #CCC1DD

Accessibility & contrast

On white

4.08
#8B72B2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.15
#8B72B2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8B72B2
5.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8B72B2#FFFFFF#000000##000000
##8B72B21.004.085.155.15
#FFFFFF4.081.0021.0021.00
#0000005.1521.001.001.00
##0000005.1521.001.001.00

Color blindness preview

Protanopia (red-blind)
#637DB5
Deuteranopia (green-blind)
#687DB0
Tritanopia (blue-blind)
#847C8A
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #8b72b2;
/* rgb */ color: rgb(139, 114, 178);
/* oklch */ color: oklch(60.1% 0.099 301.5);
Tailwind
colors: {
  custom: {
    50: '#ae9ac9',
    500: '#8b72b2',
    950: '#000000',
  },
}
SCSS
$custom: #8b72b2;
$custom-light: #ae9ac9;
$custom-dark: #000000;
JSON
{
  "hex": "#8b72b2",
  "rgb": {
    "r": 139,
    "g": 114,
    "b": 178
  },
  "hsl": {
    "h": 263.438,
    "s": 29.358,
    "l": 57.255
  },
  "oklch": {
    "l": 0.60105,
    "c": 0.09872,
    "h": 301.5
  },
  "luminance": 0.20738
}

Semantic roles & 50–950 ramp

primary
#8B72B2
secondary
#C3CDB3
accent
#C6629F
background
#FAF9FC
surface
#F4F2F8
border
#CECCD1
text
#100E13
muted
#7F7E82

Preview Lab

Preview with #8B72B2

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

Preview Lab → · Contrast checker → · Palette generator →

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