#A231B3#A231B3

#A231B3 is a mid, highly saturated purple. Relative luminance 0.131; OKLCH L 53.6% C 0.210 H 322.1°. Best body text is #FFFFFF at 5.79:1 contrast (WCAG AA passes).

Color values

HEX#A231B3
RGBrgb(162, 49, 179)
HSLhsl(292, 57%, 45%)
HSVhsv(292, 73%, 70%)
CMYKcmyk(9.5%, 72.6%, 0%, 29.8%)
CIE-LABlab(42.96, 62.46, -46.09)
CIE-LCHlch(42.96, 77.63, 323.58°)
OKLaboklab(53.57% 0.1655 -0.1288)
OKLCHoklch(53.57% 0.21 322.1)
XYZxyz(24.1344, 13.1340, 43.9030)
Luminance0.1313 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A231B3 #42B331
analogous
#6131B3 #A231B3 #B33183
triadic
#A231B3 #B3A231 #31B3A2
tetradic
#A231B3 #B36131 #42B331 #3183B3
square
#A231B3 #B36131 #42B331 #3183B3
split-complementary
#A231B3 #83B331 #31B361
monochromatic
#4B1753 #772483 #A231B3 #BF52D0 #D182DD

Accessibility & contrast

On white

5.79
#A231B3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #A231B3
5.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A231B3#FFFFFF#000000##FFFFFF
##A231B31.005.793.635.79
#FFFFFF5.791.0021.001.00
#0000003.6321.001.0021.00
##FFFFFF5.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005DB7
Deuteranopia (green-blind)
#436AB0
Tritanopia (blue-blind)
#A4496F
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #a231b3;
/* rgb */ color: rgb(162, 49, 179);
/* oklch */ color: oklch(53.6% 0.210 322.1);
Tailwind
colors: {
  custom: {
    50: '#c174ca',
    500: '#a231b3',
    950: '#000000',
  },
}
SCSS
$custom: #a231b3;
$custom-light: #c174ca;
$custom-dark: #000000;
JSON
{
  "hex": "#a231b3",
  "rgb": {
    "r": 162,
    "g": 49,
    "b": 179
  },
  "hsl": {
    "h": 292.154,
    "s": 57.018,
    "l": 44.706
  },
  "oklch": {
    "l": 0.53567,
    "c": 0.20974,
    "h": 322.1
  },
  "luminance": 0.13133
}

Semantic roles & 50–950 ramp

primary
#A231B3
secondary
#84C67A
accent
#E0485B
background
#FCF7FC
surface
#F8EDF8
border
#D1C8D1
text
#130913
muted
#827B82

Preview Lab

Preview with #A231B3

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

Preview Lab → · Contrast checker → · Palette generator →

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