#8725A8#8725A8

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

Color values

HEX#8725A8
RGBrgb(135, 37, 168)
HSLhsl(285, 64%, 40%)
HSVhsv(285, 78%, 66%)
CMYKcmyk(19.6%, 78%, 0%, 34.1%)
CIE-LABlab(36.56, 59.09, -50.07)
CIE-LCHlch(36.56, 77.45, 319.72°)
OKLaboklab(47.95% 0.145 -0.1412)
OKLCHoklch(47.95% 0.202 315.7)
XYZxyz(17.7200, 9.3019, 37.9002)
Luminance0.0930 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8725A8 #46A825
analogous
#4525A8 #8725A8 #A82588
triadic
#8725A8 #A88725 #25A887
tetradic
#8725A8 #A84525 #46A825 #2588A8
square
#8725A8 #A84525 #46A825 #2588A8
split-complementary
#8725A8 #88A825 #25A845
monochromatic
#360F44 #5F1A76 #8725A8 #AC37D3 #C169DE

Accessibility & contrast

On white

7.34
#8725A8 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.86
#8725A8 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8725A8
7.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8725A8#FFFFFF#000000##FFFFFF
##8725A81.007.342.867.34
#FFFFFF7.341.0021.001.00
#0000002.8621.001.0021.00
##FFFFFF7.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0050AC
Deuteranopia (green-blind)
#2259A5
Tritanopia (blue-blind)
#854366
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #8725a8;
/* rgb */ color: rgb(135, 37, 168);
/* oklch */ color: oklch(48.0% 0.202 315.7);
Tailwind
colors: {
  custom: {
    50: '#ae6bc3',
    500: '#8725a8',
    950: '#000000',
  },
}
SCSS
$custom: #8725a8;
$custom-light: #ae6bc3;
$custom-dark: #000000;
JSON
{
  "hex": "#8725a8",
  "rgb": {
    "r": 135,
    "g": 37,
    "b": 168
  },
  "hsl": {
    "h": 284.885,
    "s": 63.902,
    "l": 40.196
  },
  "oklch": {
    "l": 0.47953,
    "c": 0.20238,
    "h": 315.7
  },
  "luminance": 0.09301
}

Semantic roles & 50–950 ramp

primary
#8725A8
secondary
#7DC465
accent
#E7416B
background
#FBF6FC
surface
#F6ECF8
border
#D0C7D1
text
#110712
muted
#807A81

Preview Lab

Preview with #8725A8

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

Preview Lab → · Contrast checker → · Palette generator →

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