#A334C4#A334C4

#A334C4 is a mid, highly saturated purple. Relative luminance 0.142; OKLCH L 55.1% C 0.221 H 317.2°. Best body text is #FFFFFF at 5.46:1 contrast (WCAG AA passes).

Color values

HEX#A334C4
RGBrgb(163, 52, 196)
HSLhsl(286, 58%, 49%)
HSVhsv(286, 73%, 77%)
CMYKcmyk(16.8%, 73.5%, 0%, 23.1%)
CIE-LABlab(44.56, 64.76, -53.48)
CIE-LCHlch(44.56, 83.99, 320.45°)
OKLaboklab(55.07% 0.1624 -0.1504)
OKLCHoklch(55.07% 0.221 317.2)
XYZxyz(26.2946, 14.2292, 53.5753)
Luminance0.1423 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A334C4 #55C434
analogous
#5B34C4 #A334C4 #C4349D
triadic
#A334C4 #C4A334 #34C4A3
tetradic
#A334C4 #C45B34 #55C434 #349DC4
square
#A334C4 #C45B34 #55C434 #349DC4
split-complementary
#A334C4 #9DC434 #34C45B
monochromatic
#531A63 #7B2794 #A334C4 #BA60D5 #CF91E2

Accessibility & contrast

On white

5.46
#A334C4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.85
#A334C4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A334C4
5.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A334C4#FFFFFF#000000##FFFFFF
##A334C41.005.463.855.46
#FFFFFF5.461.0021.001.00
#0000003.8521.001.0021.00
##FFFFFF5.461.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0063C8
Deuteranopia (green-blind)
#376DC1
Tritanopia (blue-blind)
#A1527A
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #a334c4;
/* rgb */ color: rgb(163, 52, 196);
/* oklch */ color: oklch(55.1% 0.221 317.2);
Tailwind
colors: {
  custom: {
    50: '#c276d7',
    500: '#a334c4',
    950: '#000000',
  },
}
SCSS
$custom: #a334c4;
$custom-light: #c276d7;
$custom-dark: #000000;
JSON
{
  "hex": "#a334c4",
  "rgb": {
    "r": 163,
    "g": 52,
    "b": 196
  },
  "hsl": {
    "h": 286.25,
    "s": 58.065,
    "l": 48.627
  },
  "oklch": {
    "l": 0.55073,
    "c": 0.22139,
    "h": 317.2
  },
  "luminance": 0.14228
}

Semantic roles & 50–950 ramp

primary
#A334C4
secondary
#97CC87
accent
#E1476A
background
#FCF7FD
surface
#F8EEFA
border
#D1C9D3
text
#130914
muted
#827B83

Preview Lab

Preview with #A334C4

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

Preview Lab → · Contrast checker → · Palette generator →

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