#A334C7#A334C7

#A334C7 is a mid, highly saturated purple. Relative luminance 0.144; OKLCH L 55.3% C 0.224 H 316.4°. Best body text is #FFFFFF at 5.42:1 contrast (WCAG AA passes).

Color values

HEX#A334C7
RGBrgb(163, 52, 199)
HSLhsl(285, 59%, 49%)
HSVhsv(285, 74%, 78%)
CMYKcmyk(18.1%, 73.9%, 0%, 22%)
CIE-LABlab(44.75, 65.34, -54.91)
CIE-LCHlch(44.75, 85.35, 319.96°)
OKLaboklab(55.27% 0.1621 -0.1546)
OKLCHoklch(55.27% 0.224 316.4)
XYZxyz(26.6395, 14.3671, 55.3916)
Luminance0.1437 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A334C7 #58C734
analogous
#5A34C7 #A334C7 #C734A2
triadic
#A334C7 #C7A334 #34C7A3
tetradic
#A334C7 #C75A34 #58C734 #34A2C7
square
#A334C7 #C75A34 #58C734 #34A2C7
split-complementary
#A334C7 #A2C734 #34C75A
monochromatic
#541B66 #7B2796 #A334C7 #BA62D6 #CF93E3

Accessibility & contrast

On white

5.42
#A334C7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.87
#A334C7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A334C7
5.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A334C7#FFFFFF#000000##FFFFFF
##A334C71.005.423.875.42
#FFFFFF5.421.0021.001.00
#0000003.8721.001.0021.00
##FFFFFF5.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0063CB
Deuteranopia (green-blind)
#346DC4
Tritanopia (blue-blind)
#A1537B
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #a334c7;
/* rgb */ color: rgb(163, 52, 199);
/* oklch */ color: oklch(55.3% 0.224 316.4);
Tailwind
colors: {
  custom: {
    50: '#c377d9',
    500: '#a334c7',
    950: '#000000',
  },
}
SCSS
$custom: #a334c7;
$custom-light: #c377d9;
$custom-dark: #000000;
JSON
{
  "hex": "#a334c7",
  "rgb": {
    "r": 163,
    "g": 52,
    "b": 199
  },
  "hsl": {
    "h": 285.306,
    "s": 58.566,
    "l": 49.216
  },
  "oklch": {
    "l": 0.55273,
    "c": 0.22401,
    "h": 316.4
  },
  "luminance": 0.14366
}

Semantic roles & 50–950 ramp

primary
#A334C7
secondary
#9ACE89
accent
#E2466C
background
#FCF7FD
surface
#F8EEFA
border
#D1C9D3
text
#130915
muted
#827B83

Preview Lab

Preview with #A334C7

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

Preview Lab → · Contrast checker → · Palette generator →

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