#8A2CAD#8A2CAD

#8A2CAD is a mid, highly saturated purple. Relative luminance 0.102; OKLCH L 49.3% C 0.201 H 315.0°. Best body text is #FFFFFF at 6.90:1 contrast (WCAG AA passes).

Color values

HEX#8A2CAD
RGBrgb(138, 44, 173)
HSLhsl(284, 59%, 43%)
HSVhsv(284, 75%, 68%)
CMYKcmyk(20.2%, 74.6%, 0%, 32.2%)
CIE-LABlab(38.24, 58.17, -50.32)
CIE-LCHlch(38.24, 76.92, 319.14°)
OKLaboklab(49.34% 0.1417 -0.1419)
OKLCHoklch(49.34% 0.201 315)
XYZxyz(18.9235, 10.2225, 40.5034)
Luminance0.1022 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A2CAD #4FAD2C
analogous
#4A2CAD #8A2CAD #AD2C8F
triadic
#8A2CAD #AD8A2C #2CAD8A
tetradic
#8A2CAD #AD4A2C #4FAD2C #2C8FAD
square
#8A2CAD #AD4A2C #4FAD2C #2C8FAD
split-complementary
#8A2CAD #8FAD2C #2CAD4A
monochromatic
#3C134B #63207C #8A2CAD #AB46D0 #C177DC

Accessibility & contrast

On white

6.90
#8A2CAD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.04
#8A2CAD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8A2CAD
6.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A2CAD#FFFFFF#000000##FFFFFF
##8A2CAD1.006.903.046.90
#FFFFFF6.901.0021.001.00
#0000003.0421.001.0021.00
##FFFFFF6.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0055B1
Deuteranopia (green-blind)
#265CAA
Tritanopia (blue-blind)
#87486B
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #8a2cad;
/* rgb */ color: rgb(138, 44, 173);
/* oklch */ color: oklch(49.3% 0.201 315.0);
Tailwind
colors: {
  custom: {
    50: '#b06fc6',
    500: '#8a2cad',
    950: '#000000',
  },
}
SCSS
$custom: #8a2cad;
$custom-light: #b06fc6;
$custom-dark: #000000;
JSON
{
  "hex": "#8a2cad",
  "rgb": {
    "r": 138,
    "g": 44,
    "b": 173
  },
  "hsl": {
    "h": 283.721,
    "s": 59.447,
    "l": 42.549
  },
  "oklch": {
    "l": 0.49343,
    "c": 0.20056,
    "h": 315
  },
  "luminance": 0.10222
}

Semantic roles & 50–950 ramp

primary
#8A2CAD
secondary
#87C471
accent
#E34570
background
#FBF7FC
surface
#F6EDF8
border
#D0C8D1
text
#110813
muted
#807B82

Preview Lab

Preview with #8A2CAD

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

Preview Lab → · Contrast checker → · Palette generator →

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