#8427A2#8427A2

#8427A2 is a mid, vivid purple. Relative luminance 0.090; OKLCH L 47.3% C 0.194 H 316.3°. Best body text is #FFFFFF at 7.52:1 contrast (WCAG AA passes).

Color values

HEX#8427A2
RGBrgb(132, 39, 162)
HSLhsl(285, 61%, 39%)
HSVhsv(285, 76%, 64%)
CMYKcmyk(18.5%, 75.9%, 0%, 36.5%)
CIE-LABlab(35.92, 56.60, -47.52)
CIE-LCHlch(35.92, 73.91, 319.99°)
OKLaboklab(47.27% 0.1403 -0.1338)
OKLCHoklch(47.27% 0.194 316.3)
XYZxyz(16.7618, 8.9659, 35.0231)
Luminance0.0896 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8427A2 #45A227
analogous
#4727A2 #8427A2 #A22783
triadic
#8427A2 #A28427 #27A284
tetradic
#8427A2 #A24727 #45A227 #2783A2
square
#8427A2 #A24727 #45A227 #2783A2
split-complementary
#8427A2 #83A227 #27A247
monochromatic
#340F3F #5C1B71 #8427A2 #AA37CF #BF69DB

Accessibility & contrast

On white

7.52
#8427A2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.79
#8427A2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8427A2
7.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8427A2#FFFFFF#000000##FFFFFF
##8427A21.007.522.797.52
#FFFFFF7.521.0021.001.00
#0000002.7921.001.0021.00
##FFFFFF7.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004FA5
Deuteranopia (green-blind)
#27579F
Tritanopia (blue-blind)
#824263
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #8427a2;
/* rgb */ color: rgb(132, 39, 162);
/* oklch */ color: oklch(47.3% 0.194 316.3);
Tailwind
colors: {
  custom: {
    50: '#ac6bbe',
    500: '#8427a2',
    950: '#000000',
  },
}
SCSS
$custom: #8427a2;
$custom-light: #ac6bbe;
$custom-dark: #000000;
JSON
{
  "hex": "#8427a2",
  "rgb": {
    "r": 132,
    "g": 39,
    "b": 162
  },
  "hsl": {
    "h": 285.366,
    "s": 61.194,
    "l": 39.412
  },
  "oklch": {
    "l": 0.47274,
    "c": 0.19388,
    "h": 316.3
  },
  "luminance": 0.08965
}

Semantic roles & 50–950 ramp

primary
#8427A2
secondary
#7BC164
accent
#E4436B
background
#FBF6FB
surface
#F6ECF7
border
#D0C7D0
text
#110712
muted
#807A81

Preview Lab

Preview with #8427A2

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

Preview Lab → · Contrast checker → · Palette generator →

#8427A2 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva