#A333A2#A333A2

#A333A2 is a mid, vivid purple. Relative luminance 0.128; OKLCH L 52.9% C 0.194 H 328.3°. Best body text is #FFFFFF at 5.91:1 contrast (WCAG AA passes).

Color values

HEX#A333A2
RGBrgb(163, 51, 162)
HSLhsl(301, 52%, 42%)
HSVhsv(301, 69%, 64%)
CMYKcmyk(0%, 68.7%, 0.6%, 36.1%)
CIE-LABlab(42.41, 58.96, -36.87)
CIE-LCHlch(42.41, 69.54, 327.98°)
OKLaboklab(52.88% 0.1649 -0.1019)
OKLCHoklch(52.88% 0.194 328.3)
XYZxyz(22.8094, 12.7644, 35.4378)
Luminance0.1276 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A333A2 #33A334
analogous
#6C33A3 #A333A2 #A3336A
triadic
#A333A2 #A2A333 #33A2A3
tetradic
#A333A2 #A36C33 #33A334 #336AA3
square
#A333A2 #A36C33 #33A334 #336AA3
split-complementary
#A333A2 #6AA333 #33A36C
monochromatic
#461645 #742474 #A333A2 #C74CC6 #D67BD5

Accessibility & contrast

On white

5.91
#A333A2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.55
#A333A2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A333A2
5.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A333A2#FFFFFF#000000##FFFFFF
##A333A21.005.913.555.91
#FFFFFF5.911.0021.001.00
#0000003.5521.001.0021.00
##FFFFFF5.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#235BA5
Deuteranopia (green-blind)
#50699F
Tritanopia (blue-blind)
#A84367
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #a333a2;
/* rgb */ color: rgb(163, 51, 162);
/* oklch */ color: oklch(52.9% 0.194 328.3);
Tailwind
colors: {
  custom: {
    50: '#c275be',
    500: '#a333a2',
    950: '#000000',
  },
}
SCSS
$custom: #a333a2;
$custom-light: #c275be;
$custom-dark: #000000;
JSON
{
  "hex": "#a333a2",
  "rgb": {
    "r": 163,
    "g": 51,
    "b": 162
  },
  "hsl": {
    "h": 300.536,
    "s": 52.336,
    "l": 41.961
  },
  "oklch": {
    "l": 0.52884,
    "c": 0.19384,
    "h": 328.3
  },
  "luminance": 0.12763
}

Semantic roles & 50–950 ramp

primary
#A333A2
secondary
#73BE74
accent
#DC4D4C
background
#FCF7FB
surface
#F8EDF7
border
#D1C8D0
text
#130912
muted
#827B81

Preview Lab

Preview with #A333A2

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

Preview Lab → · Contrast checker → · Palette generator →

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