#8A35A7#8A35A7

#8A35A7 is a mid, vivid purple. Relative luminance 0.107; OKLCH L 49.9% C 0.184 H 316.3°. Best body text is #FFFFFF at 6.67:1 contrast (WCAG AA passes).

Color values

HEX#8A35A7
RGBrgb(138, 53, 167)
HSLhsl(285, 52%, 43%)
HSVhsv(285, 68%, 65%)
CMYKcmyk(17.4%, 68.3%, 0%, 34.5%)
CIE-LABlab(39.14, 53.28, -45.30)
CIE-LCHlch(39.14, 69.93, 319.63°)
OKLaboklab(49.86% 0.133 -0.1272)
OKLCHoklch(49.86% 0.184 316.3)
XYZxyz(18.7283, 10.7402, 37.6383)
Luminance0.1074 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A35A7 #52A735
analogous
#5135A7 #8A35A7 #A7358B
triadic
#8A35A7 #A78A35 #35A78A
tetradic
#8A35A7 #A75135 #52A735 #358BA7
square
#8A35A7 #A75135 #52A735 #358BA7
split-complementary
#8A35A7 #8BA735 #35A751
monochromatic
#3D184A #642679 #8A35A7 #AA51C8 #C180D7

Accessibility & contrast

On white

6.67
#8A35A7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.15
#8A35A7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8A35A7
6.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A35A7#FFFFFF#000000##FFFFFF
##8A35A71.006.673.156.67
#FFFFFF6.671.0021.001.00
#0000003.1521.001.0021.00
##FFFFFF6.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0057AA
Deuteranopia (green-blind)
#355FA4
Tritanopia (blue-blind)
#884B6A
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #8a35a7;
/* rgb */ color: rgb(138, 53, 167);
/* oklch */ color: oklch(49.9% 0.184 316.3);
Tailwind
colors: {
  custom: {
    50: '#b073c2',
    500: '#8a35a7',
    950: '#000000',
  },
}
SCSS
$custom: #8a35a7;
$custom-light: #b073c2;
$custom-dark: #000000;
JSON
{
  "hex": "#8a35a7",
  "rgb": {
    "r": 138,
    "g": 53,
    "b": 167
  },
  "hsl": {
    "h": 284.737,
    "s": 51.818,
    "l": 43.137
  },
  "oklch": {
    "l": 0.49859,
    "c": 0.18403,
    "h": 316.3
  },
  "luminance": 0.1074
}

Semantic roles & 50–950 ramp

primary
#8A35A7
secondary
#8AC078
accent
#DB4D71
background
#FBF7FC
surface
#F6EDF8
border
#D0C8D1
text
#110812
muted
#807B81

Preview Lab

Preview with #8A35A7

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

Preview Lab → · Contrast checker → · Palette generator →

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