#8729B2#8729B2

#8729B2 is a mid, highly saturated purple. Relative luminance 0.100; OKLCH L 49.0% C 0.207 H 312.4°. Best body text is #FFFFFF at 7.02:1 contrast (WCAG AA passes).

Color values

HEX#8729B2
RGBrgb(135, 41, 178)
HSLhsl(281, 63%, 43%)
HSVhsv(281, 77%, 70%)
CMYKcmyk(24.2%, 77%, 0%, 30.2%)
CIE-LABlab(37.76, 59.72, -54.10)
CIE-LCHlch(37.76, 80.58, 317.83°)
OKLaboklab(49.02% 0.1398 -0.1531)
OKLCHoklch(49.02% 0.207 312.4)
XYZxyz(18.8190, 9.9517, 43.0404)
Luminance0.0995 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8729B2 #54B229
analogous
#4329B2 #8729B2 #B22998
triadic
#8729B2 #B28729 #29B287
tetradic
#8729B2 #B24329 #54B229 #2998B2
square
#8729B2 #B24329 #54B229 #2998B2
split-complementary
#8729B2 #98B229 #29B243
monochromatic
#3C124F #611E80 #8729B2 #A744D4 #BE76DF

Accessibility & contrast

On white

7.02
#8729B2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.99
#8729B2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8729B2
7.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8729B2#FFFFFF#000000##FFFFFF
##8729B21.007.022.997.02
#FFFFFF7.021.0021.001.00
#0000002.9921.001.0021.00
##FFFFFF7.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0054B6
Deuteranopia (green-blind)
#135BAF
Tritanopia (blue-blind)
#82496D
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #8729b2;
/* rgb */ color: rgb(135, 41, 178);
/* oklch */ color: oklch(49.0% 0.207 312.4);
Tailwind
colors: {
  custom: {
    50: '#af6dca',
    500: '#8729b2',
    950: '#000000',
  },
}
SCSS
$custom: #8729b2;
$custom-light: #af6dca;
$custom-dark: #000000;
JSON
{
  "hex": "#8729b2",
  "rgb": {
    "r": 135,
    "g": 41,
    "b": 178
  },
  "hsl": {
    "h": 281.168,
    "s": 62.557,
    "l": 42.941
  },
  "oklch": {
    "l": 0.49021,
    "c": 0.2073,
    "h": 312.4
  },
  "luminance": 0.09951
}

Semantic roles & 50–950 ramp

primary
#8729B2
secondary
#8BC770
accent
#E64275
background
#FBF6FC
surface
#F6ECF8
border
#D0C7D1
text
#110813
muted
#807B82

Preview Lab

Preview with #8729B2

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

Preview Lab → · Contrast checker → · Palette generator →

#8729B2 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva