#8427B2#8427B2

#8427B2 is a mid, highly saturated purple. Relative luminance 0.096; OKLCH L 48.4% C 0.208 H 311.3°. Best body text is #FFFFFF at 7.21:1 contrast (WCAG AA passes).

Color values

HEX#8427B2
RGBrgb(132, 39, 178)
HSLhsl(280, 64%, 43%)
HSVhsv(280, 78%, 70%)
CMYKcmyk(25.8%, 78.1%, 0%, 30.2%)
CIE-LABlab(37.06, 59.87, -55.24)
CIE-LCHlch(37.06, 81.47, 317.30°)
OKLaboklab(48.44% 0.1375 -0.1565)
OKLCHoklch(48.44% 0.208 311.3)
XYZxyz(18.2756, 9.5714, 42.9956)
Luminance0.0957 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8427B2 #55B227
analogous
#3F27B2 #8427B2 #B2279A
triadic
#8427B2 #B28427 #27B284
tetradic
#8427B2 #B23F27 #55B227 #279AB2
square
#8427B2 #B23F27 #55B227 #279AB2
split-complementary
#8427B2 #9AB227 #27B23F
monochromatic
#3A114E #5F1C80 #8427B2 #A441D5 #BC73E0

Accessibility & contrast

On white

7.21
#8427B2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.91
#8427B2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8427B2
7.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8427B2#FFFFFF#000000##FFFFFF
##8427B21.007.212.917.21
#FFFFFF7.211.0021.001.00
#0000002.9121.001.0021.00
##FFFFFF7.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0053B6
Deuteranopia (green-blind)
#0259AF
Tritanopia (blue-blind)
#7E496C
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #8427b2;
/* rgb */ color: rgb(132, 39, 178);
/* oklch */ color: oklch(48.4% 0.208 311.3);
Tailwind
colors: {
  custom: {
    50: '#ad6cca',
    500: '#8427b2',
    950: '#000000',
  },
}
SCSS
$custom: #8427b2;
$custom-light: #ad6cca;
$custom-dark: #000000;
JSON
{
  "hex": "#8427b2",
  "rgb": {
    "r": 132,
    "g": 39,
    "b": 178
  },
  "hsl": {
    "h": 280.144,
    "s": 64.055,
    "l": 42.549
  },
  "oklch": {
    "l": 0.48442,
    "c": 0.20838,
    "h": 311.3
  },
  "luminance": 0.09571
}

Semantic roles & 50–950 ramp

primary
#8427B2
secondary
#8BC86D
accent
#E74178
background
#FBF6FC
surface
#F6ECF8
border
#D0C7D1
text
#110813
muted
#807B82

Preview Lab

Preview with #8427B2

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

Preview Lab → · Contrast checker → · Palette generator →

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