#8427A5#8427A5

#8427A5 is a mid, vivid purple. Relative luminance 0.091; OKLCH L 47.5% C 0.197 H 315.3°. Best body text is #FFFFFF at 7.46:1 contrast (WCAG AA passes).

Color values

HEX#8427A5
RGBrgb(132, 39, 165)
HSLhsl(284, 62%, 40%)
HSVhsv(284, 76%, 65%)
CMYKcmyk(20%, 76.4%, 0%, 35.3%)
CIE-LABlab(36.13, 57.21, -48.99)
CIE-LCHlch(36.13, 75.32, 319.42°)
OKLaboklab(47.49% 0.1398 -0.1382)
OKLCHoklch(47.49% 0.197 315.3)
XYZxyz(17.0317, 9.0738, 36.4443)
Luminance0.0907 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8427A5 #48A527
analogous
#4527A5 #8427A5 #A52787
triadic
#8427A5 #A58427 #27A584
tetradic
#8427A5 #A54527 #48A527 #2787A5
square
#8427A5 #A54527 #48A527 #2787A5
split-complementary
#8427A5 #87A527 #27A545
monochromatic
#351042 #5C1B74 #8427A5 #A939D0 #BE6ADC

Accessibility & contrast

On white

7.46
#8427A5 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.81
#8427A5 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8427A5
7.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8427A5#FFFFFF#000000##FFFFFF
##8427A51.007.462.817.46
#FFFFFF7.461.0021.001.00
#0000002.8121.001.0021.00
##FFFFFF7.461.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0050A8
Deuteranopia (green-blind)
#2357A2
Tritanopia (blue-blind)
#814365
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #8427a5;
/* rgb */ color: rgb(132, 39, 165);
/* oklch */ color: oklch(47.5% 0.197 315.3);
Tailwind
colors: {
  custom: {
    50: '#ac6cc0',
    500: '#8427a5',
    950: '#000000',
  },
}
SCSS
$custom: #8427a5;
$custom-light: #ac6cc0;
$custom-dark: #000000;
JSON
{
  "hex": "#8427a5",
  "rgb": {
    "r": 132,
    "g": 39,
    "b": 165
  },
  "hsl": {
    "h": 284.286,
    "s": 61.765,
    "l": 40
  },
  "oklch": {
    "l": 0.47487,
    "c": 0.19659,
    "h": 315.3
  },
  "luminance": 0.09073
}

Semantic roles & 50–950 ramp

primary
#8427A5
secondary
#7EC266
accent
#E5436D
background
#FBF6FB
surface
#F6ECF7
border
#D0C7D0
text
#110712
muted
#807A81

Preview Lab

Preview with #8427A5

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

Preview Lab → · Contrast checker → · Palette generator →

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