#872694#872694

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

Color values

HEX#872694
RGBrgb(135, 38, 148)
HSLhsl(293, 59%, 36%)
HSVhsv(293, 74%, 58%)
CMYKcmyk(8.8%, 74.3%, 0%, 42%)
CIE-LABlab(35.35, 54.90, -39.90)
CIE-LCHlch(35.35, 67.87, 323.99°)
OKLaboklab(46.68% 0.1463 -0.1114)
OKLCHoklch(46.68% 0.184 322.7)
XYZxyz(16.0296, 8.6762, 28.8416)
Luminance0.0867 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#872694 #339426
analogous
#502694 #872694 #94266A
triadic
#872694 #948726 #269487
tetradic
#872694 #945026 #339426 #266A94
square
#872694 #945026 #339426 #266A94
split-complementary
#872694 #6A9426 #269450
monochromatic
#2E0D33 #5B1963 #872694 #B333C5 #C85FD6

Accessibility & contrast

On white

7.68
#872694 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.73
#872694 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #872694
7.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##872694#FFFFFF#000000##FFFFFF
##8726941.007.682.737.68
#FFFFFF7.681.0021.001.00
#0000002.7321.001.0021.00
##FFFFFF7.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004C97
Deuteranopia (green-blind)
#375791
Tritanopia (blue-blind)
#893A5B
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #872694;
/* rgb */ color: rgb(135, 38, 148);
/* oklch */ color: oklch(46.7% 0.184 322.7);
Tailwind
colors: {
  custom: {
    50: '#ad6bb4',
    500: '#872694',
    950: '#000000',
  },
}
SCSS
$custom: #872694;
$custom-light: #ad6bb4;
$custom-dark: #000000;
JSON
{
  "hex": "#872694",
  "rgb": {
    "r": 135,
    "g": 38,
    "b": 148
  },
  "hsl": {
    "h": 292.909,
    "s": 59.14,
    "l": 36.471
  },
  "oklch": {
    "l": 0.46675,
    "c": 0.1839,
    "h": 322.7
  },
  "luminance": 0.08675
}

Semantic roles & 50–950 ramp

primary
#872694
secondary
#66BB5B
accent
#E24558
background
#FBF6FB
surface
#F6ECF6
border
#D0C7D0
text
#110711
muted
#807A80

Preview Lab

Preview with #872694

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

Preview Lab → · Contrast checker → · Palette generator →

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