#A031C8#A031C8

#A031C8 is a mid, highly saturated purple. Relative luminance 0.138; OKLCH L 54.7% C 0.227 H 315.2°. Best body text is #FFFFFF at 5.57:1 contrast (WCAG AA passes).

Color values

HEX#A031C8
RGBrgb(160, 49, 200)
HSLhsl(284, 61%, 49%)
HSVhsv(284, 76%, 78%)
CMYKcmyk(20%, 75.5%, 0%, 21.6%)
CIE-LABlab(44.00, 66.01, -56.72)
CIE-LCHlch(44.00, 87.04, 319.33°)
OKLaboklab(54.67% 0.161 -0.16)
OKLCHoklch(54.67% 0.227 315.2)
XYZxyz(26.0191, 13.8413, 55.9334)
Luminance0.1384 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A031C8 #59C831
analogous
#5531C8 #A031C8 #C831A5
triadic
#A031C8 #C8A031 #31C8A0
tetradic
#A031C8 #C85531 #59C831 #31A5C8
square
#A031C8 #C85531 #59C831 #31A5C8
split-complementary
#A031C8 #A5C831 #31C855
monochromatic
#511966 #792597 #A031C8 #B85FD8 #CD90E4

Accessibility & contrast

On white

5.57
#A031C8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.77
#A031C8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A031C8
5.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A031C8#FFFFFF#000000##FFFFFF
##A031C81.005.573.775.57
#FFFFFF5.571.0021.001.00
#0000003.7721.001.0021.00
##FFFFFF5.571.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0062CC
Deuteranopia (green-blind)
#2B6BC5
Tritanopia (blue-blind)
#9D537B
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #a031c8;
/* rgb */ color: rgb(160, 49, 200);
/* oklch */ color: oklch(54.7% 0.227 315.2);
Tailwind
colors: {
  custom: {
    50: '#c175d9',
    500: '#a031c8',
    950: '#000000',
  },
}
SCSS
$custom: #a031c8;
$custom-light: #c175d9;
$custom-dark: #000000;
JSON
{
  "hex": "#a031c8",
  "rgb": {
    "r": 160,
    "g": 49,
    "b": 200
  },
  "hsl": {
    "h": 284.106,
    "s": 60.643,
    "l": 48.824
  },
  "oklch": {
    "l": 0.54673,
    "c": 0.22696,
    "h": 315.2
  },
  "luminance": 0.1384
}

Semantic roles & 50–950 ramp

primary
#A031C8
secondary
#9ACE86
accent
#E4446E
background
#FCF7FD
surface
#F8EDFB
border
#D1C8D4
text
#130915
muted
#827B83

Preview Lab

Preview with #A031C8

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

Preview Lab → · Contrast checker → · Palette generator →

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