#A427B1#A427B1

#A427B1 is a mid, highly saturated purple. Relative luminance 0.125; OKLCH L 52.9% C 0.219 H 323.8°. Best body text is #FFFFFF at 5.99:1 contrast (WCAG AA passes).

Color values

HEX#A427B1
RGBrgb(164, 39, 177)
HSLhsl(294, 64%, 42%)
HSVhsv(294, 78%, 69%)
CMYKcmyk(7.3%, 78%, 0%, 30.6%)
CIE-LABlab(42.03, 65.77, -46.39)
CIE-LCHlch(42.03, 80.48, 324.81°)
OKLaboklab(52.93% 0.1768 -0.1295)
OKLCHoklch(52.93% 0.219 323.8)
XYZxyz(23.9705, 12.5194, 42.7404)
Luminance0.1252 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A427B1 #34B127
analogous
#5F27B1 #A427B1 #B12779
triadic
#A427B1 #B1A427 #27B1A4
tetradic
#A427B1 #B15F27 #34B127 #2779B1
square
#A427B1 #B15F27 #34B127 #2779B1
split-complementary
#A427B1 #79B127 #27B15F
monochromatic
#47114D #761C7F #A427B1 #C740D5 #D672E0

Accessibility & contrast

On white

5.99
#A427B1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.50
#A427B1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A427B1
5.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A427B1#FFFFFF#000000##FFFFFF
##A427B11.005.993.505.99
#FFFFFF5.991.0021.001.00
#0000003.5021.001.0021.00
##FFFFFF5.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005AB5
Deuteranopia (green-blind)
#4168AE
Tritanopia (blue-blind)
#A7426C
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #a427b1;
/* rgb */ color: rgb(164, 39, 177);
/* oklch */ color: oklch(52.9% 0.219 323.8);
Tailwind
colors: {
  custom: {
    50: '#c370c9',
    500: '#a427b1',
    950: '#000000',
  },
}
SCSS
$custom: #a427b1;
$custom-light: #c370c9;
$custom-dark: #000000;
JSON
{
  "hex": "#a427b1",
  "rgb": {
    "r": 164,
    "g": 39,
    "b": 177
  },
  "hsl": {
    "h": 294.348,
    "s": 63.889,
    "l": 42.353
  },
  "oklch": {
    "l": 0.52926,
    "c": 0.21917,
    "h": 323.8
  },
  "luminance": 0.12518
}

Semantic roles & 50–950 ramp

primary
#A427B1
secondary
#75C76D
accent
#E74151
background
#FCF7FC
surface
#F8EDF8
border
#D1C8D1
text
#130913
muted
#827B82

Preview Lab

Preview with #A427B1

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

Preview Lab → · Contrast checker → · Palette generator →

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