#A334C5#A334C5

#A334C5 is a mid, highly saturated purple. Relative luminance 0.143; OKLCH L 55.1% C 0.222 H 316.9°. Best body text is #FFFFFF at 5.45:1 contrast (WCAG AA passes).

Color values

HEX#A334C5
RGBrgb(163, 52, 197)
HSLhsl(286, 58%, 49%)
HSVhsv(286, 74%, 77%)
CMYKcmyk(17.3%, 73.6%, 0%, 22.7%)
CIE-LABlab(44.62, 64.95, -53.96)
CIE-LCHlch(44.62, 84.44, 320.28°)
OKLaboklab(55.14% 0.1623 -0.1518)
OKLCHoklch(55.14% 0.222 316.9)
XYZxyz(26.4088, 14.2748, 54.1767)
Luminance0.1427 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A334C5 #56C534
analogous
#5B34C5 #A334C5 #C5349F
triadic
#A334C5 #C5A334 #34C5A3
tetradic
#A334C5 #C55B34 #56C534 #349FC5
square
#A334C5 #C55B34 #56C534 #349FC5
split-complementary
#A334C5 #9FC534 #34C55B
monochromatic
#531A64 #7B2795 #A334C5 #BA61D5 #CF91E2

Accessibility & contrast

On white

5.45
#A334C5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #A334C5
5.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A334C5#FFFFFF#000000##FFFFFF
##A334C51.005.453.855.45
#FFFFFF5.451.0021.001.00
#0000003.8521.001.0021.00
##FFFFFF5.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0063C9
Deuteranopia (green-blind)
#366DC2
Tritanopia (blue-blind)
#A1537A
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #a334c5;
/* rgb */ color: rgb(163, 52, 197);
/* oklch */ color: oklch(55.1% 0.222 316.9);
Tailwind
colors: {
  custom: {
    50: '#c276d7',
    500: '#a334c5',
    950: '#000000',
  },
}
SCSS
$custom: #a334c5;
$custom-light: #c276d7;
$custom-dark: #000000;
JSON
{
  "hex": "#a334c5",
  "rgb": {
    "r": 163,
    "g": 52,
    "b": 197
  },
  "hsl": {
    "h": 285.931,
    "s": 58.233,
    "l": 48.824
  },
  "oklch": {
    "l": 0.5514,
    "c": 0.22226,
    "h": 316.9
  },
  "luminance": 0.14274
}

Semantic roles & 50–950 ramp

primary
#A334C5
secondary
#98CD88
accent
#E1466B
background
#FCF7FD
surface
#F8EEFA
border
#D1C9D3
text
#130914
muted
#827B83

Preview Lab

Preview with #A334C5

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

Preview Lab → · Contrast checker → · Palette generator →

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