#A333C2#A333C2

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

Color values

HEX#A333C2
RGBrgb(163, 51, 194)
HSLhsl(287, 58%, 48%)
HSVhsv(287, 74%, 76%)
CMYKcmyk(16%, 73.7%, 0%, 23.9%)
CIE-LABlab(44.31, 64.74, -52.73)
CIE-LCHlch(44.31, 83.49, 320.84°)
OKLaboklab(54.85% 0.1636 -0.1482)
OKLCHoklch(54.85% 0.221 317.8)
XYZxyz(26.0243, 14.0504, 52.3696)
Luminance0.1405 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A333C2 #52C233
analogous
#5B33C2 #A333C2 #C23399
triadic
#A333C2 #C2A333 #33C2A3
tetradic
#A333C2 #C25B33 #52C233 #3399C2
square
#A333C2 #C25B33 #52C233 #3399C2
split-complementary
#A333C2 #99C233 #33C25B
monochromatic
#521A61 #7A2692 #A333C2 #BB5ED5 #CF8EE1

Accessibility & contrast

On white

5.51
#A333C2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.81
#A333C2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A333C2
5.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A333C2#FFFFFF#000000##FFFFFF
##A333C21.005.513.815.51
#FFFFFF5.511.0021.001.00
#0000003.8121.001.0021.00
##FFFFFF5.511.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #a333c2;
/* rgb */ color: rgb(163, 51, 194);
/* oklch */ color: oklch(54.9% 0.221 317.8);
Tailwind
colors: {
  custom: {
    50: '#c276d5',
    500: '#a333c2',
    950: '#000000',
  },
}
SCSS
$custom: #a333c2;
$custom-light: #c276d5;
$custom-dark: #000000;
JSON
{
  "hex": "#a333c2",
  "rgb": {
    "r": 163,
    "g": 51,
    "b": 194
  },
  "hsl": {
    "h": 286.993,
    "s": 58.367,
    "l": 48.039
  },
  "oklch": {
    "l": 0.54851,
    "c": 0.22074,
    "h": 317.8
  },
  "luminance": 0.14049
}

Semantic roles & 50–950 ramp

primary
#A333C2
secondary
#94CC85
accent
#E24668
background
#FCF7FD
surface
#F8EEFA
border
#D1C9D3
text
#130914
muted
#827B83

Preview Lab

Preview with #A333C2

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

Preview Lab → · Contrast checker → · Palette generator →

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