#A42DBF#A42DBF

#A42DBF is a mid, highly saturated purple. Relative luminance 0.135; OKLCH L 54.3% C 0.225 H 319.3°. Best body text is #FFFFFF at 5.67:1 contrast (WCAG AA passes).

Color values

HEX#A42DBF
RGBrgb(164, 45, 191)
HSLhsl(289, 62%, 46%)
HSVhsv(289, 76%, 75%)
CMYKcmyk(14.1%, 76.4%, 0%, 25.1%)
CIE-LABlab(43.55, 66.42, -52.17)
CIE-LCHlch(43.55, 84.46, 321.85°)
OKLaboklab(54.29% 0.1704 -0.1465)
OKLCHoklch(54.29% 0.225 319.3)
XYZxyz(25.6510, 13.5322, 50.5409)
Luminance0.1353 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A42DBF #48BF2D
analogous
#5B2DBF #A42DBF #BF2D91
triadic
#A42DBF #BFA42D #2DBFA4
tetradic
#A42DBF #BF5B2D #48BF2D #2D91BF
square
#A42DBF #BF5B2D #48BF2D #2D91BF
split-complementary
#A42DBF #91BF2D #2DBF5B
monochromatic
#4F165C #79218D #A42DBF #BE53D6 #D184E2

Accessibility & contrast

On white

5.67
#A42DBF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #A42DBF
5.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A42DBF#FFFFFF#000000##FFFFFF
##A42DBF1.005.673.715.67
#FFFFFF5.671.0021.001.00
#0000003.7121.001.0021.00
##FFFFFF5.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005FC3
Deuteranopia (green-blind)
#386BBC
Tritanopia (blue-blind)
#A44C75
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #a42dbf;
/* rgb */ color: rgb(164, 45, 191);
/* oklch */ color: oklch(54.3% 0.225 319.3);
Tailwind
colors: {
  custom: {
    50: '#c373d3',
    500: '#a42dbf',
    950: '#000000',
  },
}
SCSS
$custom: #a42dbf;
$custom-light: #c373d3;
$custom-dark: #000000;
JSON
{
  "hex": "#a42dbf",
  "rgb": {
    "r": 164,
    "g": 45,
    "b": 191
  },
  "hsl": {
    "h": 288.904,
    "s": 61.864,
    "l": 46.275
  },
  "oklch": {
    "l": 0.54288,
    "c": 0.22475,
    "h": 319.3
  },
  "luminance": 0.13531
}

Semantic roles & 50–950 ramp

primary
#A42DBF
secondary
#8BCB7C
accent
#E54361
background
#FCF7FD
surface
#F8EDFA
border
#D1C8D3
text
#130914
muted
#827B83

Preview Lab

Preview with #A42DBF

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

Preview Lab → · Contrast checker → · Palette generator →

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