#A831CF#A831CF

#A831CF is a mid, highly saturated purple. Relative luminance 0.150; OKLCH L 56.2% C 0.236 H 316.1°. Best body text is #FFFFFF at 5.24:1 contrast (WCAG AA passes).

Color values

HEX#A831CF
RGBrgb(168, 49, 207)
HSLhsl(285, 62%, 50%)
HSVhsv(285, 76%, 81%)
CMYKcmyk(18.8%, 76.3%, 0%, 18.8%)
CIE-LABlab(45.67, 68.86, -58.02)
CIE-LCHlch(45.67, 90.05, 319.89°)
OKLaboklab(56.24% 0.1697 -0.1636)
OKLCHoklch(56.24% 0.236 316.1)
XYZxyz(28.5075, 15.0276, 60.4184)
Luminance0.1503 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A831CF #58CF31
analogous
#5931CF #A831CF #CF31A7
triadic
#A831CF #CFA831 #31CFA8
tetradic
#A831CF #CF5931 #58CF31 #31A7CF
square
#A831CF #CF5931 #58CF31 #31A7CF
split-complementary
#A831CF #A7CF31 #31CF59
monochromatic
#58196C #80259E #A831CF #BD63DB #D294E6

Accessibility & contrast

On white

5.24
#A831CF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.01
#A831CF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A831CF
5.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A831CF#FFFFFF#000000##FFFFFF
##A831CF1.005.244.015.24
#FFFFFF5.241.0021.001.00
#0000004.0121.001.0021.00
##FFFFFF5.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0065D3
Deuteranopia (green-blind)
#2F6FCC
Tritanopia (blue-blind)
#A5557F
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #a831cf;
/* rgb */ color: rgb(168, 49, 207);
/* oklch */ color: oklch(56.2% 0.236 316.1);
Tailwind
colors: {
  custom: {
    50: '#c676de',
    500: '#a831cf',
    950: '#000000',
  },
}
SCSS
$custom: #a831cf;
$custom-light: #c676de;
$custom-dark: #000000;
JSON
{
  "hex": "#a831cf",
  "rgb": {
    "r": 168,
    "g": 49,
    "b": 207
  },
  "hsl": {
    "h": 285.19,
    "s": 62.205,
    "l": 50.196
  },
  "oklch": {
    "l": 0.56241,
    "c": 0.23571,
    "h": 316.1
  },
  "luminance": 0.15026
}

Semantic roles & 50–950 ramp

primary
#A831CF
secondary
#9CD18B
accent
#E5436B
background
#FCF7FD
surface
#F9EEFB
border
#D2C9D4
text
#140915
muted
#827B83

Preview Lab

Preview with #A831CF

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

Preview Lab → · Contrast checker → · Palette generator →

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