#A231C8#A231C8

#A231C8 is a mid, highly saturated purple. Relative luminance 0.140; OKLCH L 54.9% C 0.228 H 315.9°. Best body text is #FFFFFF at 5.51:1 contrast (WCAG AA passes).

Color values

HEX#A231C8
RGBrgb(162, 49, 200)
HSLhsl(285, 61%, 49%)
HSVhsv(285, 76%, 78%)
CMYKcmyk(19%, 75.5%, 0%, 21.6%)
CIE-LABlab(44.30, 66.39, -56.22)
CIE-LCHlch(44.30, 87.00, 319.74°)
OKLaboklab(54.95% 0.1634 -0.1585)
OKLCHoklch(54.95% 0.228 315.9)
XYZxyz(26.4223, 14.0492, 55.9523)
Luminance0.1405 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A231C8 #57C831
analogous
#5731C8 #A231C8 #C831A3
triadic
#A231C8 #C8A231 #31C8A2
tetradic
#A231C8 #C85731 #57C831 #31A3C8
square
#A231C8 #C85731 #57C831 #31A3C8
split-complementary
#A231C8 #A3C831 #31C857
monochromatic
#521966 #7A2597 #A231C8 #B95FD8 #CF90E4

Accessibility & contrast

On white

5.51
#A231C8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.81
#A231C8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A231C8
5.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A231C8#FFFFFF#000000##FFFFFF
##A231C81.005.513.815.51
#FFFFFF5.511.0021.001.00
#0000003.8121.001.0021.00
##FFFFFF5.511.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0062CC
Deuteranopia (green-blind)
#2E6CC5
Tritanopia (blue-blind)
#9F537B
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #a231c8;
/* rgb */ color: rgb(162, 49, 200);
/* oklch */ color: oklch(54.9% 0.228 315.9);
Tailwind
colors: {
  custom: {
    50: '#c275d9',
    500: '#a231c8',
    950: '#000000',
  },
}
SCSS
$custom: #a231c8;
$custom-light: #c275d9;
$custom-dark: #000000;
JSON
{
  "hex": "#a231c8",
  "rgb": {
    "r": 162,
    "g": 49,
    "b": 200
  },
  "hsl": {
    "h": 284.901,
    "s": 60.643,
    "l": 48.824
  },
  "oklch": {
    "l": 0.54945,
    "c": 0.22765,
    "h": 315.9
  },
  "luminance": 0.14048
}

Semantic roles & 50–950 ramp

primary
#A231C8
secondary
#99CE86
accent
#E4446C
background
#FCF7FD
surface
#F8EEFB
border
#D1C9D4
text
#130915
muted
#827B83

Preview Lab

Preview with #A231C8

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

Preview Lab → · Contrast checker → · Palette generator →

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