#8A2283#8A2283

#8A2283 is a mid, vivid purple. Relative luminance 0.082; OKLCH L 45.7% C 0.176 H 331.0°. Best body text is #FFFFFF at 7.96:1 contrast (WCAG AA passes).

Color values

HEX#8A2283
RGBrgb(138, 34, 131)
HSLhsl(304, 60%, 34%)
HSVhsv(304, 75%, 54%)
CMYKcmyk(0%, 75.4%, 5.1%, 45.9%)
CIE-LABlab(34.37, 53.99, -30.96)
CIE-LCHlch(34.37, 62.23, 330.17°)
OKLaboklab(45.75% 0.1538 -0.0853)
OKLCHoklch(45.75% 0.176 331)
XYZxyz(15.1500, 8.1872, 22.2507)
Luminance0.0819 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A2283 #228A29
analogous
#5D228A #8A2283 #8A224F
triadic
#8A2283 #838A22 #22838A
tetradic
#8A2283 #8A5D22 #228A29 #224F8A
square
#8A2283 #8A5D22 #228A29 #224F8A
split-complementary
#8A2283 #4F8A22 #228A5D
monochromatic
#280A26 #591654 #8A2283 #BB2EB2 #D452CC

Accessibility & contrast

On white

7.96
#8A2283 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.64
#8A2283 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8A2283
7.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A2283#FFFFFF#000000##FFFFFF
##8A22831.007.962.647.96
#FFFFFF7.961.0021.001.00
#0000002.6421.001.0021.00
##FFFFFF7.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#184886
Deuteranopia (green-blind)
#435680
Tritanopia (blue-blind)
#902F50
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #8a2283;
/* rgb */ color: rgb(138, 34, 131);
/* oklch */ color: oklch(45.7% 0.176 331.0);
Tailwind
colors: {
  custom: {
    50: '#b069a7',
    500: '#8a2283',
    950: '#000000',
  },
}
SCSS
$custom: #8a2283;
$custom-light: #b069a7;
$custom-dark: #000000;
JSON
{
  "hex": "#8a2283",
  "rgb": {
    "r": 138,
    "g": 34,
    "b": 131
  },
  "hsl": {
    "h": 304.038,
    "s": 60.465,
    "l": 33.725
  },
  "oklch": {
    "l": 0.45747,
    "c": 0.17592,
    "h": 331
  },
  "luminance": 0.08186
}

Semantic roles & 50–950 ramp

primary
#8A2283
secondary
#50B857
accent
#E44F44
background
#FBF6FA
surface
#F6EBF4
border
#D0C6CE
text
#11070F
muted
#807A7F

Preview Lab

Preview with #8A2283

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

Preview Lab → · Contrast checker → · Palette generator →

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