#8A2687#8A2687

#8A2687 is a mid, vivid purple. Relative luminance 0.085; OKLCH L 46.3% C 0.175 H 329.2°. Best body text is #FFFFFF at 7.76:1 contrast (WCAG AA passes).

Color values

HEX#8A2687
RGBrgb(138, 38, 135)
HSLhsl(302, 57%, 35%)
HSVhsv(302, 72%, 54%)
CMYKcmyk(0%, 72.5%, 2.2%, 45.9%)
CIE-LABlab(35.08, 53.26, -32.31)
CIE-LCHlch(35.08, 62.30, 328.76°)
OKLaboklab(46.33% 0.15 -0.0893)
OKLCHoklch(46.33% 0.175 329.2)
XYZxyz(15.5474, 8.5399, 23.7465)
Luminance0.0854 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A2687 #268A29
analogous
#5B268A #8A2687 #8A2655
triadic
#8A2687 #878A26 #26878A
tetradic
#8A2687 #8A5B26 #268A29 #26558A
square
#8A2687 #8A5B26 #268A29 #26558A
split-complementary
#8A2687 #558A26 #268A5B
monochromatic
#2A0C29 #5A1958 #8A2687 #BA33B6 #D159CE

Accessibility & contrast

On white

7.76
#8A2687 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.71
#8A2687 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8A2687
7.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A2687#FFFFFF#000000##FFFFFF
##8A26871.007.762.717.76
#FFFFFF7.761.0021.001.00
#0000002.7121.001.0021.00
##FFFFFF7.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#194A8A
Deuteranopia (green-blind)
#425784
Tritanopia (blue-blind)
#8F3454
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #8a2687;
/* rgb */ color: rgb(138, 38, 135);
/* oklch */ color: oklch(46.3% 0.175 329.2);
Tailwind
colors: {
  custom: {
    50: '#af6baa',
    500: '#8a2687',
    950: '#000000',
  },
}
SCSS
$custom: #8a2687;
$custom-light: #af6baa;
$custom-dark: #000000;
JSON
{
  "hex": "#8a2687",
  "rgb": {
    "r": 138,
    "g": 38,
    "b": 135
  },
  "hsl": {
    "h": 301.8,
    "s": 56.818,
    "l": 34.51
  },
  "oklch": {
    "l": 0.46331,
    "c": 0.17452,
    "h": 329.2
  },
  "luminance": 0.08539
}

Semantic roles & 50–950 ramp

primary
#8A2687
secondary
#56B659
accent
#E04C48
background
#FBF6FA
surface
#F6ECF4
border
#D0C7CE
text
#110710
muted
#807A7F

Preview Lab

Preview with #8A2687

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

Preview Lab → · Contrast checker → · Palette generator →

#8A2687 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva