#8B2283#8B2283

#8B2283 is a mid, vivid purple. Relative luminance 0.083; OKLCH L 45.9% C 0.176 H 331.4°. Best body text is #FFFFFF at 7.91:1 contrast (WCAG AA passes).

Color values

HEX#8B2283
RGBrgb(139, 34, 131)
HSLhsl(305, 61%, 34%)
HSVhsv(305, 76%, 55%)
CMYKcmyk(0%, 75.5%, 5.8%, 45.5%)
CIE-LABlab(34.55, 54.22, -30.67)
CIE-LCHlch(34.55, 62.29, 330.50°)
OKLaboklab(45.91% 0.1549 -0.0845)
OKLCHoklch(45.91% 0.176 331.4)
XYZxyz(15.3162, 8.2730, 22.2585)
Luminance0.0827 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8B2283 #228B2A
analogous
#5F228B #8B2283 #8B224F
triadic
#8B2283 #838B22 #22838B
tetradic
#8B2283 #8B5F22 #228B2A #224F8B
square
#8B2283 #8B5F22 #228B2A #224F8B
split-complementary
#8B2283 #4F8B22 #228B5F
monochromatic
#290A26 #5A1655 #8B2283 #BC2EB1 #D553CB

Accessibility & contrast

On white

7.91
#8B2283 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.65
#8B2283 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8B2283
7.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8B2283#FFFFFF#000000##FFFFFF
##8B22831.007.912.657.91
#FFFFFF7.911.0021.001.00
#0000002.6521.001.0021.00
##FFFFFF7.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#194886
Deuteranopia (green-blind)
#435680
Tritanopia (blue-blind)
#912F51
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #8b2283;
/* rgb */ color: rgb(139, 34, 131);
/* oklch */ color: oklch(45.9% 0.176 331.4);
Tailwind
colors: {
  custom: {
    50: '#b069a7',
    500: '#8b2283',
    950: '#000000',
  },
}
SCSS
$custom: #8b2283;
$custom-light: #b069a7;
$custom-dark: #000000;
JSON
{
  "hex": "#8b2283",
  "rgb": {
    "r": 139,
    "g": 34,
    "b": 131
  },
  "hsl": {
    "h": 304.571,
    "s": 60.694,
    "l": 33.922
  },
  "oklch": {
    "l": 0.45906,
    "c": 0.17646,
    "h": 331.4
  },
  "luminance": 0.08272
}

Semantic roles & 50–950 ramp

primary
#8B2283
secondary
#50B858
accent
#E45044
background
#FBF6FA
surface
#F6EBF4
border
#D0C6CE
text
#11070F
muted
#807A7F

Preview Lab

Preview with #8B2283

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

Preview Lab → · Contrast checker → · Palette generator →

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