#8B2795#8B2795

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

Color values

HEX#8B2795
RGBrgb(139, 39, 149)
HSLhsl(295, 59%, 37%)
HSVhsv(295, 74%, 58%)
CMYKcmyk(6.7%, 73.8%, 0%, 41.6%)
CIE-LABlab(36.20, 55.60, -39.13)
CIE-LCHlch(36.20, 67.99, 324.86°)
OKLaboklab(47.43% 0.15 -0.1091)
OKLCHoklch(47.43% 0.185 324)
XYZxyz(16.7973, 9.1110, 29.3018)
Luminance0.0911 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8B2795 #319527
analogous
#542795 #8B2795 #952768
triadic
#8B2795 #958B27 #27958B
tetradic
#8B2795 #955427 #319527 #276895
square
#8B2795 #955427 #319527 #276895
split-complementary
#8B2795 #689527 #279554
monochromatic
#310E34 #5E1A64 #8B2795 #B834C6 #CB61D6

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##8B2795#FFFFFF#000000##FFFFFF
##8B27951.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)
#004E98
Deuteranopia (green-blind)
#3B5992
Tritanopia (blue-blind)
#8E3A5C
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #8b2795;
/* rgb */ color: rgb(139, 39, 149);
/* oklch */ color: oklch(47.4% 0.185 324.0);
Tailwind
colors: {
  custom: {
    50: '#b06cb5',
    500: '#8b2795',
    950: '#000000',
  },
}
SCSS
$custom: #8b2795;
$custom-light: #b06cb5;
$custom-dark: #000000;
JSON
{
  "hex": "#8b2795",
  "rgb": {
    "r": 139,
    "g": 39,
    "b": 149
  },
  "hsl": {
    "h": 294.545,
    "s": 58.511,
    "l": 36.863
  },
  "oklch": {
    "l": 0.47426,
    "c": 0.18544,
    "h": 324
  },
  "luminance": 0.0911
}

Semantic roles & 50–950 ramp

primary
#8B2795
secondary
#65BB5D
accent
#E24654
background
#FBF6FB
surface
#F6ECF6
border
#D0C7D0
text
#110711
muted
#807A80

Preview Lab

Preview with #8B2795

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

Preview Lab → · Contrast checker → · Palette generator →

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