#A334B7#A334B7

#A334B7 is a mid, highly saturated purple. Relative luminance 0.137; OKLCH L 54.2% C 0.210 H 321.1°. Best body text is #FFFFFF at 5.63:1 contrast (WCAG AA passes).

Color values

HEX#A334B7
RGBrgb(163, 52, 183)
HSLhsl(291, 56%, 46%)
HSVhsv(291, 72%, 72%)
CMYKcmyk(10.9%, 71.6%, 0%, 28.2%)
CIE-LABlab(43.75, 62.32, -47.19)
CIE-LCHlch(43.75, 78.17, 322.87°)
OKLaboklab(54.23% 0.1635 -0.132)
OKLCHoklch(54.23% 0.21 321.1)
XYZxyz(24.8785, 13.6627, 46.1173)
Luminance0.1366 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A334B7 #48B734
analogous
#6134B7 #A334B7 #B73489
triadic
#A334B7 #B7A334 #34B7A3
tetradic
#A334B7 #B76134 #48B734 #3489B7
square
#A334B7 #B76134 #48B734 #3489B7
split-complementary
#A334B7 #89B734 #34B761
monochromatic
#4E1958 #792687 #A334B7 #BD59D0 #D088DD

Accessibility & contrast

On white

5.63
#A334B7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.73
#A334B7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A334B7
5.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A334B7#FFFFFF#000000##FFFFFF
##A334B71.005.633.735.63
#FFFFFF5.631.0021.001.00
#0000003.7321.001.0021.00
##FFFFFF5.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0060BB
Deuteranopia (green-blind)
#436BB4
Tritanopia (blue-blind)
#A44C72
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #a334b7;
/* rgb */ color: rgb(163, 52, 183);
/* oklch */ color: oklch(54.2% 0.210 321.1);
Tailwind
colors: {
  custom: {
    50: '#c276cd',
    500: '#a334b7',
    950: '#000000',
  },
}
SCSS
$custom: #a334b7;
$custom-light: #c276cd;
$custom-dark: #000000;
JSON
{
  "hex": "#a334b7",
  "rgb": {
    "r": 163,
    "g": 52,
    "b": 183
  },
  "hsl": {
    "h": 290.84,
    "s": 55.745,
    "l": 46.078
  },
  "oklch": {
    "l": 0.54233,
    "c": 0.21016,
    "h": 321.1
  },
  "luminance": 0.13661
}

Semantic roles & 50–950 ramp

primary
#A334B7
secondary
#8BC780
accent
#DF4960
background
#FCF7FC
surface
#F8EEF9
border
#D1C9D2
text
#130913
muted
#827B82

Preview Lab

Preview with #A334B7

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

Preview Lab → · Contrast checker → · Palette generator →

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