#A42EDF#A42EDF

#A42EDF is a mid, highly saturated purple. Relative luminance 0.152; OKLCH L 56.6% C 0.251 H 310.9°. Best body text is #FFFFFF at 5.20:1 contrast (WCAG AA passes).

Color values

HEX#A42EDF
RGBrgb(164, 46, 223)
HSLhsl(280, 73%, 53%)
HSVhsv(280, 79%, 87%)
CMYKcmyk(26.5%, 79.4%, 0%, 12.5%)
CIE-LABlab(45.87, 72.23, -66.89)
CIE-LCHlch(45.87, 98.45, 317.20°)
OKLaboklab(56.62% 0.1641 -0.1897)
OKLCHoklch(56.62% 0.251 310.9)
XYZxyz(29.6035, 15.1749, 71.1673)
Luminance0.1517 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A42EDF #69DF2E
analogous
#4B2EDF #A42EDF #DF2EC1
triadic
#A42EDF #DFA42E #2EDFA4
tetradic
#A42EDF #DF4B2E #69DF2E #2EC1DF
square
#A42EDF #DF4B2E #69DF2E #2EC1DF
split-complementary
#A42EDF #C1DF2E #2EDF4B
monochromatic
#5B137F #811CB4 #A42EDF #BB63E7 #D298EF

Accessibility & contrast

On white

5.20
#A42EDF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.03
#A42EDF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A42EDF
5.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A42EDF#FFFFFF#000000##FFFFFF
##A42EDF1.005.204.035.20
#FFFFFF5.201.0021.001.00
#0000004.0321.001.0021.00
##FFFFFF5.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0068E4
Deuteranopia (green-blind)
#006EDB
Tritanopia (blue-blind)
#9C5B88
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #a42edf;
/* rgb */ color: rgb(164, 46, 223);
/* oklch */ color: oklch(56.6% 0.251 310.9);
Tailwind
colors: {
  custom: {
    50: '#c575ea',
    500: '#a42edf',
    950: '#000000',
  },
}
SCSS
$custom: #a42edf;
$custom-light: #c575ea;
$custom-dark: #000000;
JSON
{
  "hex": "#a42edf",
  "rgb": {
    "r": 164,
    "g": 46,
    "b": 223
  },
  "hsl": {
    "h": 280,
    "s": 73.444,
    "l": 52.745
  },
  "oklch": {
    "l": 0.56616,
    "c": 0.25087,
    "h": 310.9
  },
  "luminance": 0.15174
}

Semantic roles & 50–950 ramp

primary
#A42EDF
secondary
#A8DB8E
accent
#F03875
background
#FCF7FE
surface
#F9EEFD
border
#D2C9D5
text
#140916
muted
#827B84

Preview Lab

Preview with #A42EDF

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

Preview Lab → · Contrast checker → · Palette generator →

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