#8A35B3#8A35B3

#8A35B3 is a mid, vivid purple. Relative luminance 0.112; OKLCH L 50.7% C 0.196 H 312.4°. Best body text is #FFFFFF at 6.48:1 contrast (WCAG AA passes).

Color values

HEX#8A35B3
RGBrgb(138, 53, 179)
HSLhsl(280, 54%, 45%)
HSVhsv(280, 70%, 70%)
CMYKcmyk(22.9%, 70.4%, 0%, 29.8%)
CIE-LABlab(39.92, 55.80, -51.17)
CIE-LCHlch(39.92, 75.71, 317.48°)
OKLaboklab(50.67% 0.132 -0.1445)
OKLCHoklch(50.67% 0.196 312.4)
XYZxyz(19.8895, 11.2047, 43.7541)
Luminance0.1120 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A35B3 #5EB335
analogous
#4B35B3 #8A35B3 #B3359D
triadic
#8A35B3 #B38A35 #35B38A
tetradic
#8A35B3 #B34B35 #5EB335 #359DB3
square
#8A35B3 #B34B35 #5EB335 #359DB3
split-complementary
#8A35B3 #9DB335 #35B34B
monochromatic
#411955 #662784 #8A35B3 #A758CD #C087DB

Accessibility & contrast

On white

6.48
#8A35B3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.24
#8A35B3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8A35B3
6.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A35B3#FFFFFF#000000##FFFFFF
##8A35B31.006.483.246.48
#FFFFFF6.481.0021.001.00
#0000003.2421.001.0021.00
##FFFFFF6.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005AB7
Deuteranopia (green-blind)
#2860B0
Tritanopia (blue-blind)
#855070
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #8a35b3;
/* rgb */ color: rgb(138, 53, 179);
/* oklch */ color: oklch(50.7% 0.196 312.4);
Tailwind
colors: {
  custom: {
    50: '#b073ca',
    500: '#8a35b3',
    950: '#000000',
  },
}
SCSS
$custom: #8a35b3;
$custom-light: #b073ca;
$custom-dark: #000000;
JSON
{
  "hex": "#8a35b3",
  "rgb": {
    "r": 138,
    "g": 53,
    "b": 179
  },
  "hsl": {
    "h": 280.476,
    "s": 54.31,
    "l": 45.49
  },
  "oklch": {
    "l": 0.5067,
    "c": 0.19566,
    "h": 312.4
  },
  "luminance": 0.11204
}

Semantic roles & 50–950 ramp

primary
#8A35B3
secondary
#96C57F
accent
#DE4A7A
background
#FBF7FC
surface
#F6EDF8
border
#D0C8D1
text
#110913
muted
#807B82

Preview Lab

Preview with #8A35B3

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

Preview Lab → · Contrast checker → · Palette generator →

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