#A334C2#A334C2

#A334C2 is a mid, highly saturated purple. Relative luminance 0.141; OKLCH L 54.9% C 0.220 H 317.8°. Best body text is #FFFFFF at 5.49:1 contrast (WCAG AA passes).

Color values

HEX#A334C2
RGBrgb(163, 52, 194)
HSLhsl(287, 58%, 48%)
HSVhsv(287, 73%, 76%)
CMYKcmyk(16%, 73.2%, 0%, 23.9%)
CIE-LABlab(44.43, 64.38, -52.52)
CIE-LCHlch(44.43, 83.09, 320.79°)
OKLaboklab(54.94% 0.1627 -0.1476)
OKLCHoklch(54.94% 0.22 317.8)
XYZxyz(26.0685, 14.1387, 52.3844)
Luminance0.1414 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A334C2 #53C234
analogous
#5C34C2 #A334C2 #C2349A
triadic
#A334C2 #C2A334 #34C2A3
tetradic
#A334C2 #C25C34 #53C234 #349AC2
square
#A334C2 #C25C34 #53C234 #349AC2
split-complementary
#A334C2 #9AC234 #34C25C
monochromatic
#521A61 #7A2792 #A334C2 #BB5FD4 #CF8FE1

Accessibility & contrast

On white

5.49
#A334C2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.83
#A334C2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A334C2
5.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A334C2#FFFFFF#000000##FFFFFF
##A334C21.005.493.835.49
#FFFFFF5.491.0021.001.00
#0000003.8321.001.0021.00
##FFFFFF5.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0062C6
Deuteranopia (green-blind)
#396CBF
Tritanopia (blue-blind)
#A25178
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #a334c2;
/* rgb */ color: rgb(163, 52, 194);
/* oklch */ color: oklch(54.9% 0.220 317.8);
Tailwind
colors: {
  custom: {
    50: '#c276d5',
    500: '#a334c2',
    950: '#000000',
  },
}
SCSS
$custom: #a334c2;
$custom-light: #c276d5;
$custom-dark: #000000;
JSON
{
  "hex": "#a334c2",
  "rgb": {
    "r": 163,
    "g": 52,
    "b": 194
  },
  "hsl": {
    "h": 286.901,
    "s": 57.724,
    "l": 48.235
  },
  "oklch": {
    "l": 0.54941,
    "c": 0.21965,
    "h": 317.8
  },
  "luminance": 0.14138
}

Semantic roles & 50–950 ramp

primary
#A334C2
secondary
#95CC86
accent
#E14768
background
#FCF7FD
surface
#F8EEFA
border
#D1C9D3
text
#130914
muted
#827B83

Preview Lab

Preview with #A334C2

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

Preview Lab → · Contrast checker → · Palette generator →

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