#8725A2#8725A2

#8725A2 is a mid, vivid purple. Relative luminance 0.091; OKLCH L 47.5% C 0.197 H 317.7°. Best body text is #FFFFFF at 7.46:1 contrast (WCAG AA passes).

Color values

HEX#8725A2
RGBrgb(135, 37, 162)
HSLhsl(287, 63%, 39%)
HSVhsv(287, 77%, 64%)
CMYKcmyk(16.7%, 77.2%, 0%, 36.5%)
CIE-LABlab(36.14, 57.91, -47.13)
CIE-LCHlch(36.14, 74.67, 320.86°)
OKLaboklab(47.53% 0.1459 -0.1326)
OKLCHoklch(47.53% 0.197 317.7)
XYZxyz(17.1739, 9.0834, 35.0241)
Luminance0.0908 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8725A2 #40A225
analogous
#4925A2 #8725A2 #A2257F
triadic
#8725A2 #A28725 #25A287
tetradic
#8725A2 #A24925 #40A225 #257FA2
square
#8725A2 #A24925 #40A225 #257FA2
split-complementary
#8725A2 #7FA225 #25A249
monochromatic
#340E3E #5D1A70 #8725A2 #AF34D1 #C265DC

Accessibility & contrast

On white

7.46
#8725A2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.82
#8725A2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8725A2
7.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8725A2#FFFFFF#000000##FFFFFF
##8725A21.007.462.827.46
#FFFFFF7.461.0021.001.00
#0000002.8221.001.0021.00
##FFFFFF7.461.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004FA5
Deuteranopia (green-blind)
#29589F
Tritanopia (blue-blind)
#864063
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #8725a2;
/* rgb */ color: rgb(135, 37, 162);
/* oklch */ color: oklch(47.5% 0.197 317.7);
Tailwind
colors: {
  custom: {
    50: '#ae6bbe',
    500: '#8725a2',
    950: '#000000',
  },
}
SCSS
$custom: #8725a2;
$custom-light: #ae6bbe;
$custom-dark: #000000;
JSON
{
  "hex": "#8725a2",
  "rgb": {
    "r": 135,
    "g": 37,
    "b": 162
  },
  "hsl": {
    "h": 287.04,
    "s": 62.814,
    "l": 39.02
  },
  "oklch": {
    "l": 0.47528,
    "c": 0.19712,
    "h": 317.7
  },
  "luminance": 0.09083
}

Semantic roles & 50–950 ramp

primary
#8725A2
secondary
#76C261
accent
#E64265
background
#FBF6FB
surface
#F6ECF7
border
#D0C7D0
text
#110712
muted
#807A81

Preview Lab

Preview with #8725A2

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

Preview Lab → · Contrast checker → · Palette generator →

#8725A2 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva