#A334C8#A334C8

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

Color values

HEX#A334C8
RGBrgb(163, 52, 200)
HSLhsl(285, 59%, 49%)
HSVhsv(285, 74%, 78%)
CMYKcmyk(18.5%, 74%, 0%, 21.6%)
CIE-LABlab(44.82, 65.53, -55.38)
CIE-LCHlch(44.82, 85.80, 319.80°)
OKLaboklab(55.34% 0.162 -0.156)
OKLCHoklch(55.34% 0.225 316.1)
XYZxyz(26.7559, 14.4137, 56.0051)
Luminance0.1441 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A334C8 #59C834
analogous
#5934C8 #A334C8 #C834A3
triadic
#A334C8 #C8A334 #34C8A3
tetradic
#A334C8 #C85934 #59C834 #34A3C8
square
#A334C8 #C85934 #59C834 #34A3C8
split-complementary
#A334C8 #A3C834 #34C859
monochromatic
#541B67 #7B2797 #A334C8 #B963D6 #CF93E3

Accessibility & contrast

On white

5.41
#A334C8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.88
#A334C8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A334C8
5.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A334C8#FFFFFF#000000##FFFFFF
##A334C81.005.413.885.41
#FFFFFF5.411.0021.001.00
#0000003.8821.001.0021.00
##FFFFFF5.411.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0064CC
Deuteranopia (green-blind)
#326DC5
Tritanopia (blue-blind)
#A0547C
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #a334c8;
/* rgb */ color: rgb(163, 52, 200);
/* oklch */ color: oklch(55.3% 0.225 316.1);
Tailwind
colors: {
  custom: {
    50: '#c377d9',
    500: '#a334c8',
    950: '#000000',
  },
}
SCSS
$custom: #a334c8;
$custom-light: #c377d9;
$custom-dark: #000000;
JSON
{
  "hex": "#a334c8",
  "rgb": {
    "r": 163,
    "g": 52,
    "b": 200
  },
  "hsl": {
    "h": 285,
    "s": 58.73,
    "l": 49.412
  },
  "oklch": {
    "l": 0.55341,
    "c": 0.22488,
    "h": 316.1
  },
  "luminance": 0.14413
}

Semantic roles & 50–950 ramp

primary
#A334C8
secondary
#9BCE8A
accent
#E2466D
background
#FCF7FD
surface
#F8EEFB
border
#D1C9D4
text
#130915
muted
#827B83

Preview Lab

Preview with #A334C8

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

Preview Lab → · Contrast checker → · Palette generator →

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