#8B2286#8B2286

#8B2286 is a mid, vivid purple. Relative luminance 0.084; OKLCH L 46.1% C 0.179 H 330.1°. Best body text is #FFFFFF at 7.86:1 contrast (WCAG AA passes).

Color values

HEX#8B2286
RGBrgb(139, 34, 134)
HSLhsl(303, 61%, 34%)
HSVhsv(303, 76%, 55%)
CMYKcmyk(0%, 75.5%, 3.6%, 45.5%)
CIE-LABlab(34.71, 54.71, -32.27)
CIE-LCHlch(34.71, 63.52, 329.47°)
OKLaboklab(46.08% 0.155 -0.0891)
OKLCHoklch(46.08% 0.179 330.1)
XYZxyz(15.5225, 8.3555, 23.3449)
Luminance0.0835 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8B2286 #228B27
analogous
#5C228B #8B2286 #8B2252
triadic
#8B2286 #868B22 #22868B
tetradic
#8B2286 #8B5C22 #228B27 #22528B
square
#8B2286 #8B5C22 #228B27 #22528B
split-complementary
#8B2286 #528B22 #228B5C
monochromatic
#290A27 #5A1657 #8B2286 #BC2EB5 #D553CF

Accessibility & contrast

On white

7.86
#8B2286 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #8B2286
7.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8B2286#FFFFFF#000000##FFFFFF
##8B22861.007.862.677.86
#FFFFFF7.861.0021.001.00
#0000002.6721.001.0021.00
##FFFFFF7.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#154989
Deuteranopia (green-blind)
#425783
Tritanopia (blue-blind)
#903052
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #8b2286;
/* rgb */ color: rgb(139, 34, 134);
/* oklch */ color: oklch(46.1% 0.179 330.1);
Tailwind
colors: {
  custom: {
    50: '#b069a9',
    500: '#8b2286',
    950: '#000000',
  },
}
SCSS
$custom: #8b2286;
$custom-light: #b069a9;
$custom-dark: #000000;
JSON
{
  "hex": "#8b2286",
  "rgb": {
    "r": 139,
    "g": 34,
    "b": 134
  },
  "hsl": {
    "h": 302.857,
    "s": 60.694,
    "l": 33.922
  },
  "oklch": {
    "l": 0.4608,
    "c": 0.17879,
    "h": 330.1
  },
  "luminance": 0.08354
}

Semantic roles & 50–950 ramp

primary
#8B2286
secondary
#50B855
accent
#E44C44
background
#FBF6FA
surface
#F6EBF4
border
#D0C6CE
text
#110710
muted
#807A7F

Preview Lab

Preview with #8B2286

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

Preview Lab → · Contrast checker → · Palette generator →

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