#A42EBF#A42EBF

#A42EBF is a mid, highly saturated purple. Relative luminance 0.136; OKLCH L 54.4% C 0.224 H 319.3°. Best body text is #FFFFFF at 5.64:1 contrast (WCAG AA passes).

Color values

HEX#A42EBF
RGBrgb(164, 46, 191)
HSLhsl(289, 61%, 46%)
HSVhsv(289, 76%, 75%)
CMYKcmyk(14.1%, 75.9%, 0%, 25.1%)
CIE-LABlab(43.67, 66.09, -51.99)
CIE-LCHlch(43.67, 84.09, 321.81°)
OKLaboklab(54.37% 0.1696 -0.146)
OKLCHoklch(54.37% 0.224 319.3)
XYZxyz(25.6896, 13.6094, 50.5538)
Luminance0.1361 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A42EBF #49BF2E
analogous
#5C2EBF #A42EBF #BF2E92
triadic
#A42EBF #BFA42E #2EBFA4
tetradic
#A42EBF #BF5C2E #49BF2E #2E92BF
square
#A42EBF #BF5C2E #49BF2E #2E92BF
split-complementary
#A42EBF #92BF2E #2EBF5C
monochromatic
#4F165C #7A228E #A42EBF #BE54D6 #D186E2

Accessibility & contrast

On white

5.64
#A42EBF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #A42EBF
5.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A42EBF#FFFFFF#000000##FFFFFF
##A42EBF1.005.643.725.64
#FFFFFF5.641.0021.001.00
#0000003.7221.001.0021.00
##FFFFFF5.641.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #a42ebf;
/* rgb */ color: rgb(164, 46, 191);
/* oklch */ color: oklch(54.4% 0.224 319.3);
Tailwind
colors: {
  custom: {
    50: '#c374d3',
    500: '#a42ebf',
    950: '#000000',
  },
}
SCSS
$custom: #a42ebf;
$custom-light: #c374d3;
$custom-dark: #000000;
JSON
{
  "hex": "#a42ebf",
  "rgb": {
    "r": 164,
    "g": 46,
    "b": 191
  },
  "hsl": {
    "h": 288.828,
    "s": 61.181,
    "l": 46.471
  },
  "oklch": {
    "l": 0.54368,
    "c": 0.22377,
    "h": 319.3
  },
  "luminance": 0.13608
}

Semantic roles & 50–950 ramp

primary
#A42EBF
secondary
#8CCB7E
accent
#E44461
background
#FCF7FD
surface
#F8EDFA
border
#D1C8D3
text
#130914
muted
#827B83

Preview Lab

Preview with #A42EBF

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

Preview Lab → · Contrast checker → · Palette generator →

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