#A225B1#A225B1

#A225B1 is a mid, highly saturated purple. Relative luminance 0.122; OKLCH L 52.5% C 0.220 H 323.1°. Best body text is #FFFFFF at 6.11:1 contrast (WCAG AA passes).

Color values

HEX#A225B1
RGBrgb(162, 37, 177)
HSLhsl(294, 65%, 42%)
HSVhsv(294, 79%, 69%)
CMYKcmyk(8.5%, 79.1%, 0%, 30.6%)
CIE-LABlab(41.50, 65.96, -47.25)
CIE-LCHlch(41.50, 81.14, 324.38°)
OKLaboklab(52.49% 0.1761 -0.1321)
OKLCHoklch(52.49% 0.22 323.1)
XYZxyz(23.4969, 12.1803, 42.6999)
Luminance0.1218 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A225B1 #34B125
analogous
#5C25B1 #A225B1 #B1257A
triadic
#A225B1 #B1A225 #25B1A2
tetradic
#A225B1 #B15C25 #34B125 #257AB1
square
#A225B1 #B15C25 #34B125 #257AB1
split-complementary
#A225B1 #7AB125 #25B15C
monochromatic
#45104C #741A7E #A225B1 #C63DD6 #D56FE1

Accessibility & contrast

On white

6.11
#A225B1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #A225B1
6.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A225B1#FFFFFF#000000##FFFFFF
##A225B11.006.113.446.11
#FFFFFF6.111.0021.001.00
#0000003.4421.001.0021.00
##FFFFFF6.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0059B5
Deuteranopia (green-blind)
#3E67AE
Tritanopia (blue-blind)
#A4426B
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #a225b1;
/* rgb */ color: rgb(162, 37, 177);
/* oklch */ color: oklch(52.5% 0.220 323.1);
Tailwind
colors: {
  custom: {
    50: '#c26fc9',
    500: '#a225b1',
    950: '#000000',
  },
}
SCSS
$custom: #a225b1;
$custom-light: #c26fc9;
$custom-dark: #000000;
JSON
{
  "hex": "#a225b1",
  "rgb": {
    "r": 162,
    "g": 37,
    "b": 177
  },
  "hsl": {
    "h": 293.571,
    "s": 65.421,
    "l": 41.961
  },
  "oklch": {
    "l": 0.52488,
    "c": 0.22015,
    "h": 323.1
  },
  "luminance": 0.12179
}

Semantic roles & 50–950 ramp

primary
#A225B1
secondary
#74C86A
accent
#E83F52
background
#FCF7FC
surface
#F8EDF8
border
#D1C8D1
text
#130813
muted
#827B82

Preview Lab

Preview with #A225B1

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

Preview Lab → · Contrast checker → · Palette generator →

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