#A231CA#A231CA

#A231CA is a mid, highly saturated purple. Relative luminance 0.141; OKLCH L 55.1% C 0.229 H 315.3°. Best body text is #FFFFFF at 5.49:1 contrast (WCAG AA passes).

Color values

HEX#A231CA
RGBrgb(162, 49, 202)
HSLhsl(284, 61%, 49%)
HSVhsv(284, 76%, 79%)
CMYKcmyk(19.8%, 75.7%, 0%, 20.8%)
CIE-LABlab(44.44, 66.78, -57.17)
CIE-LCHlch(44.44, 87.91, 319.44°)
OKLaboklab(55.08% 0.1631 -0.1613)
OKLCHoklch(55.08% 0.229 315.3)
XYZxyz(26.6575, 14.1433, 57.1914)
Luminance0.1414 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A231CA #59CA31
analogous
#5631CA #A231CA #CA31A6
triadic
#A231CA #CAA231 #31CAA2
tetradic
#A231CA #CA5631 #59CA31 #31A6CA
square
#A231CA #CA5631 #59CA31 #31A6CA
split-complementary
#A231CA #A6CA31 #31CA56
monochromatic
#531967 #7B2599 #A231CA #B960D8 #CF91E4

Accessibility & contrast

On white

5.49
#A231CA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.83
#A231CA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A231CA
5.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A231CA#FFFFFF#000000##FFFFFF
##A231CA1.005.493.835.49
#FFFFFF5.491.0021.001.00
#0000003.8321.001.0021.00
##FFFFFF5.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0063CE
Deuteranopia (green-blind)
#2B6CC7
Tritanopia (blue-blind)
#9F537C
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #a231ca;
/* rgb */ color: rgb(162, 49, 202);
/* oklch */ color: oklch(55.1% 0.229 315.3);
Tailwind
colors: {
  custom: {
    50: '#c275db',
    500: '#a231ca',
    950: '#000000',
  },
}
SCSS
$custom: #a231ca;
$custom-light: #c275db;
$custom-dark: #000000;
JSON
{
  "hex": "#a231ca",
  "rgb": {
    "r": 162,
    "g": 49,
    "b": 202
  },
  "hsl": {
    "h": 284.314,
    "s": 60.956,
    "l": 49.216
  },
  "oklch": {
    "l": 0.55082,
    "c": 0.22938,
    "h": 315.3
  },
  "luminance": 0.14142
}

Semantic roles & 50–950 ramp

primary
#A231CA
secondary
#9ACF88
accent
#E4446E
background
#FCF7FD
surface
#F8EEFB
border
#D1C9D4
text
#130915
muted
#827B83

Preview Lab

Preview with #A231CA

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

Preview Lab → · Contrast checker → · Palette generator →

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