#8A2285#8A2285

#8A2285 is a mid, vivid purple. Relative luminance 0.082; OKLCH L 45.9% C 0.177 H 330.1°. Best body text is #FFFFFF at 7.93:1 contrast (WCAG AA passes).

Color values

HEX#8A2285
RGBrgb(138, 34, 133)
HSLhsl(303, 60%, 34%)
HSVhsv(303, 75%, 54%)
CMYKcmyk(0%, 75.4%, 3.6%, 45.9%)
CIE-LABlab(34.48, 54.32, -32.02)
CIE-LCHlch(34.48, 63.06, 329.48°)
OKLaboklab(45.86% 0.1539 -0.0884)
OKLCHoklch(45.86% 0.177 330.1)
XYZxyz(15.2868, 8.2420, 22.9715)
Luminance0.0824 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A2285 #228A27
analogous
#5B228A #8A2285 #8A2251
triadic
#8A2285 #858A22 #22858A
tetradic
#8A2285 #8A5B22 #228A27 #22518A
square
#8A2285 #8A5B22 #228A27 #22518A
split-complementary
#8A2285 #518A22 #228A5B
monochromatic
#280A26 #591656 #8A2285 #BB2EB4 #D452CE

Accessibility & contrast

On white

7.93
#8A2285 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #8A2285
7.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A2285#FFFFFF#000000##FFFFFF
##8A22851.007.932.657.93
#FFFFFF7.931.0021.001.00
#0000002.6521.001.0021.00
##FFFFFF7.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#154888
Deuteranopia (green-blind)
#415682
Tritanopia (blue-blind)
#8F3052
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #8a2285;
/* rgb */ color: rgb(138, 34, 133);
/* oklch */ color: oklch(45.9% 0.177 330.1);
Tailwind
colors: {
  custom: {
    50: '#b069a9',
    500: '#8a2285',
    950: '#000000',
  },
}
SCSS
$custom: #8a2285;
$custom-light: #b069a9;
$custom-dark: #000000;
JSON
{
  "hex": "#8a2285",
  "rgb": {
    "r": 138,
    "g": 34,
    "b": 133
  },
  "hsl": {
    "h": 302.885,
    "s": 60.465,
    "l": 33.725
  },
  "oklch": {
    "l": 0.45863,
    "c": 0.17749,
    "h": 330.1
  },
  "luminance": 0.08241
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #8A2285

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

Preview Lab → · Contrast checker → · Palette generator →

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