#8A2FAE#8A2FAE

#8A2FAE is a mid, vivid purple. Relative luminance 0.105; OKLCH L 49.7% C 0.198 H 314.4°. Best body text is #FFFFFF at 6.78:1 contrast (WCAG AA passes).

Color values

HEX#8A2FAE
RGBrgb(138, 47, 174)
HSLhsl(283, 57%, 43%)
HSVhsv(283, 73%, 68%)
CMYKcmyk(20.7%, 73%, 0%, 31.8%)
CIE-LABlab(38.71, 57.22, -50.15)
CIE-LCHlch(38.71, 76.09, 318.76°)
OKLaboklab(49.7% 0.1387 -0.1414)
OKLCHoklch(49.7% 0.198 314.4)
XYZxyz(19.1364, 10.4930, 41.0535)
Luminance0.1049 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A2FAE #53AE2F
analogous
#4A2FAE #8A2FAE #AE2F92
triadic
#8A2FAE #AE8A2F #2FAE8A
tetradic
#8A2FAE #AE4A2F #53AE2F #2F92AE
square
#8A2FAE #AE4A2F #53AE2F #2F92AE
split-complementary
#8A2FAE #92AE2F #2FAE4A
monochromatic
#3E154E #64227E #8A2FAE #A94CCF #C07CDC

Accessibility & contrast

On white

6.78
#8A2FAE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.10
#8A2FAE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8A2FAE
6.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A2FAE#FFFFFF#000000##FFFFFF
##8A2FAE1.006.783.106.78
#FFFFFF6.781.0021.001.00
#0000003.1021.001.0021.00
##FFFFFF6.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0056B2
Deuteranopia (green-blind)
#285DAB
Tritanopia (blue-blind)
#874A6C
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #8a2fae;
/* rgb */ color: rgb(138, 47, 174);
/* oklch */ color: oklch(49.7% 0.198 314.4);
Tailwind
colors: {
  custom: {
    50: '#b070c7',
    500: '#8a2fae',
    950: '#000000',
  },
}
SCSS
$custom: #8a2fae;
$custom-light: #b070c7;
$custom-dark: #000000;
JSON
{
  "hex": "#8a2fae",
  "rgb": {
    "r": 138,
    "g": 47,
    "b": 174
  },
  "hsl": {
    "h": 282.992,
    "s": 57.466,
    "l": 43.333
  },
  "oklch": {
    "l": 0.49701,
    "c": 0.19808,
    "h": 314.4
  },
  "luminance": 0.10492
}

Semantic roles & 50–950 ramp

primary
#8A2FAE
secondary
#8BC475
accent
#E14773
background
#FBF7FC
surface
#F6EDF8
border
#D0C8D1
text
#110813
muted
#807B82

Preview Lab

Preview with #8A2FAE

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

Preview Lab → · Contrast checker → · Palette generator →

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