#8725A4#8725A4

#8725A4 is a mid, vivid purple. Relative luminance 0.092; OKLCH L 47.7% C 0.199 H 317.1°. Best body text is #FFFFFF at 7.42:1 contrast (WCAG AA passes).

Color values

HEX#8725A4
RGBrgb(135, 37, 164)
HSLhsl(286, 63%, 39%)
HSVhsv(286, 77%, 64%)
CMYKcmyk(17.7%, 77.4%, 0%, 35.7%)
CIE-LABlab(36.28, 58.30, -48.12)
CIE-LCHlch(36.28, 75.59, 320.47°)
OKLaboklab(47.67% 0.1456 -0.1355)
OKLCHoklch(47.67% 0.199 317.1)
XYZxyz(17.3531, 9.1551, 35.9678)
Luminance0.0915 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8725A4 #42A425
analogous
#4825A4 #8725A4 #A42582
triadic
#8725A4 #A48725 #25A487
tetradic
#8725A4 #A44825 #42A425 #2582A4
square
#8725A4 #A44825 #42A425 #2582A4
split-complementary
#8725A4 #82A425 #25A448
monochromatic
#350E40 #5E1A72 #8725A4 #AE35D1 #C267DD

Accessibility & contrast

On white

7.42
#8725A4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.83
#8725A4 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8725A4
7.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8725A4#FFFFFF#000000##FFFFFF
##8725A41.007.422.837.42
#FFFFFF7.421.0021.001.00
#0000002.8321.001.0021.00
##FFFFFF7.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004FA7
Deuteranopia (green-blind)
#2758A1
Tritanopia (blue-blind)
#854164
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #8725a4;
/* rgb */ color: rgb(135, 37, 164);
/* oklch */ color: oklch(47.7% 0.199 317.1);
Tailwind
colors: {
  custom: {
    50: '#ae6bc0',
    500: '#8725a4',
    950: '#000000',
  },
}
SCSS
$custom: #8725a4;
$custom-light: #ae6bc0;
$custom-dark: #000000;
JSON
{
  "hex": "#8725a4",
  "rgb": {
    "r": 135,
    "g": 37,
    "b": 164
  },
  "hsl": {
    "h": 286.299,
    "s": 63.184,
    "l": 39.412
  },
  "oklch": {
    "l": 0.47668,
    "c": 0.19887,
    "h": 317.1
  },
  "luminance": 0.09154
}

Semantic roles & 50–950 ramp

primary
#8725A4
secondary
#78C262
accent
#E64267
background
#FBF6FB
surface
#F6ECF7
border
#D0C7D0
text
#110712
muted
#807A81

Preview Lab

Preview with #8725A4

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

Preview Lab → · Contrast checker → · Palette generator →

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