#8B2895#8B2895

#8B2895 is a mid, vivid purple. Relative luminance 0.092; OKLCH L 47.5% C 0.184 H 323.9°. Best body text is #FFFFFF at 7.41:1 contrast (WCAG AA passes).

Color values

HEX#8B2895
RGBrgb(139, 40, 149)
HSLhsl(294, 58%, 37%)
HSVhsv(294, 73%, 58%)
CMYKcmyk(6.7%, 73.2%, 0%, 41.6%)
CIE-LABlab(36.32, 55.24, -38.93)
CIE-LCHlch(36.32, 67.58, 324.83°)
OKLaboklab(47.52% 0.149 -0.1085)
OKLCHoklch(47.52% 0.184 323.9)
XYZxyz(16.8306, 9.1775, 29.3129)
Luminance0.0918 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8B2895 #329528
analogous
#542895 #8B2895 #952869
triadic
#8B2895 #958B28 #28958B
tetradic
#8B2895 #955428 #329528 #286995
square
#8B2895 #955428 #329528 #286995
split-complementary
#8B2895 #699528 #289554
monochromatic
#310E35 #5E1B65 #8B2895 #B835C5 #CA62D5

Accessibility & contrast

On white

7.41
#8B2895 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.84
#8B2895 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8B2895
7.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8B2895#FFFFFF#000000##FFFFFF
##8B28951.007.412.847.41
#FFFFFF7.411.0021.001.00
#0000002.8421.001.0021.00
##FFFFFF7.411.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004E98
Deuteranopia (green-blind)
#3C5992
Tritanopia (blue-blind)
#8E3B5C
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #8b2895;
/* rgb */ color: rgb(139, 40, 149);
/* oklch */ color: oklch(47.5% 0.184 323.9);
Tailwind
colors: {
  custom: {
    50: '#b06cb5',
    500: '#8b2895',
    950: '#000000',
  },
}
SCSS
$custom: #8b2895;
$custom-light: #b06cb5;
$custom-dark: #000000;
JSON
{
  "hex": "#8b2895",
  "rgb": {
    "r": 139,
    "g": 40,
    "b": 149
  },
  "hsl": {
    "h": 294.495,
    "s": 57.672,
    "l": 37.059
  },
  "oklch": {
    "l": 0.47516,
    "c": 0.1843,
    "h": 323.9
  },
  "luminance": 0.09176
}

Semantic roles & 50–950 ramp

primary
#8B2895
secondary
#67BB5E
accent
#E14755
background
#FBF6FB
surface
#F6ECF6
border
#D0C7D0
text
#110711
muted
#807A80

Preview Lab

Preview with #8B2895

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

Preview Lab → · Contrast checker → · Palette generator →

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