#8A35AD#8A35AD

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

Color values

HEX#8A35AD
RGBrgb(138, 53, 173)
HSLhsl(283, 53%, 44%)
HSVhsv(283, 69%, 68%)
CMYKcmyk(20.2%, 69.4%, 0%, 32.2%)
CIE-LABlab(39.53, 54.53, -48.25)
CIE-LCHlch(39.53, 72.81, 318.50°)
OKLaboklab(50.26% 0.1325 -0.1359)
OKLCHoklch(50.26% 0.19 314.3)
XYZxyz(19.2959, 10.9672, 40.6275)
Luminance0.1097 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A35AD #58AD35
analogous
#4E35AD #8A35AD #AD3594
triadic
#8A35AD #AD8A35 #35AD8A
tetradic
#8A35AD #AD4E35 #58AD35 #3594AD
square
#8A35AD #AD4E35 #58AD35 #3594AD
split-complementary
#8A35AD #94AD35 #35AD4E
monochromatic
#3F184F #65277E #8A35AD #A854CB #C083D9

Accessibility & contrast

On white

6.58
#8A35AD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.19
#8A35AD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8A35AD
6.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A35AD#FFFFFF#000000##FFFFFF
##8A35AD1.006.583.196.58
#FFFFFF6.581.0021.001.00
#0000003.1921.001.0021.00
##FFFFFF6.581.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0058B1
Deuteranopia (green-blind)
#2F5FAA
Tritanopia (blue-blind)
#874D6D
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #8a35ad;
/* rgb */ color: rgb(138, 53, 173);
/* oklch */ color: oklch(50.3% 0.190 314.3);
Tailwind
colors: {
  custom: {
    50: '#b073c6',
    500: '#8a35ad',
    950: '#000000',
  },
}
SCSS
$custom: #8a35ad;
$custom-light: #b073c6;
$custom-dark: #000000;
JSON
{
  "hex": "#8a35ad",
  "rgb": {
    "r": 138,
    "g": 53,
    "b": 173
  },
  "hsl": {
    "h": 282.5,
    "s": 53.097,
    "l": 44.314
  },
  "oklch": {
    "l": 0.50259,
    "c": 0.18983,
    "h": 314.3
  },
  "luminance": 0.10967
}

Semantic roles & 50–950 ramp

primary
#8A35AD
secondary
#90C37B
accent
#DD4B76
background
#FBF7FC
surface
#F6EDF8
border
#D0C8D1
text
#110913
muted
#807B82

Preview Lab

Preview with #8A35AD

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

Preview Lab → · Contrast checker → · Palette generator →

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