#A42FBF#A42FBF

#A42FBF is a mid, highly saturated purple. Relative luminance 0.137; OKLCH L 54.4% C 0.223 H 319.2°. Best body text is #FFFFFF at 5.62:1 contrast (WCAG AA passes).

Color values

HEX#A42FBF
RGBrgb(164, 47, 191)
HSLhsl(289, 61%, 47%)
HSVhsv(289, 75%, 75%)
CMYKcmyk(14.1%, 75.4%, 0%, 25.1%)
CIE-LABlab(43.78, 65.76, -51.81)
CIE-LCHlch(43.78, 83.72, 321.77°)
OKLaboklab(54.45% 0.1687 -0.1455)
OKLCHoklch(54.45% 0.223 319.2)
XYZxyz(25.7291, 13.6884, 50.5670)
Luminance0.1369 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A42FBF #4ABF2F
analogous
#5C2FBF #A42FBF #BF2F92
triadic
#A42FBF #BFA42F #2FBFA4
tetradic
#A42FBF #BF5C2F #4ABF2F #2F92BF
square
#A42FBF #BF5C2F #4ABF2F #2F92BF
split-complementary
#A42FBF #92BF2F #2FBF5C
monochromatic
#50175D #7A238E #A42FBF #BD56D5 #D087E1

Accessibility & contrast

On white

5.62
#A42FBF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.74
#A42FBF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A42FBF
5.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A42FBF#FFFFFF#000000##FFFFFF
##A42FBF1.005.623.745.62
#FFFFFF5.621.0021.001.00
#0000003.7421.001.0021.00
##FFFFFF5.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0060C3
Deuteranopia (green-blind)
#3A6BBC
Tritanopia (blue-blind)
#A44D76
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #a42fbf;
/* rgb */ color: rgb(164, 47, 191);
/* oklch */ color: oklch(54.4% 0.223 319.2);
Tailwind
colors: {
  custom: {
    50: '#c374d3',
    500: '#a42fbf',
    950: '#000000',
  },
}
SCSS
$custom: #a42fbf;
$custom-light: #c374d3;
$custom-dark: #000000;
JSON
{
  "hex": "#a42fbf",
  "rgb": {
    "r": 164,
    "g": 47,
    "b": 191
  },
  "hsl": {
    "h": 288.75,
    "s": 60.504,
    "l": 46.667
  },
  "oklch": {
    "l": 0.5445,
    "c": 0.22276,
    "h": 319.2
  },
  "luminance": 0.13687
}

Semantic roles & 50–950 ramp

primary
#A42FBF
secondary
#8DCB7F
accent
#E44462
background
#FCF7FD
surface
#F8EDFA
border
#D1C8D3
text
#130914
muted
#827B83

Preview Lab

Preview with #A42FBF

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

Preview Lab → · Contrast checker → · Palette generator →

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