#87258E#87258E

#87258E is a mid, vivid purple. Relative luminance 0.084; OKLCH L 46.2% C 0.180 H 325.1°. Best body text is #FFFFFF at 7.82:1 contrast (WCAG AA passes).

Color values

HEX#87258E
RGBrgb(135, 37, 142)
HSLhsl(296, 59%, 35%)
HSVhsv(296, 74%, 56%)
CMYKcmyk(4.9%, 73.9%, 0%, 44.3%)
CIE-LABlab(34.86, 54.16, -37.02)
CIE-LCHlch(34.86, 65.60, 325.65°)
OKLaboklab(46.2% 0.1475 -0.103)
OKLCHoklch(46.2% 0.18 325.1)
XYZxyz(15.5354, 8.4280, 26.3944)
Luminance0.0843 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#87258E #2C8E25
analogous
#52258E #87258E #8E2560
triadic
#87258E #8E8725 #258E87
tetradic
#87258E #8E5225 #2C8E25 #25608E
square
#87258E #8E5225 #2C8E25 #25608E
split-complementary
#87258E #608E25 #258E52
monochromatic
#2B0C2D #59185D #87258E #B532BF #CC5AD4

Accessibility & contrast

On white

7.82
#87258E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.69
#87258E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #87258E
7.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##87258E#FFFFFF#000000##FFFFFF
##87258E1.007.822.697.82
#FFFFFF7.821.0021.001.00
#0000002.6921.001.0021.00
##FFFFFF7.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#034A91
Deuteranopia (green-blind)
#3B568B
Tritanopia (blue-blind)
#8A3757
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #87258e;
/* rgb */ color: rgb(135, 37, 142);
/* oklch */ color: oklch(46.2% 0.180 325.1);
Tailwind
colors: {
  custom: {
    50: '#ad6aaf',
    500: '#87258e',
    950: '#000000',
  },
}
SCSS
$custom: #87258e;
$custom-light: #ad6aaf;
$custom-dark: #000000;
JSON
{
  "hex": "#87258e",
  "rgb": {
    "r": 135,
    "g": 37,
    "b": 142
  },
  "hsl": {
    "h": 296,
    "s": 58.659,
    "l": 35.098
  },
  "oklch": {
    "l": 0.46204,
    "c": 0.17994,
    "h": 325.1
  },
  "luminance": 0.08427
}

Semantic roles & 50–950 ramp

primary
#87258E
secondary
#5DB956
accent
#E24650
background
#FBF6FA
surface
#F6ECF5
border
#D0C7CF
text
#110710
muted
#807A7F

Preview Lab

Preview with #87258E

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

Preview Lab → · Contrast checker → · Palette generator →

#87258E Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva