#8A2689#8A2689

#8A2689 is a mid, vivid purple. Relative luminance 0.086; OKLCH L 46.4% C 0.176 H 328.4°. Best body text is #FFFFFF at 7.72:1 contrast (WCAG AA passes).

Color values

HEX#8A2689
RGBrgb(138, 38, 137)
HSLhsl(301, 57%, 35%)
HSVhsv(301, 72%, 54%)
CMYKcmyk(0%, 72.5%, 0.7%, 45.9%)
CIE-LABlab(35.20, 53.61, -33.37)
CIE-LCHlch(35.20, 63.14, 328.10°)
OKLaboklab(46.45% 0.15 -0.0923)
OKLCHoklch(46.45% 0.176 328.4)
XYZxyz(15.6895, 8.5968, 24.4950)
Luminance0.0860 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A2689 #268A27
analogous
#59268A #8A2689 #8A2657
triadic
#8A2689 #898A26 #26898A
tetradic
#8A2689 #8A5926 #268A27 #26578A
square
#8A2689 #8A5926 #268A27 #26578A
split-complementary
#8A2689 #578A26 #268A59
monochromatic
#2A0C2A #5A1959 #8A2689 #BA33B9 #D159D0

Accessibility & contrast

On white

7.72
#8A2689 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.72
#8A2689 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8A2689
7.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A2689#FFFFFF#000000##FFFFFF
##8A26891.007.722.727.72
#FFFFFF7.721.0021.001.00
#0000002.7221.001.0021.00
##FFFFFF7.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#164A8C
Deuteranopia (green-blind)
#415786
Tritanopia (blue-blind)
#8F3555
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #8a2689;
/* rgb */ color: rgb(138, 38, 137);
/* oklch */ color: oklch(46.4% 0.176 328.4);
Tailwind
colors: {
  custom: {
    50: '#af6bac',
    500: '#8a2689',
    950: '#000000',
  },
}
SCSS
$custom: #8a2689;
$custom-light: #af6bac;
$custom-dark: #000000;
JSON
{
  "hex": "#8a2689",
  "rgb": {
    "r": 138,
    "g": 38,
    "b": 137
  },
  "hsl": {
    "h": 300.6,
    "s": 56.818,
    "l": 34.51
  },
  "oklch": {
    "l": 0.46449,
    "c": 0.17614,
    "h": 328.4
  },
  "luminance": 0.08596
}

Semantic roles & 50–950 ramp

primary
#8A2689
secondary
#56B657
accent
#E04948
background
#FBF6FA
surface
#F6ECF4
border
#D0C7CE
text
#110710
muted
#807A7F

Preview Lab

Preview with #8A2689

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

Preview Lab → · Contrast checker → · Palette generator →

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