#872695#872695

#872695 is a mid, vivid purple. Relative luminance 0.087; OKLCH L 46.7% C 0.185 H 322.3°. Best body text is #FFFFFF at 7.66:1 contrast (WCAG AA passes).

Color values

HEX#872695
RGBrgb(135, 38, 149)
HSLhsl(292, 59%, 37%)
HSVhsv(292, 74%, 58%)
CMYKcmyk(9.4%, 74.5%, 0%, 41.6%)
CIE-LABlab(35.42, 55.08, -40.42)
CIE-LCHlch(35.42, 68.32, 323.73°)
OKLaboklab(46.74% 0.1462 -0.1129)
OKLCHoklch(46.74% 0.185 322.3)
XYZxyz(16.1090, 8.7080, 29.2602)
Luminance0.0871 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#872695 #349526
analogous
#4F2695 #872695 #95266C
triadic
#872695 #958726 #269587
tetradic
#872695 #954F26 #349526 #266C95
square
#872695 #954F26 #349526 #266C95
split-complementary
#872695 #6C9526 #26954F
monochromatic
#2F0D33 #5B1A64 #872695 #B332C6 #C75FD6

Accessibility & contrast

On white

7.66
#872695 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.74
#872695 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #872695
7.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##872695#FFFFFF#000000##FFFFFF
##8726951.007.662.747.66
#FFFFFF7.661.0021.001.00
#0000002.7421.001.0021.00
##FFFFFF7.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004C98
Deuteranopia (green-blind)
#365792
Tritanopia (blue-blind)
#893B5C
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #872695;
/* rgb */ color: rgb(135, 38, 149);
/* oklch */ color: oklch(46.7% 0.185 322.3);
Tailwind
colors: {
  custom: {
    50: '#ad6bb5',
    500: '#872695',
    950: '#000000',
  },
}
SCSS
$custom: #872695;
$custom-light: #ad6bb5;
$custom-dark: #000000;
JSON
{
  "hex": "#872695",
  "rgb": {
    "r": 135,
    "g": 38,
    "b": 149
  },
  "hsl": {
    "h": 292.432,
    "s": 59.358,
    "l": 36.667
  },
  "oklch": {
    "l": 0.46739,
    "c": 0.18476,
    "h": 322.3
  },
  "luminance": 0.08707
}

Semantic roles & 50–950 ramp

primary
#872695
secondary
#67BB5B
accent
#E34559
background
#FBF6FB
surface
#F6ECF6
border
#D0C7D0
text
#110711
muted
#807A80

Preview Lab

Preview with #872695

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

Preview Lab → · Contrast checker → · Palette generator →

#872695 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva