#A231C6#A231C6

#A231C6 is a mid, highly saturated purple. Relative luminance 0.140; OKLCH L 54.8% C 0.226 H 316.4°. Best body text is #FFFFFF at 5.54:1 contrast (WCAG AA passes).

Color values

HEX#A231C6
RGBrgb(162, 49, 198)
HSLhsl(286, 60%, 48%)
HSVhsv(286, 75%, 78%)
CMYKcmyk(18.2%, 75.3%, 0%, 22.4%)
CIE-LABlab(44.17, 66.01, -55.28)
CIE-LCHlch(44.17, 86.10, 320.06°)
OKLaboklab(54.81% 0.1637 -0.1557)
OKLCHoklch(54.81% 0.226 316.4)
XYZxyz(26.1901, 13.9563, 54.7294)
Luminance0.1396 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A231C6 #55C631
analogous
#5731C6 #A231C6 #C6319F
triadic
#A231C6 #C6A231 #31C6A2
tetradic
#A231C6 #C65731 #55C631 #319FC6
square
#A231C6 #C65731 #55C631 #319FC6
split-complementary
#A231C6 #9FC631 #31C657
monochromatic
#521964 #7A2595 #A231C6 #BA5DD7 #CF8EE3

Accessibility & contrast

On white

5.54
#A231C6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.79
#A231C6 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A231C6
5.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A231C6#FFFFFF#000000##FFFFFF
##A231C61.005.543.795.54
#FFFFFF5.541.0021.001.00
#0000003.7921.001.0021.00
##FFFFFF5.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0062CA
Deuteranopia (green-blind)
#316CC3
Tritanopia (blue-blind)
#A0527A
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #a231c6;
/* rgb */ color: rgb(162, 49, 198);
/* oklch */ color: oklch(54.8% 0.226 316.4);
Tailwind
colors: {
  custom: {
    50: '#c275d8',
    500: '#a231c6',
    950: '#000000',
  },
}
SCSS
$custom: #a231c6;
$custom-light: #c275d8;
$custom-dark: #000000;
JSON
{
  "hex": "#a231c6",
  "rgb": {
    "r": 162,
    "g": 49,
    "b": 198
  },
  "hsl": {
    "h": 285.503,
    "s": 60.324,
    "l": 48.431
  },
  "oklch": {
    "l": 0.54808,
    "c": 0.22592,
    "h": 316.4
  },
  "luminance": 0.13955
}

Semantic roles & 50–950 ramp

primary
#A231C6
secondary
#97CE85
accent
#E3446B
background
#FCF7FD
surface
#F8EEFA
border
#D1C9D3
text
#130915
muted
#827B83

Preview Lab

Preview with #A231C6

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

Preview Lab → · Contrast checker → · Palette generator →

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