#A42FC1#A42FC1

#A42FC1 is a mid, highly saturated purple. Relative luminance 0.138; OKLCH L 54.6% C 0.224 H 318.6°. Best body text is #FFFFFF at 5.59:1 contrast (WCAG AA passes).

Color values

HEX#A42FC1
RGBrgb(164, 47, 193)
HSLhsl(288, 61%, 47%)
HSVhsv(288, 76%, 76%)
CMYKcmyk(15%, 75.6%, 0%, 24.3%)
CIE-LABlab(43.91, 66.13, -52.77)
CIE-LCHlch(43.91, 84.60, 321.41°)
OKLaboklab(54.58% 0.1685 -0.1483)
OKLCHoklch(54.58% 0.224 318.6)
XYZxyz(25.9507, 13.7770, 51.7340)
Luminance0.1378 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A42FC1 #4CC12F
analogous
#5B2FC1 #A42FC1 #C12F95
triadic
#A42FC1 #C1A42F #2FC1A4
tetradic
#A42FC1 #C15B2F #4CC12F #2F95C1
square
#A42FC1 #C15B2F #4CC12F #2F95C1
split-complementary
#A42FC1 #95C12F #2FC15B
monochromatic
#50175F #7A2390 #A42FC1 #BD57D6 #D088E2

Accessibility & contrast

On white

5.59
#A42FC1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.76
#A42FC1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A42FC1
5.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A42FC1#FFFFFF#000000##FFFFFF
##A42FC11.005.593.765.59
#FFFFFF5.591.0021.001.00
#0000003.7621.001.0021.00
##FFFFFF5.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0060C5
Deuteranopia (green-blind)
#386BBE
Tritanopia (blue-blind)
#A34E77
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #a42fc1;
/* rgb */ color: rgb(164, 47, 193);
/* oklch */ color: oklch(54.6% 0.224 318.6);
Tailwind
colors: {
  custom: {
    50: '#c374d4',
    500: '#a42fc1',
    950: '#000000',
  },
}
SCSS
$custom: #a42fc1;
$custom-light: #c374d4;
$custom-dark: #000000;
JSON
{
  "hex": "#a42fc1",
  "rgb": {
    "r": 164,
    "g": 47,
    "b": 193
  },
  "hsl": {
    "h": 288.082,
    "s": 60.833,
    "l": 47.059
  },
  "oklch": {
    "l": 0.54582,
    "c": 0.22444,
    "h": 318.6
  },
  "luminance": 0.13776
}

Semantic roles & 50–950 ramp

primary
#A42FC1
secondary
#8FCC80
accent
#E44464
background
#FCF7FD
surface
#F8EDFA
border
#D1C8D3
text
#130914
muted
#827B83

Preview Lab

Preview with #A42FC1

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

Preview Lab → · Contrast checker → · Palette generator →

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