#8A35B0#8A35B0

#8A35B0 is a mid, vivid purple. Relative luminance 0.111; OKLCH L 50.5% C 0.193 H 313.3°. Best body text is #FFFFFF at 6.53:1 contrast (WCAG AA passes).

Color values

HEX#8A35B0
RGBrgb(138, 53, 176)
HSLhsl(281, 54%, 45%)
HSVhsv(281, 70%, 69%)
CMYKcmyk(21.6%, 69.9%, 0%, 31%)
CIE-LABlab(39.72, 55.16, -49.71)
CIE-LCHlch(39.72, 74.26, 317.97°)
OKLaboklab(50.46% 0.1323 -0.1402)
OKLCHoklch(50.46% 0.193 313.3)
XYZxyz(19.5894, 11.0847, 42.1735)
Luminance0.1108 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A35B0 #5BB035
analogous
#4C35B0 #8A35B0 #B03599
triadic
#8A35B0 #B08A35 #35B08A
tetradic
#8A35B0 #B04C35 #5BB035 #3599B0
square
#8A35B0 #B04C35 #5BB035 #3599B0
split-complementary
#8A35B0 #99B035 #35B04C
monochromatic
#401952 #652781 #8A35B0 #A856CC #C085DA

Accessibility & contrast

On white

6.53
#8A35B0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.22
#8A35B0 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8A35B0
6.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A35B0#FFFFFF#000000##FFFFFF
##8A35B01.006.533.226.53
#FFFFFF6.531.0021.001.00
#0000003.2221.001.0021.00
##FFFFFF6.531.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0059B4
Deuteranopia (green-blind)
#2C60AD
Tritanopia (blue-blind)
#864F6F
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #8a35b0;
/* rgb */ color: rgb(138, 53, 176);
/* oklch */ color: oklch(50.5% 0.193 313.3);
Tailwind
colors: {
  custom: {
    50: '#b073c8',
    500: '#8a35b0',
    950: '#000000',
  },
}
SCSS
$custom: #8a35b0;
$custom-light: #b073c8;
$custom-dark: #000000;
JSON
{
  "hex": "#8a35b0",
  "rgb": {
    "r": 138,
    "g": 53,
    "b": 176
  },
  "hsl": {
    "h": 281.463,
    "s": 53.712,
    "l": 44.902
  },
  "oklch": {
    "l": 0.50463,
    "c": 0.19274,
    "h": 313.3
  },
  "luminance": 0.11084
}

Semantic roles & 50–950 ramp

primary
#8A35B0
secondary
#93C47D
accent
#DD4B78
background
#FBF7FC
surface
#F6EDF8
border
#D0C8D1
text
#110913
muted
#807B82

Preview Lab

Preview with #8A35B0

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

Preview Lab → · Contrast checker → · Palette generator →

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