#A125B2#A125B2

#A125B2 is a mid, highly saturated purple. Relative luminance 0.121; OKLCH L 52.4% C 0.221 H 322.5°. Best body text is #FFFFFF at 6.13:1 contrast (WCAG AA passes).

Color values

HEX#A125B2
RGBrgb(161, 37, 178)
HSLhsl(293, 66%, 42%)
HSVhsv(293, 79%, 70%)
CMYKcmyk(9.6%, 79.2%, 0%, 30.2%)
CIE-LABlab(41.40, 65.94, -48.02)
CIE-LCHlch(41.40, 81.57, 323.94°)
OKLaboklab(52.4% 0.1749 -0.1344)
OKLCHoklch(52.4% 0.221 322.5)
XYZxyz(23.3946, 12.1160, 43.2172)
Luminance0.1211 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A125B2 #36B225
analogous
#5B25B2 #A125B2 #B2257D
triadic
#A125B2 #B2A125 #25B2A1
tetradic
#A125B2 #B25B25 #36B225 #257DB2
square
#A125B2 #B25B25 #36B225 #257DB2
split-complementary
#A125B2 #7DB225 #25B25B
monochromatic
#45104D #731A7F #A125B2 #C43DD7 #D470E1

Accessibility & contrast

On white

6.13
#A125B2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.42
#A125B2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A125B2
6.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A125B2#FFFFFF#000000##FFFFFF
##A125B21.006.133.426.13
#FFFFFF6.131.0021.001.00
#0000003.4221.001.0021.00
##FFFFFF6.131.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #a125b2;
/* rgb */ color: rgb(161, 37, 178);
/* oklch */ color: oklch(52.4% 0.221 322.5);
Tailwind
colors: {
  custom: {
    50: '#c16fca',
    500: '#a125b2',
    950: '#000000',
  },
}
SCSS
$custom: #a125b2;
$custom-light: #c16fca;
$custom-dark: #000000;
JSON
{
  "hex": "#a125b2",
  "rgb": {
    "r": 161,
    "g": 37,
    "b": 178
  },
  "hsl": {
    "h": 292.766,
    "s": 65.581,
    "l": 42.157
  },
  "oklch": {
    "l": 0.52404,
    "c": 0.22055,
    "h": 322.5
  },
  "luminance": 0.12115
}

Semantic roles & 50–950 ramp

primary
#A125B2
secondary
#76C86B
accent
#E93F54
background
#FCF7FC
surface
#F8EDF8
border
#D1C8D1
text
#130813
muted
#827B82

Preview Lab

Preview with #A125B2

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

Preview Lab → · Contrast checker → · Palette generator →

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