#A231C5#A231C5

#A231C5 is a mid, highly saturated purple. Relative luminance 0.139; OKLCH L 54.7% C 0.225 H 316.7°. Best body text is #FFFFFF at 5.55:1 contrast (WCAG AA passes).

Color values

HEX#A231C5
RGBrgb(162, 49, 197)
HSLhsl(286, 60%, 48%)
HSVhsv(286, 75%, 77%)
CMYKcmyk(17.8%, 75.1%, 0%, 22.7%)
CIE-LABlab(44.10, 65.82, -54.80)
CIE-LCHlch(44.10, 85.65, 320.22°)
OKLaboklab(54.74% 0.1638 -0.1543)
OKLCHoklch(54.74% 0.225 316.7)
XYZxyz(26.0751, 13.9103, 54.1239)
Luminance0.1391 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A231C5 #54C531
analogous
#5831C5 #A231C5 #C5319E
triadic
#A231C5 #C5A231 #31C5A2
tetradic
#A231C5 #C55831 #54C531 #319EC5
square
#A231C5 #C55831 #54C531 #319EC5
split-complementary
#A231C5 #9EC531 #31C558
monochromatic
#511963 #7A2594 #A231C5 #BA5DD7 #CF8EE3

Accessibility & contrast

On white

5.55
#A231C5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.78
#A231C5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A231C5
5.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A231C5#FFFFFF#000000##FFFFFF
##A231C51.005.553.785.55
#FFFFFF5.551.0021.001.00
#0000003.7821.001.0021.00
##FFFFFF5.551.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0062C9
Deuteranopia (green-blind)
#326BC2
Tritanopia (blue-blind)
#A05179
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #a231c5;
/* rgb */ color: rgb(162, 49, 197);
/* oklch */ color: oklch(54.7% 0.225 316.7);
Tailwind
colors: {
  custom: {
    50: '#c275d7',
    500: '#a231c5',
    950: '#000000',
  },
}
SCSS
$custom: #a231c5;
$custom-light: #c275d7;
$custom-dark: #000000;
JSON
{
  "hex": "#a231c5",
  "rgb": {
    "r": 162,
    "g": 49,
    "b": 197
  },
  "hsl": {
    "h": 285.811,
    "s": 60.163,
    "l": 48.235
  },
  "oklch": {
    "l": 0.5474,
    "c": 0.22506,
    "h": 316.7
  },
  "luminance": 0.13909
}

Semantic roles & 50–950 ramp

primary
#A231C5
secondary
#96CD85
accent
#E3446A
background
#FCF7FD
surface
#F8EEFA
border
#D1C9D3
text
#130914
muted
#827B83

Preview Lab

Preview with #A231C5

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

Preview Lab → · Contrast checker → · Palette generator →

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