#A231C1#A231C1

#A231C1 is a mid, highly saturated purple. Relative luminance 0.137; OKLCH L 54.5% C 0.222 H 317.8°. Best body text is #FFFFFF at 5.61:1 contrast (WCAG AA passes).

Color values

HEX#A231C1
RGBrgb(162, 49, 193)
HSLhsl(287, 60%, 47%)
HSVhsv(287, 75%, 76%)
CMYKcmyk(16.1%, 74.6%, 0%, 24.3%)
CIE-LABlab(43.84, 65.06, -52.90)
CIE-LCHlch(43.84, 83.85, 320.89°)
OKLaboklab(54.47% 0.1643 -0.1487)
OKLCHoklch(54.47% 0.222 317.8)
XYZxyz(25.6229, 13.7294, 51.7421)
Luminance0.1373 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A231C1 #50C131
analogous
#5A31C1 #A231C1 #C13198
triadic
#A231C1 #C1A231 #31C1A2
tetradic
#A231C1 #C15A31 #50C131 #3198C1
square
#A231C1 #C15A31 #50C131 #3198C1
split-complementary
#A231C1 #98C131 #31C15A
monochromatic
#50185F #792590 #A231C1 #BB5AD5 #CF8BE2

Accessibility & contrast

On white

5.61
#A231C1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.75
#A231C1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A231C1
5.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A231C1#FFFFFF#000000##FFFFFF
##A231C11.005.613.755.61
#FFFFFF5.611.0021.001.00
#0000003.7521.001.0021.00
##FFFFFF5.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0061C5
Deuteranopia (green-blind)
#376BBE
Tritanopia (blue-blind)
#A14F77
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #a231c1;
/* rgb */ color: rgb(162, 49, 193);
/* oklch */ color: oklch(54.5% 0.222 317.8);
Tailwind
colors: {
  custom: {
    50: '#c275d4',
    500: '#a231c1',
    950: '#000000',
  },
}
SCSS
$custom: #a231c1;
$custom-light: #c275d4;
$custom-dark: #000000;
JSON
{
  "hex": "#a231c1",
  "rgb": {
    "r": 162,
    "g": 49,
    "b": 193
  },
  "hsl": {
    "h": 287.083,
    "s": 59.504,
    "l": 47.451
  },
  "oklch": {
    "l": 0.54472,
    "c": 0.22163,
    "h": 317.8
  },
  "luminance": 0.13728
}

Semantic roles & 50–950 ramp

primary
#A231C1
secondary
#92CC82
accent
#E34567
background
#FCF7FD
surface
#F8EDFA
border
#D1C8D3
text
#130914
muted
#827B83

Preview Lab

Preview with #A231C1

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

Preview Lab → · Contrast checker → · Palette generator →

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