#A231AF#A231AF

#A231AF is a mid, highly saturated purple. Relative luminance 0.130; OKLCH L 53.3% C 0.206 H 323.4°. Best body text is #FFFFFF at 5.84:1 contrast (WCAG AA passes).

Color values

HEX#A231AF
RGBrgb(162, 49, 175)
HSLhsl(294, 56%, 44%)
HSVhsv(294, 72%, 69%)
CMYKcmyk(7.4%, 72%, 0%, 31.4%)
CIE-LABlab(42.72, 61.74, -44.11)
CIE-LCHlch(42.72, 75.88, 324.46°)
OKLaboklab(53.32% 0.1657 -0.123)
OKLCHoklch(53.32% 0.206 323.4)
XYZxyz(23.7358, 12.9746, 41.8033)
Luminance0.1297 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A231AF #3EAF31
analogous
#6331AF #A231AF #AF317D
triadic
#A231AF #AFA231 #31AFA2
tetradic
#A231AF #AF6331 #3EAF31 #317DAF
square
#A231AF #AF6331 #3EAF31 #317DAF
split-complementary
#A231AF #7DAF31 #31AF63
monochromatic
#49164F #76247F #A231AF #C14FCE #D27FDB

Accessibility & contrast

On white

5.84
#A231AF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.59
#A231AF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A231AF
5.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A231AF#FFFFFF#000000##FFFFFF
##A231AF1.005.843.595.84
#FFFFFF5.841.0021.001.00
#0000003.5921.001.0021.00
##FFFFFF5.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005CB3
Deuteranopia (green-blind)
#4669AC
Tritanopia (blue-blind)
#A5476D
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #a231af;
/* rgb */ color: rgb(162, 49, 175);
/* oklch */ color: oklch(53.3% 0.206 323.4);
Tailwind
colors: {
  custom: {
    50: '#c174c7',
    500: '#a231af',
    950: '#000000',
  },
}
SCSS
$custom: #a231af;
$custom-light: #c174c7;
$custom-dark: #000000;
JSON
{
  "hex": "#a231af",
  "rgb": {
    "r": 162,
    "g": 49,
    "b": 175
  },
  "hsl": {
    "h": 293.81,
    "s": 56.25,
    "l": 43.922
  },
  "oklch": {
    "l": 0.53319,
    "c": 0.20639,
    "h": 323.4
  },
  "luminance": 0.12973
}

Semantic roles & 50–950 ramp

primary
#A231AF
secondary
#80C478
accent
#E04858
background
#FCF7FC
surface
#F8EDF8
border
#D1C8D1
text
#130913
muted
#827B82

Preview Lab

Preview with #A231AF

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

Preview Lab → · Contrast checker → · Palette generator →

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