#A229B2#A229B2

#A229B2 is a mid, highly saturated purple. Relative luminance 0.125; OKLCH L 52.8% C 0.217 H 322.7°. Best body text is #FFFFFF at 6.01:1 contrast (WCAG AA passes).

Color values

HEX#A229B2
RGBrgb(162, 41, 178)
HSLhsl(293, 63%, 43%)
HSVhsv(293, 77%, 70%)
CMYKcmyk(9%, 77%, 0%, 30.2%)
CIE-LABlab(41.97, 64.95, -47.09)
CIE-LCHlch(41.97, 80.22, 324.06°)
OKLaboklab(52.84% 0.1728 -0.1317)
OKLCHoklch(52.84% 0.217 322.7)
XYZxyz(23.7283, 12.4830, 43.2705)
Luminance0.1248 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A229B2 #39B229
analogous
#5E29B2 #A229B2 #B2297D
triadic
#A229B2 #B2A229 #29B2A2
tetradic
#A229B2 #B25E29 #39B229 #297DB2
square
#A229B2 #B25E29 #39B229 #297DB2
split-complementary
#A229B2 #7DB229 #29B25E
monochromatic
#47124F #751E80 #A229B2 #C344D4 #D376DF

Accessibility & contrast

On white

6.01
#A229B2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.50
#A229B2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A229B2
6.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A229B2#FFFFFF#000000##FFFFFF
##A229B21.006.013.506.01
#FFFFFF6.011.0021.001.00
#0000003.5021.001.0021.00
##FFFFFF6.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005AB6
Deuteranopia (green-blind)
#3F68AF
Tritanopia (blue-blind)
#A4446D
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #a229b2;
/* rgb */ color: rgb(162, 41, 178);
/* oklch */ color: oklch(52.8% 0.217 322.7);
Tailwind
colors: {
  custom: {
    50: '#c271ca',
    500: '#a229b2',
    950: '#000000',
  },
}
SCSS
$custom: #a229b2;
$custom-light: #c271ca;
$custom-dark: #000000;
JSON
{
  "hex": "#a229b2",
  "rgb": {
    "r": 162,
    "g": 41,
    "b": 178
  },
  "hsl": {
    "h": 292.993,
    "s": 62.557,
    "l": 42.941
  },
  "oklch": {
    "l": 0.52843,
    "c": 0.21724,
    "h": 322.7
  },
  "luminance": 0.12482
}

Semantic roles & 50–950 ramp

primary
#A229B2
secondary
#7AC770
accent
#E64255
background
#FCF7FC
surface
#F8EDF8
border
#D1C8D1
text
#130913
muted
#827B82

Preview Lab

Preview with #A229B2

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

Preview Lab → · Contrast checker → · Palette generator →

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