#A42FBC#A42FBC

#A42FBC is a mid, highly saturated purple. Relative luminance 0.136; OKLCH L 54.3% C 0.220 H 320.1°. Best body text is #FFFFFF at 5.66:1 contrast (WCAG AA passes).

Color values

HEX#A42FBC
RGBrgb(164, 47, 188)
HSLhsl(290, 60%, 46%)
HSVhsv(290, 75%, 74%)
CMYKcmyk(12.8%, 75%, 0%, 26.3%)
CIE-LABlab(43.59, 65.21, -50.36)
CIE-LCHlch(43.59, 82.39, 322.32°)
OKLaboklab(54.25% 0.169 -0.1412)
OKLCHoklch(54.25% 0.22 320.1)
XYZxyz(25.4023, 13.5577, 48.8461)
Luminance0.1356 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A42FBC #47BC2F
analogous
#5D2FBC #A42FBC #BC2F8D
triadic
#A42FBC #BCA42F #2FBCA4
tetradic
#A42FBC #BC5D2F #47BC2F #2F8DBC
square
#A42FBC #BC5D2F #47BC2F #2F8DBC
split-complementary
#A42FBC #8DBC2F #2FBC5D
monochromatic
#4F175A #79238B #A42FBC #BE54D4 #D185E0

Accessibility & contrast

On white

5.66
#A42FBC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.71
#A42FBC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A42FBC
5.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A42FBC#FFFFFF#000000##FFFFFF
##A42FBC1.005.663.715.66
#FFFFFF5.661.0021.001.00
#0000003.7121.001.0021.00
##FFFFFF5.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005FC0
Deuteranopia (green-blind)
#3D6BB9
Tritanopia (blue-blind)
#A54C74
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #a42fbc;
/* rgb */ color: rgb(164, 47, 188);
/* oklch */ color: oklch(54.3% 0.220 320.1);
Tailwind
colors: {
  custom: {
    50: '#c374d1',
    500: '#a42fbc',
    950: '#000000',
  },
}
SCSS
$custom: #a42fbc;
$custom-light: #c374d1;
$custom-dark: #000000;
JSON
{
  "hex": "#a42fbc",
  "rgb": {
    "r": 164,
    "g": 47,
    "b": 188
  },
  "hsl": {
    "h": 289.787,
    "s": 60,
    "l": 46.078
  },
  "oklch": {
    "l": 0.54253,
    "c": 0.22025,
    "h": 320.1
  },
  "luminance": 0.13556
}

Semantic roles & 50–950 ramp

primary
#A42FBC
secondary
#8ACA7D
accent
#E34560
background
#FCF7FC
surface
#F8EDF9
border
#D1C8D2
text
#130914
muted
#827B82

Preview Lab

Preview with #A42FBC

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

Preview Lab → · Contrast checker → · Palette generator →

#A42FBC Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva