#8427BA#8427BA

#8427BA is a mid, highly saturated violet. Relative luminance 0.099; OKLCH L 49.1% C 0.216 H 309.0°. Best body text is #FFFFFF at 7.05:1 contrast (WCAG AA passes).

Color values

HEX#8427BA
RGBrgb(132, 39, 186)
HSLhsl(278, 65%, 44%)
HSVhsv(278, 79%, 73%)
CMYKcmyk(29%, 79%, 0%, 27.1%)
CIE-LABlab(37.67, 61.56, -59.00)
CIE-LCHlch(37.67, 85.26, 316.22°)
OKLaboklab(49.06% 0.1358 -0.1676)
OKLCHoklch(49.06% 0.216 309)
XYZxyz(19.1023, 9.9021, 47.3498)
Luminance0.0990 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8427BA #5DBA27
analogous
#3B27BA #8427BA #BA27A7
triadic
#8427BA #BA8427 #27BA84
tetradic
#8427BA #BA3B27 #5DBA27 #27A7BA
square
#8427BA #BA3B27 #5DBA27 #27A7BA
split-complementary
#8427BA #A7BA27 #27BA3B
monochromatic
#3C1255 #601C87 #8427BA #A246D8 #BC79E3

Accessibility & contrast

On white

7.05
#8427BA on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.98
#8427BA on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8427BA
7.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8427BA#FFFFFF#000000##FFFFFF
##8427BA1.007.052.987.05
#FFFFFF7.051.0021.001.00
#0000002.9821.001.0021.00
##FFFFFF7.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0055BE
Deuteranopia (green-blind)
#005AB7
Tritanopia (blue-blind)
#7C4D71
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #8427ba;
/* rgb */ color: rgb(132, 39, 186);
/* oklch */ color: oklch(49.1% 0.216 309.0);
Tailwind
colors: {
  custom: {
    50: '#ad6dd0',
    500: '#8427ba',
    950: '#000000',
  },
}
SCSS
$custom: #8427ba;
$custom-light: #ad6dd0;
$custom-dark: #000000;
JSON
{
  "hex": "#8427ba",
  "rgb": {
    "r": 132,
    "g": 39,
    "b": 186
  },
  "hsl": {
    "h": 277.959,
    "s": 65.333,
    "l": 44.118
  },
  "oklch": {
    "l": 0.49055,
    "c": 0.21569,
    "h": 309
  },
  "luminance": 0.09902
}

Semantic roles & 50–950 ramp

primary
#8427BA
secondary
#93CB72
accent
#E8407E
background
#FBF6FC
surface
#F6ECF9
border
#D0C7D2
text
#110814
muted
#807B82

Preview Lab

Preview with #8427BA

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

Preview Lab → · Contrast checker → · Palette generator →

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