#A334C6#A334C6

#A334C6 is a mid, highly saturated purple. Relative luminance 0.143; OKLCH L 55.2% C 0.223 H 316.6°. Best body text is #FFFFFF at 5.43:1 contrast (WCAG AA passes).

Color values

HEX#A334C6
RGBrgb(163, 52, 198)
HSLhsl(286, 58%, 49%)
HSVhsv(286, 74%, 78%)
CMYKcmyk(17.7%, 73.7%, 0%, 22.4%)
CIE-LABlab(44.69, 65.15, -54.43)
CIE-LCHlch(44.69, 84.89, 320.12°)
OKLaboklab(55.21% 0.1622 -0.1532)
OKLCHoklch(55.21% 0.223 316.6)
XYZxyz(26.5237, 14.3208, 54.7822)
Luminance0.1432 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A334C6 #57C634
analogous
#5A34C6 #A334C6 #C634A0
triadic
#A334C6 #C6A334 #34C6A3
tetradic
#A334C6 #C65A34 #57C634 #34A0C6
square
#A334C6 #C65A34 #57C634 #34A0C6
split-complementary
#A334C6 #A0C634 #34C65A
monochromatic
#531B65 #7B2796 #A334C6 #BA62D6 #CF92E2

Accessibility & contrast

On white

5.43
#A334C6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.86
#A334C6 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A334C6
5.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A334C6#FFFFFF#000000##FFFFFF
##A334C61.005.433.865.43
#FFFFFF5.431.0021.001.00
#0000003.8621.001.0021.00
##FFFFFF5.431.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0063CA
Deuteranopia (green-blind)
#356DC3
Tritanopia (blue-blind)
#A1537B
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #a334c6;
/* rgb */ color: rgb(163, 52, 198);
/* oklch */ color: oklch(55.2% 0.223 316.6);
Tailwind
colors: {
  custom: {
    50: '#c277d8',
    500: '#a334c6',
    950: '#000000',
  },
}
SCSS
$custom: #a334c6;
$custom-light: #c277d8;
$custom-dark: #000000;
JSON
{
  "hex": "#a334c6",
  "rgb": {
    "r": 163,
    "g": 52,
    "b": 198
  },
  "hsl": {
    "h": 285.616,
    "s": 58.4,
    "l": 49.02
  },
  "oklch": {
    "l": 0.55206,
    "c": 0.22313,
    "h": 316.6
  },
  "luminance": 0.1432
}

Semantic roles & 50–950 ramp

primary
#A334C6
secondary
#99CD89
accent
#E2466B
background
#FCF7FD
surface
#F8EEFA
border
#D1C9D3
text
#130915
muted
#827B83

Preview Lab

Preview with #A334C6

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

Preview Lab → · Contrast checker → · Palette generator →

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