#8A35AE#8A35AE

#8A35AE is a mid, vivid purple. Relative luminance 0.110; OKLCH L 50.3% C 0.191 H 314.0°. Best body text is #FFFFFF at 6.56:1 contrast (WCAG AA passes).

Color values

HEX#8A35AE
RGBrgb(138, 53, 174)
HSLhsl(282, 53%, 45%)
HSVhsv(282, 70%, 68%)
CMYKcmyk(20.7%, 69.5%, 0%, 31.8%)
CIE-LABlab(39.59, 54.74, -48.74)
CIE-LCHlch(39.59, 73.29, 318.32°)
OKLaboklab(50.33% 0.1325 -0.1373)
OKLCHoklch(50.33% 0.191 314)
XYZxyz(19.3930, 11.0061, 41.1390)
Luminance0.1100 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A35AE #59AE35
analogous
#4E35AE #8A35AE #AE3596
triadic
#8A35AE #AE8A35 #35AE8A
tetradic
#8A35AE #AE4E35 #59AE35 #3596AE
square
#8A35AE #AE4E35 #59AE35 #3596AE
split-complementary
#8A35AE #96AE35 #35AE4E
monochromatic
#401850 #65277F #8A35AE #A855CB #C084DA

Accessibility & contrast

On white

6.56
#8A35AE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.20
#8A35AE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8A35AE
6.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A35AE#FFFFFF#000000##FFFFFF
##8A35AE1.006.563.206.56
#FFFFFF6.561.0021.001.00
#0000003.2021.001.0021.00
##FFFFFF6.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0059B2
Deuteranopia (green-blind)
#2E5FAB
Tritanopia (blue-blind)
#874E6E
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #8a35ae;
/* rgb */ color: rgb(138, 53, 174);
/* oklch */ color: oklch(50.3% 0.191 314.0);
Tailwind
colors: {
  custom: {
    50: '#b073c7',
    500: '#8a35ae',
    950: '#000000',
  },
}
SCSS
$custom: #8a35ae;
$custom-light: #b073c7;
$custom-dark: #000000;
JSON
{
  "hex": "#8a35ae",
  "rgb": {
    "r": 138,
    "g": 53,
    "b": 174
  },
  "hsl": {
    "h": 282.149,
    "s": 53.304,
    "l": 44.51
  },
  "oklch": {
    "l": 0.50327,
    "c": 0.19079,
    "h": 314
  },
  "luminance": 0.11005
}

Semantic roles & 50–950 ramp

primary
#8A35AE
secondary
#91C37C
accent
#DD4B76
background
#FBF7FC
surface
#F6EDF8
border
#D0C8D1
text
#110913
muted
#807B82

Preview Lab

Preview with #8A35AE

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

Preview Lab → · Contrast checker → · Palette generator →

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