#8A2CAE#8A2CAE

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

Color values

HEX#8A2CAE
RGBrgb(138, 44, 174)
HSLhsl(283, 60%, 43%)
HSVhsv(283, 75%, 68%)
CMYKcmyk(20.7%, 74.7%, 0%, 31.8%)
CIE-LABlab(38.31, 58.38, -50.81)
CIE-LCHlch(38.31, 77.39, 318.97°)
OKLaboklab(49.41% 0.1416 -0.1433)
OKLCHoklch(49.41% 0.201 314.6)
XYZxyz(19.0206, 10.2613, 41.0149)
Luminance0.1026 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A2CAE #50AE2C
analogous
#492CAE #8A2CAE #AE2C91
triadic
#8A2CAE #AE8A2C #2CAE8A
tetradic
#8A2CAE #AE492C #50AE2C #2C91AE
square
#8A2CAE #AE492C #50AE2C #2C91AE
split-complementary
#8A2CAE #91AE2C #2CAE49
monochromatic
#3D134C #63207D #8A2CAE #AA47D0 #C178DD

Accessibility & contrast

On white

6.88
#8A2CAE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.05
#8A2CAE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8A2CAE
6.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A2CAE#FFFFFF#000000##FFFFFF
##8A2CAE1.006.883.056.88
#FFFFFF6.881.0021.001.00
#0000003.0521.001.0021.00
##FFFFFF6.881.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #8a2cae;
/* rgb */ color: rgb(138, 44, 174);
/* oklch */ color: oklch(49.4% 0.201 314.6);
Tailwind
colors: {
  custom: {
    50: '#b06fc7',
    500: '#8a2cae',
    950: '#000000',
  },
}
SCSS
$custom: #8a2cae;
$custom-light: #b06fc7;
$custom-dark: #000000;
JSON
{
  "hex": "#8a2cae",
  "rgb": {
    "r": 138,
    "g": 44,
    "b": 174
  },
  "hsl": {
    "h": 283.385,
    "s": 59.633,
    "l": 42.745
  },
  "oklch": {
    "l": 0.49413,
    "c": 0.20147,
    "h": 314.6
  },
  "luminance": 0.10261
}

Semantic roles & 50–950 ramp

primary
#8A2CAE
secondary
#88C571
accent
#E34571
background
#FBF7FC
surface
#F6EDF8
border
#D0C8D1
text
#110813
muted
#807B82

Preview Lab

Preview with #8A2CAE

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

Preview Lab → · Contrast checker → · Palette generator →

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