#A231C3#A231C3

#A231C3 is a mid, highly saturated purple. Relative luminance 0.138; OKLCH L 54.6% C 0.223 H 317.3°. Best body text is #FFFFFF at 5.58:1 contrast (WCAG AA passes).

Color values

HEX#A231C3
RGBrgb(162, 49, 195)
HSLhsl(286, 60%, 48%)
HSVhsv(286, 75%, 76%)
CMYKcmyk(16.9%, 74.9%, 0%, 23.5%)
CIE-LABlab(43.97, 65.44, -53.85)
CIE-LCHlch(43.97, 84.75, 320.55°)
OKLaboklab(54.61% 0.1641 -0.1515)
OKLCHoklch(54.61% 0.223 317.3)
XYZxyz(25.8475, 13.8193, 52.9250)
Luminance0.1382 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A231C3 #52C331
analogous
#5931C3 #A231C3 #C3319B
triadic
#A231C3 #C3A231 #31C3A2
tetradic
#A231C3 #C35931 #52C331 #319BC3
square
#A231C3 #C35931 #52C331 #319BC3
split-complementary
#A231C3 #9BC331 #31C359
monochromatic
#511861 #792592 #A231C3 #BA5BD6 #CF8CE2

Accessibility & contrast

On white

5.58
#A231C3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.76
#A231C3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A231C3
5.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A231C3#FFFFFF#000000##FFFFFF
##A231C31.005.583.765.58
#FFFFFF5.581.0021.001.00
#0000003.7621.001.0021.00
##FFFFFF5.581.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0061C7
Deuteranopia (green-blind)
#346BC0
Tritanopia (blue-blind)
#A05078
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #a231c3;
/* rgb */ color: rgb(162, 49, 195);
/* oklch */ color: oklch(54.6% 0.223 317.3);
Tailwind
colors: {
  custom: {
    50: '#c275d6',
    500: '#a231c3',
    950: '#000000',
  },
}
SCSS
$custom: #a231c3;
$custom-light: #c275d6;
$custom-dark: #000000;
JSON
{
  "hex": "#a231c3",
  "rgb": {
    "r": 162,
    "g": 49,
    "b": 195
  },
  "hsl": {
    "h": 286.438,
    "s": 59.836,
    "l": 47.843
  },
  "oklch": {
    "l": 0.54606,
    "c": 0.22335,
    "h": 317.3
  },
  "luminance": 0.13818
}

Semantic roles & 50–950 ramp

primary
#A231C3
secondary
#94CC83
accent
#E34569
background
#FCF7FD
surface
#F8EDFA
border
#D1C8D3
text
#130914
muted
#827B83

Preview Lab

Preview with #A231C3

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

Preview Lab → · Contrast checker → · Palette generator →

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