#A231C0#A231C0

#A231C0 is a mid, highly saturated purple. Relative luminance 0.137; OKLCH L 54.4% C 0.221 H 318.1°. Best body text is #FFFFFF at 5.62:1 contrast (WCAG AA passes).

Color values

HEX#A231C0
RGBrgb(162, 49, 192)
HSLhsl(287, 59%, 47%)
HSVhsv(287, 74%, 75%)
CMYKcmyk(15.6%, 74.5%, 0%, 24.7%)
CIE-LABlab(43.78, 64.87, -52.42)
CIE-LCHlch(43.78, 83.40, 321.06°)
OKLaboklab(54.41% 0.1644 -0.1473)
OKLCHoklch(54.41% 0.221 318.1)
XYZxyz(25.5117, 13.6849, 51.1566)
Luminance0.1368 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A231C0 #4FC031
analogous
#5B31C0 #A231C0 #C03196
triadic
#A231C0 #C0A231 #31C0A2
tetradic
#A231C0 #C05B31 #4FC031 #3196C0
square
#A231C0 #C05B31 #4FC031 #3196C0
split-complementary
#A231C0 #96C031 #31C05B
monochromatic
#50185E #79258F #A231C0 #BB59D5 #CF8AE1

Accessibility & contrast

On white

5.62
#A231C0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.74
#A231C0 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A231C0
5.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A231C0#FFFFFF#000000##FFFFFF
##A231C01.005.623.745.62
#FFFFFF5.621.0021.001.00
#0000003.7421.001.0021.00
##FFFFFF5.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0060C4
Deuteranopia (green-blind)
#386BBD
Tritanopia (blue-blind)
#A14F77
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #a231c0;
/* rgb */ color: rgb(162, 49, 192);
/* oklch */ color: oklch(54.4% 0.221 318.1);
Tailwind
colors: {
  custom: {
    50: '#c275d4',
    500: '#a231c0',
    950: '#000000',
  },
}
SCSS
$custom: #a231c0;
$custom-light: #c275d4;
$custom-dark: #000000;
JSON
{
  "hex": "#a231c0",
  "rgb": {
    "r": 162,
    "g": 49,
    "b": 192
  },
  "hsl": {
    "h": 287.413,
    "s": 59.336,
    "l": 47.255
  },
  "oklch": {
    "l": 0.54405,
    "c": 0.22077,
    "h": 318.1
  },
  "luminance": 0.13684
}

Semantic roles & 50–950 ramp

primary
#A231C0
secondary
#91CB82
accent
#E34566
background
#FCF7FD
surface
#F8EDFA
border
#D1C8D3
text
#130914
muted
#827B83

Preview Lab

Preview with #A231C0

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

Preview Lab → · Contrast checker → · Palette generator →

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