#A334B4#A334B4

#A334B4 is a mid, highly saturated purple. Relative luminance 0.135; OKLCH L 54.0% C 0.208 H 322.0°. Best body text is #FFFFFF at 5.66:1 contrast (WCAG AA passes).

Color values

HEX#A334B4
RGBrgb(163, 52, 180)
HSLhsl(292, 55%, 45%)
HSVhsv(292, 71%, 71%)
CMYKcmyk(9.4%, 71.1%, 0%, 29.4%)
CIE-LABlab(43.56, 61.77, -45.71)
CIE-LCHlch(43.56, 76.84, 323.49°)
OKLaboklab(54.05% 0.1637 -0.1277)
OKLCHoklch(54.05% 0.208 322)
XYZxyz(24.5696, 13.5392, 44.4903)
Luminance0.1354 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A334B4 #45B434
analogous
#6334B4 #A334B4 #B43485
triadic
#A334B4 #B4A334 #34B4A3
tetradic
#A334B4 #B46334 #45B434 #3485B4
square
#A334B4 #B46334 #45B434 #3485B4
split-complementary
#A334B4 #85B434 #34B463
monochromatic
#4D1955 #782685 #A334B4 #BF57CE #D186DC

Accessibility & contrast

On white

5.66
#A334B4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.71
#A334B4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A334B4
5.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A334B4#FFFFFF#000000##FFFFFF
##A334B41.005.663.715.66
#FFFFFF5.661.0021.001.00
#0000003.7121.001.0021.00
##FFFFFF5.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005FB8
Deuteranopia (green-blind)
#456BB1
Tritanopia (blue-blind)
#A54B71
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #a334b4;
/* rgb */ color: rgb(163, 52, 180);
/* oklch */ color: oklch(54.0% 0.208 322.0);
Tailwind
colors: {
  custom: {
    50: '#c276cb',
    500: '#a334b4',
    950: '#000000',
  },
}
SCSS
$custom: #a334b4;
$custom-light: #c276cb;
$custom-dark: #000000;
JSON
{
  "hex": "#a334b4",
  "rgb": {
    "r": 163,
    "g": 52,
    "b": 180
  },
  "hsl": {
    "h": 292.031,
    "s": 55.172,
    "l": 45.49
  },
  "oklch": {
    "l": 0.54046,
    "c": 0.2076,
    "h": 322
  },
  "luminance": 0.13538
}

Semantic roles & 50–950 ramp

primary
#A334B4
secondary
#87C67E
accent
#DF495D
background
#FCF7FC
surface
#F8EEF8
border
#D1C9D1
text
#130913
muted
#827B82

Preview Lab

Preview with #A334B4

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

Preview Lab → · Contrast checker → · Palette generator →

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