#8428CD#8428CD

#8428CD is a mid, highly saturated violet. Relative luminance 0.108; OKLCH L 50.7% C 0.232 H 304.1°. Best body text is #FFFFFF at 6.63:1 contrast (WCAG AA passes).

Color values

HEX#8428CD
RGBrgb(132, 40, 205)
HSLhsl(273, 67%, 48%)
HSVhsv(273, 80%, 80%)
CMYKcmyk(35.6%, 80.5%, 0%, 19.6%)
CIE-LABlab(39.29, 65.33, -67.45)
CIE-LCHlch(39.29, 93.90, 314.08°)
OKLaboklab(50.66% 0.1301 -0.1924)
OKLCHoklch(50.66% 0.232 304.1)
XYZxyz(21.2914, 10.8309, 58.7147)
Luminance0.1083 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8428CD #71CD28
analogous
#3228CD #8428CD #CD28C3
triadic
#8428CD #CD8428 #28CD84
tetradic
#8428CD #CD3228 #71CD28 #28C3CD
square
#8428CD #CD3228 #71CD28 #28C3CD
split-complementary
#8428CD #C3CD28 #28CD32
monochromatic
#421467 #631E9A #8428CD #A154DE #BD88E8

Accessibility & contrast

On white

6.63
#8428CD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.17
#8428CD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8428CD
6.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8428CD#FFFFFF#000000##FFFFFF
##8428CD1.006.633.176.63
#FFFFFF6.631.0021.001.00
#0000003.1721.001.0021.00
##FFFFFF6.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005BD1
Deuteranopia (green-blind)
#005CCA
Tritanopia (blue-blind)
#75557C
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #8428cd;
/* rgb */ color: rgb(132, 40, 205);
/* oklch */ color: oklch(50.7% 0.232 304.1);
Tailwind
colors: {
  custom: {
    50: '#af6edd',
    500: '#8428cd',
    950: '#000000',
  },
}
SCSS
$custom: #8428cd;
$custom-light: #af6edd;
$custom-dark: #000000;
JSON
{
  "hex": "#8428cd",
  "rgb": {
    "r": 132,
    "g": 40,
    "b": 205
  },
  "hsl": {
    "h": 273.455,
    "s": 67.347,
    "l": 48.039
  },
  "oklch": {
    "l": 0.5066,
    "c": 0.23229,
    "h": 304.1
  },
  "luminance": 0.10831
}

Semantic roles & 50–950 ramp

primary
#8428CD
secondary
#A4D180
accent
#EA3E8A
background
#FBF7FD
surface
#F6EDFB
border
#D0C8D4
text
#110815
muted
#807B83

Preview Lab

Preview with #8428CD

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

Preview Lab → · Contrast checker → · Palette generator →

#8428CD Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva