#A51EB3#A51EB3

#A51EB3 is a mid, highly saturated purple. Relative luminance 0.122; OKLCH L 52.6% C 0.229 H 323.7°. Best body text is #FFFFFF at 6.11:1 contrast (WCAG AA passes).

Color values

HEX#A51EB3
RGBrgb(165, 30, 179)
HSLhsl(294, 71%, 41%)
HSVhsv(294, 83%, 70%)
CMYKcmyk(7.8%, 83.2%, 0%, 29.8%)
CIE-LABlab(41.51, 68.67, -48.40)
CIE-LCHlch(41.51, 84.01, 324.82°)
OKLaboklab(52.63% 0.1842 -0.1353)
OKLCHoklch(52.63% 0.229 323.7)
XYZxyz(24.1173, 12.1841, 43.7206)
Luminance0.1218 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A51EB3 #2CB31E
analogous
#5A1EB3 #A51EB3 #B31E76
triadic
#A51EB3 #B3A51E #1EB3A5
tetradic
#A51EB3 #B35A1E #2CB31E #1E76B3
square
#A51EB3 #B35A1E #2CB31E #1E76B3
split-complementary
#A51EB3 #76B31E #1EB35A
monochromatic
#440C4A #75157F #A51EB3 #CD32DD #D966E5

Accessibility & contrast

On white

6.11
#A51EB3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.44
#A51EB3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A51EB3
6.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A51EB3#FFFFFF#000000##FFFFFF
##A51EB31.006.113.446.11
#FFFFFF6.111.0021.001.00
#0000003.4421.001.0021.00
##FFFFFF6.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0058B7
Deuteranopia (green-blind)
#3D67B0
Tritanopia (blue-blind)
#A83F6B
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #a51eb3;
/* rgb */ color: rgb(165, 30, 179);
/* oklch */ color: oklch(52.6% 0.229 323.7);
Tailwind
colors: {
  custom: {
    50: '#c46eca',
    500: '#a51eb3',
    950: '#000000',
  },
}
SCSS
$custom: #a51eb3;
$custom-light: #c46eca;
$custom-dark: #000000;
JSON
{
  "hex": "#a51eb3",
  "rgb": {
    "r": 165,
    "g": 30,
    "b": 179
  },
  "hsl": {
    "h": 294.362,
    "s": 71.292,
    "l": 40.98
  },
  "oklch": {
    "l": 0.52629,
    "c": 0.22854,
    "h": 323.7
  },
  "luminance": 0.12183
}

Semantic roles & 50–950 ramp

primary
#A51EB3
secondary
#6CCB62
accent
#EE3A4B
background
#FCF7FC
surface
#F8EDF8
border
#D1C8D1
text
#130813
muted
#827B82

Preview Lab

Preview with #A51EB3

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

Preview Lab → · Contrast checker → · Palette generator →

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