#8B2285#8B2285

#8B2285 is a mid, vivid purple. Relative luminance 0.083; OKLCH L 46.0% C 0.178 H 330.5°. Best body text is #FFFFFF at 7.88:1 contrast (WCAG AA passes).

Color values

HEX#8B2285
RGBrgb(139, 34, 133)
HSLhsl(303, 61%, 34%)
HSVhsv(303, 76%, 55%)
CMYKcmyk(0%, 75.5%, 4.3%, 45.5%)
CIE-LABlab(34.66, 54.55, -31.74)
CIE-LCHlch(34.66, 63.11, 329.81°)
OKLaboklab(46.02% 0.155 -0.0875)
OKLCHoklch(46.02% 0.178 330.5)
XYZxyz(15.4531, 8.3277, 22.9793)
Luminance0.0833 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8B2285 #228B28
analogous
#5D228B #8B2285 #8B2251
triadic
#8B2285 #858B22 #22858B
tetradic
#8B2285 #8B5D22 #228B28 #22518B
square
#8B2285 #8B5D22 #228B28 #22518B
split-complementary
#8B2285 #518B22 #228B5D
monochromatic
#290A27 #5A1656 #8B2285 #BC2EB4 #D553CD

Accessibility & contrast

On white

7.88
#8B2285 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.67
#8B2285 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8B2285
7.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8B2285#FFFFFF#000000##FFFFFF
##8B22851.007.882.677.88
#FFFFFF7.881.0021.001.00
#0000002.6721.001.0021.00
##FFFFFF7.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#164888
Deuteranopia (green-blind)
#425782
Tritanopia (blue-blind)
#903052
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #8b2285;
/* rgb */ color: rgb(139, 34, 133);
/* oklch */ color: oklch(46.0% 0.178 330.5);
Tailwind
colors: {
  custom: {
    50: '#b069a9',
    500: '#8b2285',
    950: '#000000',
  },
}
SCSS
$custom: #8b2285;
$custom-light: #b069a9;
$custom-dark: #000000;
JSON
{
  "hex": "#8b2285",
  "rgb": {
    "r": 139,
    "g": 34,
    "b": 133
  },
  "hsl": {
    "h": 303.429,
    "s": 60.694,
    "l": 33.922
  },
  "oklch": {
    "l": 0.46022,
    "c": 0.17801,
    "h": 330.5
  },
  "luminance": 0.08326
}

Semantic roles & 50–950 ramp

primary
#8B2285
secondary
#50B856
accent
#E44D44
background
#FBF6FA
surface
#F6EBF4
border
#D0C6CE
text
#110710
muted
#807A7F

Preview Lab

Preview with #8B2285

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

Preview Lab → · Contrast checker → · Palette generator →

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