#A231B5#A231B5

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

Color values

HEX#A231B5
RGBrgb(162, 49, 181)
HSLhsl(291, 57%, 45%)
HSVhsv(291, 73%, 71%)
CMYKcmyk(10.5%, 72.9%, 0%, 29%)
CIE-LABlab(43.09, 62.83, -47.08)
CIE-LCHlch(43.09, 78.51, 323.16°)
OKLaboklab(53.69% 0.1654 -0.1317)
OKLCHoklch(53.69% 0.211 321.5)
XYZxyz(24.3382, 13.2155, 44.9760)
Luminance0.1321 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A231B5 #44B531
analogous
#6031B5 #A231B5 #B53186
triadic
#A231B5 #B5A231 #31B5A2
tetradic
#A231B5 #B56031 #44B531 #3186B5
square
#A231B5 #B56031 #44B531 #3186B5
split-complementary
#A231B5 #86B531 #31B560
monochromatic
#4C1755 #772485 #A231B5 #BE53D0 #D083DD

Accessibility & contrast

On white

5.76
#A231B5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.64
#A231B5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A231B5
5.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A231B5#FFFFFF#000000##FFFFFF
##A231B51.005.763.645.76
#FFFFFF5.761.0021.001.00
#0000003.6421.001.0021.00
##FFFFFF5.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005EB9
Deuteranopia (green-blind)
#426AB2
Tritanopia (blue-blind)
#A34A70
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #a231b5;
/* rgb */ color: rgb(162, 49, 181);
/* oklch */ color: oklch(53.7% 0.211 321.5);
Tailwind
colors: {
  custom: {
    50: '#c174cc',
    500: '#a231b5',
    950: '#000000',
  },
}
SCSS
$custom: #a231b5;
$custom-light: #c174cc;
$custom-dark: #000000;
JSON
{
  "hex": "#a231b5",
  "rgb": {
    "r": 162,
    "g": 49,
    "b": 181
  },
  "hsl": {
    "h": 291.364,
    "s": 57.391,
    "l": 45.098
  },
  "oklch": {
    "l": 0.53693,
    "c": 0.21142,
    "h": 321.5
  },
  "luminance": 0.13214
}

Semantic roles & 50–950 ramp

primary
#A231B5
secondary
#86C77B
accent
#E1475D
background
#FCF7FC
surface
#F8EDF9
border
#D1C8D2
text
#130913
muted
#827B82

Preview Lab

Preview with #A231B5

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

Preview Lab → · Contrast checker → · Palette generator →

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