#8A2688#8A2688

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

Color values

HEX#8A2688
RGBrgb(138, 38, 136)
HSLhsl(301, 57%, 35%)
HSVhsv(301, 72%, 54%)
CMYKcmyk(0%, 72.5%, 1.4%, 45.9%)
CIE-LABlab(35.14, 53.44, -32.84)
CIE-LCHlch(35.14, 62.72, 328.43°)
OKLaboklab(46.39% 0.15 -0.0908)
OKLCHoklch(46.39% 0.175 328.8)
XYZxyz(15.6181, 8.5682, 24.1190)
Luminance0.0857 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A2688 #268A28
analogous
#5A268A #8A2688 #8A2656
triadic
#8A2688 #888A26 #26888A
tetradic
#8A2688 #8A5A26 #268A28 #26568A
square
#8A2688 #8A5A26 #268A28 #26568A
split-complementary
#8A2688 #568A26 #268A5A
monochromatic
#2A0C29 #5A1959 #8A2688 #BA33B7 #D159CF

Accessibility & contrast

On white

7.74
#8A2688 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #8A2688
7.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A2688#FFFFFF#000000##FFFFFF
##8A26881.007.742.717.74
#FFFFFF7.741.0021.001.00
#0000002.7121.001.0021.00
##FFFFFF7.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#174A8B
Deuteranopia (green-blind)
#425785
Tritanopia (blue-blind)
#8F3454
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #8a2688;
/* rgb */ color: rgb(138, 38, 136);
/* oklch */ color: oklch(46.4% 0.175 328.8);
Tailwind
colors: {
  custom: {
    50: '#af6bab',
    500: '#8a2688',
    950: '#000000',
  },
}
SCSS
$custom: #8a2688;
$custom-light: #af6bab;
$custom-dark: #000000;
JSON
{
  "hex": "#8a2688",
  "rgb": {
    "r": 138,
    "g": 38,
    "b": 136
  },
  "hsl": {
    "h": 301.2,
    "s": 56.818,
    "l": 34.51
  },
  "oklch": {
    "l": 0.46389,
    "c": 0.17532,
    "h": 328.8
  },
  "luminance": 0.08567
}

Semantic roles & 50–950 ramp

primary
#8A2688
secondary
#56B658
accent
#E04B48
background
#FBF6FA
surface
#F6ECF4
border
#D0C7CE
text
#110710
muted
#807A7F

Preview Lab

Preview with #8A2688

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

Preview Lab → · Contrast checker → · Palette generator →

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