#A731C8#A731C8

#A731C8 is a mid, highly saturated purple. Relative luminance 0.146; OKLCH L 55.6% C 0.229 H 317.6°. Best body text is #FFFFFF at 5.36:1 contrast (WCAG AA passes).

Color values

HEX#A731C8
RGBrgb(167, 49, 200)
HSLhsl(287, 61%, 49%)
HSVhsv(287, 76%, 78%)
CMYKcmyk(16.5%, 75.5%, 0%, 21.6%)
CIE-LABlab(45.06, 67.35, -54.97)
CIE-LCHlch(45.06, 86.94, 320.78°)
OKLaboklab(55.63% 0.1695 -0.1546)
OKLCHoklch(55.63% 0.229 317.6)
XYZxyz(27.4585, 14.5835, 56.0009)
Luminance0.1458 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A731C8 #52C831
analogous
#5B31C8 #A731C8 #C8319E
triadic
#A731C8 #C8A731 #31C8A7
tetradic
#A731C8 #C85B31 #52C831 #319EC8
square
#A731C8 #C85B31 #52C831 #319EC8
split-complementary
#A731C8 #9EC831 #31C85B
monochromatic
#551966 #7E2597 #A731C8 #BD5FD8 #D190E4

Accessibility & contrast

On white

5.36
#A731C8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.92
#A731C8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A731C8
5.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A731C8#FFFFFF#000000##FFFFFF
##A731C81.005.363.925.36
#FFFFFF5.361.0021.001.00
#0000003.9221.001.0021.00
##FFFFFF5.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0063CC
Deuteranopia (green-blind)
#366EC5
Tritanopia (blue-blind)
#A6527B
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #a731c8;
/* rgb */ color: rgb(167, 49, 200);
/* oklch */ color: oklch(55.6% 0.229 317.6);
Tailwind
colors: {
  custom: {
    50: '#c576d9',
    500: '#a731c8',
    950: '#000000',
  },
}
SCSS
$custom: #a731c8;
$custom-light: #c576d9;
$custom-dark: #000000;
JSON
{
  "hex": "#a731c8",
  "rgb": {
    "r": 167,
    "g": 49,
    "b": 200
  },
  "hsl": {
    "h": 286.887,
    "s": 60.643,
    "l": 48.824
  },
  "oklch": {
    "l": 0.5563,
    "c": 0.22943,
    "h": 317.6
  },
  "luminance": 0.14582
}

Semantic roles & 50–950 ramp

primary
#A731C8
secondary
#96CE86
accent
#E44467
background
#FCF7FD
surface
#F9EEFB
border
#D2C9D4
text
#130915
muted
#827B83

Preview Lab

Preview with #A731C8

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

Preview Lab → · Contrast checker → · Palette generator →

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