#A334B5#A334B5

#A334B5 is a mid, highly saturated purple. Relative luminance 0.136; OKLCH L 54.1% C 0.208 H 321.7°. Best body text is #FFFFFF at 5.65:1 contrast (WCAG AA passes).

Color values

HEX#A334B5
RGBrgb(163, 52, 181)
HSLhsl(292, 55%, 46%)
HSVhsv(292, 71%, 71%)
CMYKcmyk(9.9%, 71.3%, 0%, 29%)
CIE-LABlab(43.62, 61.95, -46.21)
CIE-LCHlch(43.62, 77.28, 323.28°)
OKLaboklab(54.11% 0.1636 -0.1291)
OKLCHoklch(54.11% 0.208 321.7)
XYZxyz(24.6718, 13.5801, 45.0288)
Luminance0.1358 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A334B5 #46B534
analogous
#6234B5 #A334B5 #B53486
triadic
#A334B5 #B5A334 #34B5A3
tetradic
#A334B5 #B56234 #46B534 #3486B5
square
#A334B5 #B56234 #46B534 #3486B5
split-complementary
#A334B5 #86B534 #34B562
monochromatic
#4D1956 #782685 #A334B5 #BE57CF #D187DC

Accessibility & contrast

On white

5.65
#A334B5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.72
#A334B5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A334B5
5.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A334B5#FFFFFF#000000##FFFFFF
##A334B51.005.653.725.65
#FFFFFF5.651.0021.001.00
#0000003.7221.001.0021.00
##FFFFFF5.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005FB9
Deuteranopia (green-blind)
#456BB2
Tritanopia (blue-blind)
#A54C71
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #a334b5;
/* rgb */ color: rgb(163, 52, 181);
/* oklch */ color: oklch(54.1% 0.208 321.7);
Tailwind
colors: {
  custom: {
    50: '#c276cc',
    500: '#a334b5',
    950: '#000000',
  },
}
SCSS
$custom: #a334b5;
$custom-light: #c276cc;
$custom-dark: #000000;
JSON
{
  "hex": "#a334b5",
  "rgb": {
    "r": 163,
    "g": 52,
    "b": 181
  },
  "hsl": {
    "h": 291.628,
    "s": 55.365,
    "l": 45.686
  },
  "oklch": {
    "l": 0.54108,
    "c": 0.20845,
    "h": 321.7
  },
  "luminance": 0.13579
}

Semantic roles & 50–950 ramp

primary
#A334B5
secondary
#89C67F
accent
#DF495E
background
#FCF7FC
surface
#F8EEF9
border
#D1C9D2
text
#130913
muted
#827B82

Preview Lab

Preview with #A334B5

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

Preview Lab → · Contrast checker → · Palette generator →

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