#8428CC#8428CC

#8428CC is a mid, highly saturated violet. Relative luminance 0.108; OKLCH L 50.6% C 0.231 H 304.3°. Best body text is #FFFFFF at 6.65:1 contrast (WCAG AA passes).

Color values

HEX#8428CC
RGBrgb(132, 40, 204)
HSLhsl(274, 67%, 48%)
HSVhsv(274, 80%, 80%)
CMYKcmyk(35.3%, 80.4%, 0%, 20%)
CIE-LABlab(39.21, 65.11, -67.01)
CIE-LCHlch(39.21, 93.43, 314.18°)
OKLaboklab(50.58% 0.1304 -0.1911)
OKLCHoklch(50.58% 0.231 304.3)
XYZxyz(21.1711, 10.7828, 58.0810)
Luminance0.1078 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8428CC #70CC28
analogous
#3228CC #8428CC #CC28C2
triadic
#8428CC #CC8428 #28CC84
tetradic
#8428CC #CC3228 #70CC28 #28C2CC
square
#8428CC #CC3228 #70CC28 #28C2CC
split-complementary
#8428CC #C2CC28 #28CC32
monochromatic
#421466 #631E99 #8428CC #A154DD #BD87E7

Accessibility & contrast

On white

6.65
#8428CC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.16
#8428CC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8428CC
6.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8428CC#FFFFFF#000000##FFFFFF
##8428CC1.006.653.166.65
#FFFFFF6.651.0021.001.00
#0000003.1621.001.0021.00
##FFFFFF6.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005AD0
Deuteranopia (green-blind)
#005CC9
Tritanopia (blue-blind)
#76557B
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #8428cc;
/* rgb */ color: rgb(132, 40, 204);
/* oklch */ color: oklch(50.6% 0.231 304.3);
Tailwind
colors: {
  custom: {
    50: '#ae6edd',
    500: '#8428cc',
    950: '#000000',
  },
}
SCSS
$custom: #8428cc;
$custom-light: #ae6edd;
$custom-dark: #000000;
JSON
{
  "hex": "#8428cc",
  "rgb": {
    "r": 132,
    "g": 40,
    "b": 204
  },
  "hsl": {
    "h": 273.659,
    "s": 67.213,
    "l": 47.843
  },
  "oklch": {
    "l": 0.50578,
    "c": 0.23136,
    "h": 304.3
  },
  "luminance": 0.10783
}

Semantic roles & 50–950 ramp

primary
#8428CC
secondary
#A3D17F
accent
#EA3E89
background
#FBF7FD
surface
#F6EDFB
border
#D0C8D4
text
#110815
muted
#807B83

Preview Lab

Preview with #8428CC

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

Preview Lab → · Contrast checker → · Palette generator →

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