#8B2697#8B2697

#8B2697 is a mid, vivid purple. Relative luminance 0.091; OKLCH L 47.5% C 0.188 H 323.3°. Best body text is #FFFFFF at 7.44:1 contrast (WCAG AA passes).

Color values

HEX#8B2697
RGBrgb(139, 38, 151)
HSLhsl(294, 60%, 37%)
HSVhsv(294, 75%, 59%)
CMYKcmyk(7.9%, 74.8%, 0%, 40.8%)
CIE-LABlab(36.20, 56.32, -40.35)
CIE-LCHlch(36.20, 69.28, 324.38°)
OKLaboklab(47.47% 0.1508 -0.1126)
OKLCHoklch(47.47% 0.188 323.3)
XYZxyz(16.9260, 9.1106, 30.1391)
Luminance0.0911 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8B2697 #329726
analogous
#522697 #8B2697 #97266B
triadic
#8B2697 #978B26 #26978B
tetradic
#8B2697 #975226 #329726 #266B97
square
#8B2697 #975226 #329726 #266B97
split-complementary
#8B2697 #6B9726 #269752
monochromatic
#310D35 #5E1A66 #8B2697 #B832C8 #CA60D7

Accessibility & contrast

On white

7.44
#8B2697 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.82
#8B2697 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8B2697
7.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8B2697#FFFFFF#000000##FFFFFF
##8B26971.007.442.827.44
#FFFFFF7.441.0021.001.00
#0000002.8221.001.0021.00
##FFFFFF7.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004E9A
Deuteranopia (green-blind)
#395994
Tritanopia (blue-blind)
#8D3B5D
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #8b2697;
/* rgb */ color: rgb(139, 38, 151);
/* oklch */ color: oklch(47.5% 0.188 323.3);
Tailwind
colors: {
  custom: {
    50: '#b06bb6',
    500: '#8b2697',
    950: '#000000',
  },
}
SCSS
$custom: #8b2697;
$custom-light: #b06bb6;
$custom-dark: #000000;
JSON
{
  "hex": "#8b2697",
  "rgb": {
    "r": 139,
    "g": 38,
    "b": 151
  },
  "hsl": {
    "h": 293.628,
    "s": 59.788,
    "l": 37.059
  },
  "oklch": {
    "l": 0.47465,
    "c": 0.18824,
    "h": 323.3
  },
  "luminance": 0.0911
}

Semantic roles & 50–950 ramp

primary
#8B2697
secondary
#67BC5C
accent
#E34556
background
#FBF6FB
surface
#F6ECF6
border
#D0C7D0
text
#110711
muted
#807A80

Preview Lab

Preview with #8B2697

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

Preview Lab → · Contrast checker → · Palette generator →

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