#8A2DAE#8A2DAE

#8A2DAE is a mid, highly saturated purple. Relative luminance 0.103; OKLCH L 49.5% C 0.200 H 314.6°. Best body text is #FFFFFF at 6.85:1 contrast (WCAG AA passes).

Color values

HEX#8A2DAE
RGBrgb(138, 45, 174)
HSLhsl(283, 59%, 43%)
HSVhsv(283, 74%, 68%)
CMYKcmyk(20.7%, 74.1%, 0%, 31.8%)
CIE-LABlab(38.44, 58.00, -50.59)
CIE-LCHlch(38.44, 76.96, 318.90°)
OKLaboklab(49.51% 0.1406 -0.1427)
OKLCHoklch(49.51% 0.2 314.6)
XYZxyz(19.0583, 10.3367, 41.0274)
Luminance0.1034 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A2DAE #51AE2D
analogous
#4A2DAE #8A2DAE #AE2D91
triadic
#8A2DAE #AE8A2D #2DAE8A
tetradic
#8A2DAE #AE4A2D #51AE2D #2D91AE
square
#8A2DAE #AE4A2D #51AE2D #2D91AE
split-complementary
#8A2DAE #91AE2D #2DAE4A
monochromatic
#3D144D #63207D #8A2DAE #AA48D0 #C179DC

Accessibility & contrast

On white

6.85
#8A2DAE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.07
#8A2DAE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8A2DAE
6.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A2DAE#FFFFFF#000000##FFFFFF
##8A2DAE1.006.853.076.85
#FFFFFF6.851.0021.001.00
#0000003.0721.001.0021.00
##FFFFFF6.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0055B2
Deuteranopia (green-blind)
#265DAB
Tritanopia (blue-blind)
#87496B
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #8a2dae;
/* rgb */ color: rgb(138, 45, 174);
/* oklch */ color: oklch(49.5% 0.200 314.6);
Tailwind
colors: {
  custom: {
    50: '#b06fc7',
    500: '#8a2dae',
    950: '#000000',
  },
}
SCSS
$custom: #8a2dae;
$custom-light: #b06fc7;
$custom-dark: #000000;
JSON
{
  "hex": "#8a2dae",
  "rgb": {
    "r": 138,
    "g": 45,
    "b": 174
  },
  "hsl": {
    "h": 283.256,
    "s": 58.904,
    "l": 42.941
  },
  "oklch": {
    "l": 0.49507,
    "c": 0.20036,
    "h": 314.6
  },
  "luminance": 0.10336
}

Semantic roles & 50–950 ramp

primary
#8A2DAE
secondary
#89C472
accent
#E24671
background
#FBF7FC
surface
#F6EDF8
border
#D0C8D1
text
#110813
muted
#807B82

Preview Lab

Preview with #8A2DAE

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

Preview Lab → · Contrast checker → · Palette generator →

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