#A225B2#A225B2

#A225B2 is a mid, highly saturated purple. Relative luminance 0.122; OKLCH L 52.6% C 0.221 H 322.8°. Best body text is #FFFFFF at 6.10:1 contrast (WCAG AA passes).

Color values

HEX#A225B2
RGBrgb(162, 37, 178)
HSLhsl(293, 66%, 42%)
HSVhsv(293, 79%, 70%)
CMYKcmyk(9%, 79.2%, 0%, 30.2%)
CIE-LABlab(41.56, 66.13, -47.74)
CIE-LCHlch(41.56, 81.56, 324.17°)
OKLaboklab(52.55% 0.176 -0.1336)
OKLCHoklch(52.55% 0.221 322.8)
XYZxyz(23.5970, 12.2203, 43.2267)
Luminance0.1222 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A225B2 #35B225
analogous
#5B25B2 #A225B2 #B2257C
triadic
#A225B2 #B2A225 #25B2A2
tetradic
#A225B2 #B25B25 #35B225 #257CB2
square
#A225B2 #B25B25 #35B225 #257CB2
split-complementary
#A225B2 #7CB225 #25B25B
monochromatic
#46104D #741A7F #A225B2 #C53DD7 #D470E1

Accessibility & contrast

On white

6.10
#A225B2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.44
#A225B2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A225B2
6.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A225B2#FFFFFF#000000##FFFFFF
##A225B21.006.103.446.10
#FFFFFF6.101.0021.001.00
#0000003.4421.001.0021.00
##FFFFFF6.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0059B6
Deuteranopia (green-blind)
#3D67AF
Tritanopia (blue-blind)
#A4426C
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #a225b2;
/* rgb */ color: rgb(162, 37, 178);
/* oklch */ color: oklch(52.6% 0.221 322.8);
Tailwind
colors: {
  custom: {
    50: '#c26fca',
    500: '#a225b2',
    950: '#000000',
  },
}
SCSS
$custom: #a225b2;
$custom-light: #c26fca;
$custom-dark: #000000;
JSON
{
  "hex": "#a225b2",
  "rgb": {
    "r": 162,
    "g": 37,
    "b": 178
  },
  "hsl": {
    "h": 293.191,
    "s": 65.581,
    "l": 42.157
  },
  "oklch": {
    "l": 0.52553,
    "c": 0.22095,
    "h": 322.8
  },
  "luminance": 0.12219
}

Semantic roles & 50–950 ramp

primary
#A225B2
secondary
#75C86B
accent
#E93F52
background
#FCF7FC
surface
#F8EDF8
border
#D1C8D1
text
#130813
muted
#827B82

Preview Lab

Preview with #A225B2

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

Preview Lab → · Contrast checker → · Palette generator →

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