#8725A7#8725A7

#8725A7 is a mid, highly saturated purple. Relative luminance 0.093; OKLCH L 47.9% C 0.202 H 316.1°. Best body text is #FFFFFF at 7.36:1 contrast (WCAG AA passes).

Color values

HEX#8725A7
RGBrgb(135, 37, 167)
HSLhsl(285, 64%, 40%)
HSVhsv(285, 78%, 65%)
CMYKcmyk(19.2%, 77.8%, 0%, 34.5%)
CIE-LABlab(36.49, 58.89, -49.58)
CIE-LCHlch(36.49, 76.98, 319.90°)
OKLaboklab(47.88% 0.1451 -0.1398)
OKLCHoklch(47.88% 0.202 316.1)
XYZxyz(17.6272, 9.2648, 37.4115)
Luminance0.0926 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8725A7 #45A725
analogous
#4625A7 #8725A7 #A72586
triadic
#8725A7 #A78725 #25A787
tetradic
#8725A7 #A74625 #45A725 #2586A7
square
#8725A7 #A74625 #45A725 #2586A7
split-complementary
#8725A7 #86A725 #25A746
monochromatic
#360F43 #5F1A75 #8725A7 #AC37D3 #C169DE

Accessibility & contrast

On white

7.36
#8725A7 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.85
#8725A7 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8725A7
7.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8725A7#FFFFFF#000000##FFFFFF
##8725A71.007.362.857.36
#FFFFFF7.361.0021.001.00
#0000002.8521.001.0021.00
##FFFFFF7.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0050AB
Deuteranopia (green-blind)
#2358A4
Tritanopia (blue-blind)
#854265
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #8725a7;
/* rgb */ color: rgb(135, 37, 167);
/* oklch */ color: oklch(47.9% 0.202 316.1);
Tailwind
colors: {
  custom: {
    50: '#ae6bc2',
    500: '#8725a7',
    950: '#000000',
  },
}
SCSS
$custom: #8725a7;
$custom-light: #ae6bc2;
$custom-dark: #000000;
JSON
{
  "hex": "#8725a7",
  "rgb": {
    "r": 135,
    "g": 37,
    "b": 167
  },
  "hsl": {
    "h": 285.231,
    "s": 63.725,
    "l": 40
  },
  "oklch": {
    "l": 0.47881,
    "c": 0.2015,
    "h": 316.1
  },
  "luminance": 0.09264
}

Semantic roles & 50–950 ramp

primary
#8725A7
secondary
#7CC464
accent
#E7416A
background
#FBF6FC
surface
#F6ECF8
border
#D0C7D1
text
#110712
muted
#807A81

Preview Lab

Preview with #8725A7

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

Preview Lab → · Contrast checker → · Palette generator →

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