#8A35AF#8A35AF

#8A35AF is a mid, vivid purple. Relative luminance 0.110; OKLCH L 50.4% C 0.192 H 313.6°. Best body text is #FFFFFF at 6.54:1 contrast (WCAG AA passes).

Color values

HEX#8A35AF
RGBrgb(138, 53, 175)
HSLhsl(282, 54%, 45%)
HSVhsv(282, 70%, 69%)
CMYKcmyk(21.1%, 69.7%, 0%, 31.4%)
CIE-LABlab(39.66, 54.95, -49.23)
CIE-LCHlch(39.66, 73.78, 318.14°)
OKLaboklab(50.4% 0.1324 -0.1388)
OKLCHoklch(50.4% 0.192 313.6)
XYZxyz(19.4909, 11.0452, 41.6543)
Luminance0.1105 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A35AF #5AAF35
analogous
#4D35AF #8A35AF #AF3597
triadic
#8A35AF #AF8A35 #35AF8A
tetradic
#8A35AF #AF4D35 #5AAF35 #3597AF
square
#8A35AF #AF4D35 #5AAF35 #3597AF
split-complementary
#8A35AF #97AF35 #35AF4D
monochromatic
#401951 #652780 #8A35AF #A856CC #C085DA

Accessibility & contrast

On white

6.54
#8A35AF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.21
#8A35AF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8A35AF
6.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A35AF#FFFFFF#000000##FFFFFF
##8A35AF1.006.543.216.54
#FFFFFF6.541.0021.001.00
#0000003.2121.001.0021.00
##FFFFFF6.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0059B3
Deuteranopia (green-blind)
#2D5FAC
Tritanopia (blue-blind)
#864E6E
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #8a35af;
/* rgb */ color: rgb(138, 53, 175);
/* oklch */ color: oklch(50.4% 0.192 313.6);
Tailwind
colors: {
  custom: {
    50: '#b073c7',
    500: '#8a35af',
    950: '#000000',
  },
}
SCSS
$custom: #8a35af;
$custom-light: #b073c7;
$custom-dark: #000000;
JSON
{
  "hex": "#8a35af",
  "rgb": {
    "r": 138,
    "g": 53,
    "b": 175
  },
  "hsl": {
    "h": 281.803,
    "s": 53.509,
    "l": 44.706
  },
  "oklch": {
    "l": 0.50395,
    "c": 0.19176,
    "h": 313.6
  },
  "luminance": 0.11045
}

Semantic roles & 50–950 ramp

primary
#8A35AF
secondary
#92C47C
accent
#DD4B77
background
#FBF7FC
surface
#F6EDF8
border
#D0C8D1
text
#110913
muted
#807B82

Preview Lab

Preview with #8A35AF

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

Preview Lab → · Contrast checker → · Palette generator →

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