#A231B4#A231B4

#A231B4 is a mid, highly saturated purple. Relative luminance 0.132; OKLCH L 53.6% C 0.211 H 321.8°. Best body text is #FFFFFF at 5.78:1 contrast (WCAG AA passes).

Color values

HEX#A231B4
RGBrgb(162, 49, 180)
HSLhsl(292, 57%, 45%)
HSVhsv(292, 73%, 71%)
CMYKcmyk(10%, 72.8%, 0%, 29.4%)
CIE-LABlab(43.03, 62.64, -46.58)
CIE-LCHlch(43.03, 78.07, 323.36°)
OKLaboklab(53.63% 0.1655 -0.1302)
OKLCHoklch(53.63% 0.211 321.8)
XYZxyz(24.2359, 13.1746, 44.4376)
Luminance0.1317 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A231B4 #43B431
analogous
#6131B4 #A231B4 #B43184
triadic
#A231B4 #B4A231 #31B4A2
tetradic
#A231B4 #B46131 #43B431 #3184B4
square
#A231B4 #B46131 #43B431 #3184B4
split-complementary
#A231B4 #84B431 #31B461
monochromatic
#4B1754 #772484 #A231B4 #BF52D0 #D182DD

Accessibility & contrast

On white

5.78
#A231B4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.63
#A231B4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A231B4
5.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A231B4#FFFFFF#000000##FFFFFF
##A231B41.005.783.635.78
#FFFFFF5.781.0021.001.00
#0000003.6321.001.0021.00
##FFFFFF5.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005EB8
Deuteranopia (green-blind)
#426AB1
Tritanopia (blue-blind)
#A44A70
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #a231b4;
/* rgb */ color: rgb(162, 49, 180);
/* oklch */ color: oklch(53.6% 0.211 321.8);
Tailwind
colors: {
  custom: {
    50: '#c174cb',
    500: '#a231b4',
    950: '#000000',
  },
}
SCSS
$custom: #a231b4;
$custom-light: #c174cb;
$custom-dark: #000000;
JSON
{
  "hex": "#a231b4",
  "rgb": {
    "r": 162,
    "g": 49,
    "b": 180
  },
  "hsl": {
    "h": 291.756,
    "s": 57.205,
    "l": 44.902
  },
  "oklch": {
    "l": 0.5363,
    "c": 0.21058,
    "h": 321.8
  },
  "luminance": 0.13173
}

Semantic roles & 50–950 ramp

primary
#A231B4
secondary
#85C67B
accent
#E0475C
background
#FCF7FC
surface
#F8EDF8
border
#D1C8D1
text
#130913
muted
#827B82

Preview Lab

Preview with #A231B4

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

Preview Lab → · Contrast checker → · Palette generator →

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