#A334D1#A334D1

#A334D1 is a mid, highly saturated purple. Relative luminance 0.148; OKLCH L 56.0% C 0.233 H 313.7°. Best body text is #FFFFFF at 5.29:1 contrast (WCAG AA passes).

Color values

HEX#A334D1
RGBrgb(163, 52, 209)
HSLhsl(282, 63%, 51%)
HSVhsv(282, 75%, 82%)
CMYKcmyk(22%, 75.1%, 0%, 18%)
CIE-LABlab(45.42, 67.30, -59.61)
CIE-LCHlch(45.42, 89.90, 318.47°)
OKLaboklab(55.96% 0.1607 -0.1684)
OKLCHoklch(55.96% 0.233 313.7)
XYZxyz(27.8389, 14.8469, 61.7085)
Luminance0.1485 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A334D1 #62D134
analogous
#5434D1 #A334D1 #D134B1
triadic
#A334D1 #D1A334 #34D1A3
tetradic
#A334D1 #D15434 #62D134 #34B1D1
square
#A334D1 #D15434 #62D134 #34B1D1
split-complementary
#A334D1 #B1D134 #34D154
monochromatic
#571A71 #7E25A3 #A334D1 #BA66DC #D098E8

Accessibility & contrast

On white

5.29
#A334D1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.97
#A334D1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A334D1
5.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A334D1#FFFFFF#000000##FFFFFF
##A334D11.005.293.975.29
#FFFFFF5.291.0021.001.00
#0000003.9721.001.0021.00
##FFFFFF5.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0066D5
Deuteranopia (green-blind)
#256ECE
Tritanopia (blue-blind)
#9E5881
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #a334d1;
/* rgb */ color: rgb(163, 52, 209);
/* oklch */ color: oklch(56.0% 0.233 313.7);
Tailwind
colors: {
  custom: {
    50: '#c377e0',
    500: '#a334d1',
    950: '#000000',
  },
}
SCSS
$custom: #a334d1;
$custom-light: #c377e0;
$custom-dark: #000000;
JSON
{
  "hex": "#a334d1",
  "rgb": {
    "r": 163,
    "g": 52,
    "b": 209
  },
  "hsl": {
    "h": 282.42,
    "s": 63.052,
    "l": 51.176
  },
  "oklch": {
    "l": 0.55959,
    "c": 0.23278,
    "h": 313.7
  },
  "luminance": 0.14846
}

Semantic roles & 50–950 ramp

primary
#A334D1
secondary
#A2D38E
accent
#E64272
background
#FCF7FD
surface
#F8EEFB
border
#D1C9D4
text
#130A15
muted
#827C83

Preview Lab

Preview with #A334D1

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

Preview Lab → · Contrast checker → · Palette generator →

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