#A231C2#A231C2

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

Color values

HEX#A231C2
RGBrgb(162, 49, 194)
HSLhsl(287, 60%, 48%)
HSVhsv(287, 75%, 76%)
CMYKcmyk(16.5%, 74.7%, 0%, 23.9%)
CIE-LABlab(43.91, 65.25, -53.37)
CIE-LCHlch(43.91, 84.30, 320.72°)
OKLaboklab(54.54% 0.1642 -0.1501)
OKLCHoklch(54.54% 0.222 317.6)
XYZxyz(25.7348, 13.7742, 52.3316)
Luminance0.1377 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A231C2 #51C231
analogous
#5A31C2 #A231C2 #C23199
triadic
#A231C2 #C2A231 #31C2A2
tetradic
#A231C2 #C25A31 #51C231 #3199C2
square
#A231C2 #C25A31 #51C231 #3199C2
split-complementary
#A231C2 #99C231 #31C25A
monochromatic
#501860 #792591 #A231C2 #BA5BD6 #CF8CE2

Accessibility & contrast

On white

5.59
#A231C2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #A231C2
5.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A231C2#FFFFFF#000000##FFFFFF
##A231C21.005.593.755.59
#FFFFFF5.591.0021.001.00
#0000003.7521.001.0021.00
##FFFFFF5.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0061C6
Deuteranopia (green-blind)
#356BBF
Tritanopia (blue-blind)
#A15078
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #a231c2;
/* rgb */ color: rgb(162, 49, 194);
/* oklch */ color: oklch(54.5% 0.222 317.6);
Tailwind
colors: {
  custom: {
    50: '#c275d5',
    500: '#a231c2',
    950: '#000000',
  },
}
SCSS
$custom: #a231c2;
$custom-light: #c275d5;
$custom-dark: #000000;
JSON
{
  "hex": "#a231c2",
  "rgb": {
    "r": 162,
    "g": 49,
    "b": 194
  },
  "hsl": {
    "h": 286.759,
    "s": 59.671,
    "l": 47.647
  },
  "oklch": {
    "l": 0.54539,
    "c": 0.22249,
    "h": 317.6
  },
  "luminance": 0.13773
}

Semantic roles & 50–950 ramp

primary
#A231C2
secondary
#93CC83
accent
#E34568
background
#FCF7FD
surface
#F8EDFA
border
#D1C8D3
text
#130914
muted
#827B83

Preview Lab

Preview with #A231C2

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

Preview Lab → · Contrast checker → · Palette generator →

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