#A331AF#A331AF

#A331AF is a mid, highly saturated purple. Relative luminance 0.131; OKLCH L 53.5% C 0.207 H 323.8°. Best body text is #FFFFFF at 5.81:1 contrast (WCAG AA passes).

Color values

HEX#A331AF
RGBrgb(163, 49, 175)
HSLhsl(294, 56%, 44%)
HSVhsv(294, 72%, 69%)
CMYKcmyk(6.9%, 72%, 0%, 31.4%)
CIE-LABlab(42.88, 61.96, -43.85)
CIE-LCHlch(42.88, 75.90, 324.71°)
OKLaboklab(53.46% 0.1669 -0.1222)
OKLCHoklch(53.46% 0.207 323.8)
XYZxyz(23.9397, 13.0798, 41.8128)
Luminance0.1308 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A331AF #3DAF31
analogous
#6431AF #A331AF #AF317C
triadic
#A331AF #AFA331 #31AFA3
tetradic
#A331AF #AF6431 #3DAF31 #317CAF
square
#A331AF #AF6431 #3DAF31 #317CAF
split-complementary
#A331AF #7CAF31 #31AF64
monochromatic
#4A164F #76247F #A331AF #C24FCE #D27FDB

Accessibility & contrast

On white

5.81
#A331AF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.62
#A331AF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A331AF
5.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A331AF#FFFFFF#000000##FFFFFF
##A331AF1.005.813.625.81
#FFFFFF5.811.0021.001.00
#0000003.6221.001.0021.00
##FFFFFF5.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#015DB3
Deuteranopia (green-blind)
#476AAC
Tritanopia (blue-blind)
#A6476D
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #a331af;
/* rgb */ color: rgb(163, 49, 175);
/* oklch */ color: oklch(53.5% 0.207 323.8);
Tailwind
colors: {
  custom: {
    50: '#c274c7',
    500: '#a331af',
    950: '#000000',
  },
}
SCSS
$custom: #a331af;
$custom-light: #c274c7;
$custom-dark: #000000;
JSON
{
  "hex": "#a331af",
  "rgb": {
    "r": 163,
    "g": 49,
    "b": 175
  },
  "hsl": {
    "h": 294.286,
    "s": 56.25,
    "l": 43.922
  },
  "oklch": {
    "l": 0.53463,
    "c": 0.20684,
    "h": 323.8
  },
  "luminance": 0.13078
}

Semantic roles & 50–950 ramp

primary
#A331AF
secondary
#7FC478
accent
#E04857
background
#FCF7FC
surface
#F8EDF8
border
#D1C8D1
text
#130913
muted
#827B82

Preview Lab

Preview with #A331AF

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

Preview Lab → · Contrast checker → · Palette generator →

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