#A42FD3#A42FD3

#A42FD3 is a mid, highly saturated purple. Relative luminance 0.146; OKLCH L 55.8% C 0.240 H 313.8°. Best body text is #FFFFFF at 5.35:1 contrast (WCAG AA passes).

Color values

HEX#A42FD3
RGBrgb(164, 47, 211)
HSLhsl(283, 65%, 51%)
HSVhsv(283, 78%, 83%)
CMYKcmyk(22.3%, 77.7%, 0%, 17.3%)
CIE-LABlab(45.12, 69.56, -61.24)
CIE-LCHlch(45.12, 92.67, 318.64°)
OKLaboklab(55.82% 0.1658 -0.1731)
OKLCHoklch(55.82% 0.24 313.8)
XYZxyz(28.0822, 14.6296, 62.9599)
Luminance0.1463 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A42FD3 #5ED32F
analogous
#522FD3 #A42FD3 #D32FB0
triadic
#A42FD3 #D3A42F #2FD3A4
tetradic
#A42FD3 #D3522F #5ED32F #2FB0D3
square
#A42FD3 #D3522F #5ED32F #2FB0D3
split-complementary
#A42FD3 #B0D32F #2FD352
monochromatic
#571870 #7E22A2 #A42FD3 #BA62DE #D094E8

Accessibility & contrast

On white

5.35
#A42FD3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.93
#A42FD3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A42FD3
5.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A42FD3#FFFFFF#000000##FFFFFF
##A42FD31.005.353.935.35
#FFFFFF5.351.0021.001.00
#0000003.9321.001.0021.00
##FFFFFF5.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0065D7
Deuteranopia (green-blind)
#1D6DD0
Tritanopia (blue-blind)
#9F5681
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #a42fd3;
/* rgb */ color: rgb(164, 47, 211);
/* oklch */ color: oklch(55.8% 0.240 313.8);
Tailwind
colors: {
  custom: {
    50: '#c475e1',
    500: '#a42fd3',
    950: '#000000',
  },
}
SCSS
$custom: #a42fd3;
$custom-light: #c475e1;
$custom-dark: #000000;
JSON
{
  "hex": "#a42fd3",
  "rgb": {
    "r": 164,
    "g": 47,
    "b": 211
  },
  "hsl": {
    "h": 282.805,
    "s": 65.079,
    "l": 50.588
  },
  "oklch": {
    "l": 0.5582,
    "c": 0.2397,
    "h": 313.8
  },
  "luminance": 0.14629
}

Semantic roles & 50–950 ramp

primary
#A42FD3
secondary
#9FD38A
accent
#E84070
background
#FCF7FD
surface
#F8EEFB
border
#D1C9D4
text
#130915
muted
#827B83

Preview Lab

Preview with #A42FD3

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

Preview Lab → · Contrast checker → · Palette generator →

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