#8A2D90#8A2D90

#8A2D90 is a mid, vivid purple. Relative luminance 0.093; OKLCH L 47.5% C 0.173 H 325.3°. Best body text is #FFFFFF at 7.35:1 contrast (WCAG AA passes).

Color values

HEX#8A2D90
RGBrgb(138, 45, 144)
HSLhsl(296, 52%, 37%)
HSVhsv(296, 69%, 56%)
CMYKcmyk(4.2%, 68.7%, 0%, 43.5%)
CIE-LABlab(36.55, 52.17, -35.53)
CIE-LCHlch(36.55, 63.12, 325.74°)
OKLaboklab(47.55% 0.1426 -0.0987)
OKLCHoklch(47.55% 0.173 325.3)
XYZxyz(16.4533, 9.2947, 27.3076)
Luminance0.0929 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A2D90 #33902D
analogous
#592D90 #8A2D90 #902D64
triadic
#8A2D90 #908A2D #2D908A
tetradic
#8A2D90 #90592D #33902D #2D6490
square
#8A2D90 #90592D #33902D #2D6490
split-complementary
#8A2D90 #64902D #2D9059
monochromatic
#311033 #5D1E61 #8A2D90 #B73CBF #C968D0

Accessibility & contrast

On white

7.35
#8A2D90 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.86
#8A2D90 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8A2D90
7.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A2D90#FFFFFF#000000##FFFFFF
##8A2D901.007.352.867.35
#FFFFFF7.351.0021.001.00
#0000002.8621.001.0021.00
##FFFFFF7.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#184F93
Deuteranopia (green-blind)
#415A8D
Tritanopia (blue-blind)
#8D3C5B
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #8a2d90;
/* rgb */ color: rgb(138, 45, 144);
/* oklch */ color: oklch(47.5% 0.173 325.3);
Tailwind
colors: {
  custom: {
    50: '#af6eb1',
    500: '#8a2d90',
    950: '#000000',
  },
}
SCSS
$custom: #8a2d90;
$custom-light: #af6eb1;
$custom-dark: #000000;
JSON
{
  "hex": "#8a2d90",
  "rgb": {
    "r": 138,
    "g": 45,
    "b": 144
  },
  "hsl": {
    "h": 296.364,
    "s": 52.381,
    "l": 37.059
  },
  "oklch": {
    "l": 0.47548,
    "c": 0.17338,
    "h": 325.3
  },
  "luminance": 0.09294
}

Semantic roles & 50–950 ramp

primary
#8A2D90
secondary
#67B662
accent
#DC4C55
background
#FBF6FA
surface
#F6ECF5
border
#D0C7CF
text
#110811
muted
#807B80

Preview Lab

Preview with #8A2D90

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

Preview Lab → · Contrast checker → · Palette generator →

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