#8A35AA#8A35AA

#8A35AA is a mid, vivid purple. Relative luminance 0.109; OKLCH L 50.1% C 0.187 H 315.3°. Best body text is #FFFFFF at 6.62:1 contrast (WCAG AA passes).

Color values

HEX#8A35AA
RGBrgb(138, 53, 170)
HSLhsl(284, 52%, 44%)
HSVhsv(284, 69%, 67%)
CMYKcmyk(18.8%, 68.8%, 0%, 33.3%)
CIE-LABlab(39.33, 53.90, -46.78)
CIE-LCHlch(39.33, 71.37, 319.05°)
OKLaboklab(50.06% 0.1328 -0.1316)
OKLCHoklch(50.06% 0.187 315.3)
XYZxyz(19.0089, 10.8524, 39.1158)
Luminance0.1085 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A35AA #55AA35
analogous
#4F35AA #8A35AA #AA358F
triadic
#8A35AA #AA8A35 #35AA8A
tetradic
#8A35AA #AA4F35 #55AA35 #358FAA
square
#8A35AA #AA4F35 #55AA35 #358FAA
split-complementary
#8A35AA #8FAA35 #35AA4F
monochromatic
#3E184D #64267B #8A35AA #A953C9 #C082D8

Accessibility & contrast

On white

6.62
#8A35AA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.17
#8A35AA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8A35AA
6.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A35AA#FFFFFF#000000##FFFFFF
##8A35AA1.006.623.176.62
#FFFFFF6.621.0021.001.00
#0000003.1721.001.0021.00
##FFFFFF6.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0058AD
Deuteranopia (green-blind)
#325FA7
Tritanopia (blue-blind)
#884C6B
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #8a35aa;
/* rgb */ color: rgb(138, 53, 170);
/* oklch */ color: oklch(50.1% 0.187 315.3);
Tailwind
colors: {
  custom: {
    50: '#b073c4',
    500: '#8a35aa',
    950: '#000000',
  },
}
SCSS
$custom: #8a35aa;
$custom-light: #b073c4;
$custom-dark: #000000;
JSON
{
  "hex": "#8a35aa",
  "rgb": {
    "r": 138,
    "g": 53,
    "b": 170
  },
  "hsl": {
    "h": 283.59,
    "s": 52.466,
    "l": 43.725
  },
  "oklch": {
    "l": 0.50058,
    "c": 0.18693,
    "h": 315.3
  },
  "luminance": 0.10852
}

Semantic roles & 50–950 ramp

primary
#8A35AA
secondary
#8DC17A
accent
#DC4C73
background
#FBF7FC
surface
#F6EDF8
border
#D0C8D1
text
#110813
muted
#807B82

Preview Lab

Preview with #8A35AA

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

Preview Lab → · Contrast checker → · Palette generator →

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