#A42FBD#A42FBD

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

Color values

HEX#A42FBD
RGBrgb(164, 47, 189)
HSLhsl(289, 60%, 46%)
HSVhsv(289, 75%, 74%)
CMYKcmyk(13.2%, 75.1%, 0%, 25.9%)
CIE-LABlab(43.66, 65.39, -50.84)
CIE-LCHlch(43.66, 82.83, 322.13°)
OKLaboklab(54.32% 0.1689 -0.1426)
OKLCHoklch(54.32% 0.221 319.8)
XYZxyz(25.5105, 13.6010, 49.4158)
Luminance0.1360 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A42FBD #48BD2F
analogous
#5D2FBD #A42FBD #BD2F8F
triadic
#A42FBD #BDA42F #2FBDA4
tetradic
#A42FBD #BD5D2F #48BD2F #2F8FBD
square
#A42FBD #BD5D2F #48BD2F #2F8FBD
split-complementary
#A42FBD #8FBD2F #2FBD5D
monochromatic
#4F175B #79238C #A42FBD #BE55D5 #D186E1

Accessibility & contrast

On white

5.65
#A42FBD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.72
#A42FBD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A42FBD
5.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A42FBD#FFFFFF#000000##FFFFFF
##A42FBD1.005.653.725.65
#FFFFFF5.651.0021.001.00
#0000003.7221.001.0021.00
##FFFFFF5.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005FC1
Deuteranopia (green-blind)
#3C6BBA
Tritanopia (blue-blind)
#A44C74
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #a42fbd;
/* rgb */ color: rgb(164, 47, 189);
/* oklch */ color: oklch(54.3% 0.221 319.8);
Tailwind
colors: {
  custom: {
    50: '#c374d2',
    500: '#a42fbd',
    950: '#000000',
  },
}
SCSS
$custom: #a42fbd;
$custom-light: #c374d2;
$custom-dark: #000000;
JSON
{
  "hex": "#a42fbd",
  "rgb": {
    "r": 164,
    "g": 47,
    "b": 189
  },
  "hsl": {
    "h": 289.437,
    "s": 60.169,
    "l": 46.275
  },
  "oklch": {
    "l": 0.54318,
    "c": 0.22109,
    "h": 319.8
  },
  "luminance": 0.136
}

Semantic roles & 50–950 ramp

primary
#A42FBD
secondary
#8BCA7E
accent
#E34460
background
#FCF7FC
surface
#F8EDF9
border
#D1C8D2
text
#130914
muted
#827B82

Preview Lab

Preview with #A42FBD

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

Preview Lab → · Contrast checker → · Palette generator →

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