#8A2D93#8A2D93

#8A2D93 is a mid, vivid purple. Relative luminance 0.094; OKLCH L 47.7% C 0.176 H 324.1°. Best body text is #FFFFFF at 7.30:1 contrast (WCAG AA passes).

Color values

HEX#8A2D93
RGBrgb(138, 45, 147)
HSLhsl(295, 53%, 38%)
HSVhsv(295, 69%, 58%)
CMYKcmyk(6.1%, 69.4%, 0%, 42.4%)
CIE-LABlab(36.72, 52.72, -37.09)
CIE-LCHlch(36.72, 64.46, 324.88°)
OKLaboklab(47.73% 0.1426 -0.1032)
OKLCHoklch(47.73% 0.176 324.1)
XYZxyz(16.6856, 9.3876, 28.5312)
Luminance0.0939 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A2D93 #36932D
analogous
#572D93 #8A2D93 #932D69
triadic
#8A2D93 #938A2D #2D938A
tetradic
#8A2D93 #93572D #36932D #2D6993
square
#8A2D93 #93572D #36932D #2D6993
split-complementary
#8A2D93 #69932D #2D9357
monochromatic
#321035 #5E1F64 #8A2D93 #B63BC2 #C869D1

Accessibility & contrast

On white

7.30
#8A2D93 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.88
#8A2D93 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8A2D93
7.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A2D93#FFFFFF#000000##FFFFFF
##8A2D931.007.302.887.30
#FFFFFF7.301.0021.001.00
#0000002.8821.001.0021.00
##FFFFFF7.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#134F96
Deuteranopia (green-blind)
#3F5A90
Tritanopia (blue-blind)
#8D3E5C
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #8a2d93;
/* rgb */ color: rgb(138, 45, 147);
/* oklch */ color: oklch(47.7% 0.176 324.1);
Tailwind
colors: {
  custom: {
    50: '#af6eb3',
    500: '#8a2d93',
    950: '#000000',
  },
}
SCSS
$custom: #8a2d93;
$custom-light: #af6eb3;
$custom-dark: #000000;
JSON
{
  "hex": "#8a2d93",
  "rgb": {
    "r": 138,
    "g": 45,
    "b": 147
  },
  "hsl": {
    "h": 294.706,
    "s": 53.125,
    "l": 37.647
  },
  "oklch": {
    "l": 0.4773,
    "c": 0.176,
    "h": 324.1
  },
  "luminance": 0.09387
}

Semantic roles & 50–950 ramp

primary
#8A2D93
secondary
#6BB864
accent
#DD4B58
background
#FBF6FB
surface
#F6ECF6
border
#D0C7D0
text
#110811
muted
#807B80

Preview Lab

Preview with #8A2D93

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

Preview Lab → · Contrast checker → · Palette generator →

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