#8B2799#8B2799

#8B2799 is a mid, vivid purple. Relative luminance 0.092; OKLCH L 47.7% C 0.189 H 322.5°. Best body text is #FFFFFF at 7.37:1 contrast (WCAG AA passes).

Color values

HEX#8B2799
RGBrgb(139, 39, 153)
HSLhsl(293, 59%, 38%)
HSVhsv(293, 75%, 60%)
CMYKcmyk(9.2%, 74.5%, 0%, 40%)
CIE-LABlab(36.44, 56.33, -41.17)
CIE-LCHlch(36.44, 69.77, 323.84°)
OKLaboklab(47.68% 0.1498 -0.115)
OKLCHoklch(47.68% 0.189 322.5)
XYZxyz(17.1222, 9.2409, 31.0126)
Luminance0.0924 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8B2799 #359927
analogous
#522799 #8B2799 #99276E
triadic
#8B2799 #998B27 #27998B
tetradic
#8B2799 #995227 #359927 #276E99
square
#8B2799 #995227 #359927 #276E99
split-complementary
#8B2799 #6E9927 #279952
monochromatic
#320E37 #5F1B68 #8B2799 #B733CA #C963D7

Accessibility & contrast

On white

7.37
#8B2799 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.85
#8B2799 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8B2799
7.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8B2799#FFFFFF#000000##FFFFFF
##8B27991.007.372.857.37
#FFFFFF7.371.0021.001.00
#0000002.8521.001.0021.00
##FFFFFF7.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004E9C
Deuteranopia (green-blind)
#385996
Tritanopia (blue-blind)
#8D3C5E
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #8b2799;
/* rgb */ color: rgb(139, 39, 153);
/* oklch */ color: oklch(47.7% 0.189 322.5);
Tailwind
colors: {
  custom: {
    50: '#b06cb8',
    500: '#8b2799',
    950: '#000000',
  },
}
SCSS
$custom: #8b2799;
$custom-light: #b06cb8;
$custom-dark: #000000;
JSON
{
  "hex": "#8b2799",
  "rgb": {
    "r": 139,
    "g": 39,
    "b": 153
  },
  "hsl": {
    "h": 292.632,
    "s": 59.375,
    "l": 37.647
  },
  "oklch": {
    "l": 0.47681,
    "c": 0.18883,
    "h": 322.5
  },
  "luminance": 0.0924
}

Semantic roles & 50–950 ramp

primary
#8B2799
secondary
#6ABD5F
accent
#E34559
background
#FBF6FB
surface
#F6ECF6
border
#D0C7D0
text
#110711
muted
#807A80

Preview Lab

Preview with #8B2799

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

Preview Lab → · Contrast checker → · Palette generator →

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