#A334B1#A334B1

#A334B1 is a mid, highly saturated purple. Relative luminance 0.134; OKLCH L 53.9% C 0.205 H 323.0°. Best body text is #FFFFFF at 5.70:1 contrast (WCAG AA passes).

Color values

HEX#A334B1
RGBrgb(163, 52, 177)
HSLhsl(293, 55%, 45%)
HSVhsv(293, 71%, 69%)
CMYKcmyk(7.9%, 70.6%, 0%, 30.6%)
CIE-LABlab(43.39, 61.22, -44.23)
CIE-LCHlch(43.39, 75.53, 324.15°)
OKLaboklab(53.86% 0.1638 -0.1234)
OKLCHoklch(53.86% 0.205 323)
XYZxyz(24.2673, 13.4182, 42.8982)
Luminance0.1342 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A334B1 #42B134
analogous
#6534B1 #A334B1 #B13481
triadic
#A334B1 #B1A334 #34B1A3
tetradic
#A334B1 #B16534 #42B134 #3481B1
square
#A334B1 #B16534 #42B134 #3481B1
split-complementary
#A334B1 #81B134 #34B165
monochromatic
#4C1852 #772682 #A334B1 #C055CD #D184DB

Accessibility & contrast

On white

5.70
#A334B1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.68
#A334B1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A334B1
5.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A334B1#FFFFFF#000000##FFFFFF
##A334B11.005.703.685.70
#FFFFFF5.701.0021.001.00
#0000003.6821.001.0021.00
##FFFFFF5.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#065EB5
Deuteranopia (green-blind)
#476BAE
Tritanopia (blue-blind)
#A54A6F
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #a334b1;
/* rgb */ color: rgb(163, 52, 177);
/* oklch */ color: oklch(53.9% 0.205 323.0);
Tailwind
colors: {
  custom: {
    50: '#c276c9',
    500: '#a334b1',
    950: '#000000',
  },
}
SCSS
$custom: #a334b1;
$custom-light: #c276c9;
$custom-dark: #000000;
JSON
{
  "hex": "#a334b1",
  "rgb": {
    "r": 163,
    "g": 52,
    "b": 177
  },
  "hsl": {
    "h": 293.28,
    "s": 54.585,
    "l": 44.902
  },
  "oklch": {
    "l": 0.53861,
    "c": 0.20506,
    "h": 323
  },
  "luminance": 0.13417
}

Semantic roles & 50–950 ramp

primary
#A334B1
secondary
#84C57C
accent
#DE4A5A
background
#FCF7FC
surface
#F8EEF8
border
#D1C9D1
text
#130913
muted
#827B82

Preview Lab

Preview with #A334B1

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

Preview Lab → · Contrast checker → · Palette generator →

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