#A334D7#A334D7

#A334D7 is a mid, highly saturated purple. Relative luminance 0.151; OKLCH L 56.4% C 0.238 H 312.1°. Best body text is #FFFFFF at 5.21:1 contrast (WCAG AA passes).

Color values

HEX#A334D7
RGBrgb(163, 52, 215)
HSLhsl(281, 67%, 52%)
HSVhsv(281, 76%, 84%)
CMYKcmyk(24.2%, 75.8%, 0%, 15.7%)
CIE-LABlab(45.84, 68.49, -62.38)
CIE-LCHlch(45.84, 92.64, 317.67°)
OKLaboklab(56.38% 0.1597 -0.1766)
OKLCHoklch(56.38% 0.238 312.1)
XYZxyz(28.5957, 15.1496, 65.6946)
Luminance0.1515 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A334D7 #68D734
analogous
#5234D7 #A334D7 #D734B9
triadic
#A334D7 #D7A334 #34D7A3
tetradic
#A334D7 #D75234 #68D734 #34B9D7
square
#A334D7 #D75234 #68D734 #34B9D7
split-complementary
#A334D7 #B9D734 #34D752
monochromatic
#5A1879 #8022AC #A334D7 #BA67E1 #D19AEB

Accessibility & contrast

On white

5.21
#A334D7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #A334D7
5.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A334D7#FFFFFF#000000##FFFFFF
##A334D71.005.214.035.21
#FFFFFF5.211.0021.001.00
#0000004.0321.001.0021.00
##FFFFFF5.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0067DB
Deuteranopia (green-blind)
#186FD4
Tritanopia (blue-blind)
#9D5B84
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #a334d7;
/* rgb */ color: rgb(163, 52, 215);
/* oklch */ color: oklch(56.4% 0.238 312.1);
Tailwind
colors: {
  custom: {
    50: '#c377e4',
    500: '#a334d7',
    950: '#000000',
  },
}
SCSS
$custom: #a334d7;
$custom-light: #c377e4;
$custom-dark: #000000;
JSON
{
  "hex": "#a334d7",
  "rgb": {
    "r": 163,
    "g": 52,
    "b": 215
  },
  "hsl": {
    "h": 280.859,
    "s": 67.078,
    "l": 52.353
  },
  "oklch": {
    "l": 0.56382,
    "c": 0.23807,
    "h": 312.1
  },
  "luminance": 0.15149
}

Semantic roles & 50–950 ramp

primary
#A334D7
secondary
#A7D790
accent
#EA3E75
background
#FCF7FE
surface
#F8EEFC
border
#D1C9D5
text
#130A16
muted
#827C84

Preview Lab

Preview with #A334D7

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

Preview Lab → · Contrast checker → · Palette generator →

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