#A42EBD#A42EBD

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

Color values

HEX#A42EBD
RGBrgb(164, 46, 189)
HSLhsl(290, 61%, 46%)
HSVhsv(290, 76%, 74%)
CMYKcmyk(13.2%, 75.7%, 0%, 25.9%)
CIE-LABlab(43.54, 65.72, -51.03)
CIE-LCHlch(43.54, 83.21, 322.17°)
OKLaboklab(54.24% 0.1698 -0.1432)
OKLCHoklch(54.24% 0.222 319.9)
XYZxyz(25.4710, 13.5219, 49.4026)
Luminance0.1352 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A42EBD #47BD2E
analogous
#5C2EBD #A42EBD #BD2E8E
triadic
#A42EBD #BDA42E #2EBDA4
tetradic
#A42EBD #BD5C2E #47BD2E #2E8EBD
square
#A42EBD #BD5C2E #47BD2E #2E8EBD
split-complementary
#A42EBD #8EBD2E #2EBD5C
monochromatic
#4F165B #79228C #A42EBD #BE53D5 #D184E1

Accessibility & contrast

On white

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

On black

3.70
#A42EBD on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##A42EBD#FFFFFF#000000##FFFFFF
##A42EBD1.005.673.705.67
#FFFFFF5.671.0021.001.00
#0000003.7021.001.0021.00
##FFFFFF5.671.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #a42ebd;
/* rgb */ color: rgb(164, 46, 189);
/* oklch */ color: oklch(54.2% 0.222 319.9);
Tailwind
colors: {
  custom: {
    50: '#c374d2',
    500: '#a42ebd',
    950: '#000000',
  },
}
SCSS
$custom: #a42ebd;
$custom-light: #c374d2;
$custom-dark: #000000;
JSON
{
  "hex": "#a42ebd",
  "rgb": {
    "r": 164,
    "g": 46,
    "b": 189
  },
  "hsl": {
    "h": 289.51,
    "s": 60.851,
    "l": 46.078
  },
  "oklch": {
    "l": 0.54236,
    "c": 0.2221,
    "h": 319.9
  },
  "luminance": 0.13521
}

Semantic roles & 50–950 ramp

primary
#A42EBD
secondary
#8ACA7C
accent
#E44460
background
#FCF7FC
surface
#F8EDF9
border
#D1C8D2
text
#130914
muted
#827B82

Preview Lab

Preview with #A42EBD

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

Preview Lab → · Contrast checker → · Palette generator →

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