#A42CBF#A42CBF

#A42CBF is a mid, highly saturated purple. Relative luminance 0.135; OKLCH L 54.2% C 0.226 H 319.4°. Best body text is #FFFFFF at 5.69:1 contrast (WCAG AA passes).

Color values

HEX#A42CBF
RGBrgb(164, 44, 191)
HSLhsl(289, 63%, 46%)
HSVhsv(289, 77%, 75%)
CMYKcmyk(14.1%, 77%, 0%, 25.1%)
CIE-LABlab(43.44, 66.74, -52.35)
CIE-LCHlch(43.44, 84.82, 321.89°)
OKLaboklab(54.21% 0.1713 -0.147)
OKLCHoklch(54.21% 0.226 319.4)
XYZxyz(25.6133, 13.4567, 50.5284)
Luminance0.1346 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A42CBF #47BF2C
analogous
#5B2CBF #A42CBF #BF2C90
triadic
#A42CBF #BFA42C #2CBFA4
tetradic
#A42CBF #BF5B2C #47BF2C #2C90BF
square
#A42CBF #BF5B2C #47BF2C #2C90BF
split-complementary
#A42CBF #90BF2C #2CBF5B
monochromatic
#4F155C #79218D #A42CBF #BE51D7 #D183E2

Accessibility & contrast

On white

5.69
#A42CBF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.69
#A42CBF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A42CBF
5.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A42CBF#FFFFFF#000000##FFFFFF
##A42CBF1.005.693.695.69
#FFFFFF5.691.0021.001.00
#0000003.6921.001.0021.00
##FFFFFF5.691.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #a42cbf;
/* rgb */ color: rgb(164, 44, 191);
/* oklch */ color: oklch(54.2% 0.226 319.4);
Tailwind
colors: {
  custom: {
    50: '#c373d3',
    500: '#a42cbf',
    950: '#000000',
  },
}
SCSS
$custom: #a42cbf;
$custom-light: #c373d3;
$custom-dark: #000000;
JSON
{
  "hex": "#a42cbf",
  "rgb": {
    "r": 164,
    "g": 44,
    "b": 191
  },
  "hsl": {
    "h": 288.98,
    "s": 62.553,
    "l": 46.078
  },
  "oklch": {
    "l": 0.54209,
    "c": 0.22573,
    "h": 319.4
  },
  "luminance": 0.13455
}

Semantic roles & 50–950 ramp

primary
#A42CBF
secondary
#8ACC7B
accent
#E64260
background
#FCF7FD
surface
#F8EDFA
border
#D1C8D3
text
#130914
muted
#827B83

Preview Lab

Preview with #A42CBF

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

Preview Lab → · Contrast checker → · Palette generator →

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