#9420A8#9420A8

#9420A8 is a mid, highly saturated purple. Relative luminance 0.102; OKLCH L 49.5% C 0.212 H 321.1°. Best body text is #FFFFFF at 6.93:1 contrast (WCAG AA passes).

Color values

HEX#9420A8
RGBrgb(148, 32, 168)
HSLhsl(291, 68%, 39%)
HSVhsv(291, 81%, 66%)
CMYKcmyk(11.9%, 81%, 0%, 34.1%)
CIE-LABlab(38.12, 63.09, -47.44)
CIE-LCHlch(38.12, 78.94, 323.06°)
OKLaboklab(49.47% 0.1648 -0.1331)
OKLCHoklch(49.47% 0.212 321.1)
XYZxyz(19.7963, 10.1572, 37.9560)
Luminance0.1016 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9420A8 #34A820
analogous
#5020A8 #9420A8 #A82078
triadic
#9420A8 #A89420 #20A894
tetradic
#9420A8 #A85020 #34A820 #2078A8
square
#9420A8 #A85020 #34A820 #2078A8
split-complementary
#9420A8 #78A820 #20A850
monochromatic
#390C41 #671675 #9420A8 #BE2ED7 #CE61E1

Accessibility & contrast

On white

6.93
#9420A8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.03
#9420A8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9420A8
6.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9420A8#FFFFFF#000000##FFFFFF
##9420A81.006.933.036.93
#FFFFFF6.931.0021.001.00
#0000003.0321.001.0021.00
##FFFFFF6.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0052AC
Deuteranopia (green-blind)
#325EA5
Tritanopia (blue-blind)
#953E65
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #9420a8;
/* rgb */ color: rgb(148, 32, 168);
/* oklch */ color: oklch(49.5% 0.212 321.1);
Tailwind
colors: {
  custom: {
    50: '#b86bc2',
    500: '#9420a8',
    950: '#000000',
  },
}
SCSS
$custom: #9420a8;
$custom-light: #b86bc2;
$custom-dark: #000000;
JSON
{
  "hex": "#9420a8",
  "rgb": {
    "r": 148,
    "g": 32,
    "b": 168
  },
  "hsl": {
    "h": 291.176,
    "s": 68,
    "l": 39.216
  },
  "oklch": {
    "l": 0.49468,
    "c": 0.21183,
    "h": 321.1
  },
  "luminance": 0.10156
}

Semantic roles & 50–950 ramp

primary
#9420A8
secondary
#6DC65E
accent
#EB3D57
background
#FBF6FC
surface
#F7ECF8
border
#D0C7D1
text
#120812
muted
#817A81

Preview Lab

Preview with #9420A8

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

Preview Lab → · Contrast checker → · Palette generator →

#9420A8 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva