#A334CA#A334CA

#A334CA is a mid, highly saturated purple. Relative luminance 0.145; OKLCH L 55.5% C 0.227 H 315.5°. Best body text is #FFFFFF at 5.38:1 contrast (WCAG AA passes).

Color values

HEX#A334CA
RGBrgb(163, 52, 202)
HSLhsl(284, 59%, 50%)
HSVhsv(284, 74%, 79%)
CMYKcmyk(19.3%, 74.3%, 0%, 20.8%)
CIE-LABlab(44.95, 65.92, -56.33)
CIE-LCHlch(44.95, 86.71, 319.49°)
OKLaboklab(55.48% 0.1617 -0.1588)
OKLCHoklch(55.48% 0.227 315.5)
XYZxyz(26.9912, 14.5078, 57.2442)
Luminance0.1451 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A334CA #5BCA34
analogous
#5834CA #A334CA #CA34A6
triadic
#A334CA #CAA334 #34CAA3
tetradic
#A334CA #CA5834 #5BCA34 #34A6CA
square
#A334CA #CA5834 #5BCA34 #34A6CA
split-complementary
#A334CA #A6CA34 #34CA58
monochromatic
#541B69 #7C2799 #A334CA #B964D7 #CF95E4

Accessibility & contrast

On white

5.38
#A334CA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.90
#A334CA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A334CA
5.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A334CA#FFFFFF#000000##FFFFFF
##A334CA1.005.383.905.38
#FFFFFF5.381.0021.001.00
#0000003.9021.001.0021.00
##FFFFFF5.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0064CE
Deuteranopia (green-blind)
#306DC7
Tritanopia (blue-blind)
#A0557D
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #a334ca;
/* rgb */ color: rgb(163, 52, 202);
/* oklch */ color: oklch(55.5% 0.227 315.5);
Tailwind
colors: {
  custom: {
    50: '#c377db',
    500: '#a334ca',
    950: '#000000',
  },
}
SCSS
$custom: #a334ca;
$custom-light: #c377db;
$custom-dark: #000000;
JSON
{
  "hex": "#a334ca",
  "rgb": {
    "r": 163,
    "g": 52,
    "b": 202
  },
  "hsl": {
    "h": 284.4,
    "s": 59.055,
    "l": 49.804
  },
  "oklch": {
    "l": 0.55476,
    "c": 0.22663,
    "h": 315.5
  },
  "luminance": 0.14507
}

Semantic roles & 50–950 ramp

primary
#A334CA
secondary
#9DCF8B
accent
#E2466E
background
#FCF7FD
surface
#F8EEFB
border
#D1C9D4
text
#130915
muted
#827B83

Preview Lab

Preview with #A334CA

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

Preview Lab → · Contrast checker → · Palette generator →

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