#A247AF#A247AF

#A247AF is a mid, vivid purple. Relative luminance 0.153; OKLCH L 55.7% C 0.177 H 322.5°. Best body text is #FFFFFF at 5.18:1 contrast (WCAG AA passes).

Color values

HEX#A247AF
RGBrgb(162, 71, 175)
HSLhsl(293, 42%, 48%)
HSVhsv(293, 59%, 69%)
CMYKcmyk(7.4%, 59.4%, 0%, 31.4%)
CIE-LABlab(46.02, 52.56, -38.87)
CIE-LCHlch(46.02, 65.37, 323.51°)
OKLaboklab(55.7% 0.1407 -0.1079)
OKLCHoklch(55.7% 0.177 322.5)
XYZxyz(24.8906, 15.2843, 42.1882)
Luminance0.1528 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A247AF #54AF47
analogous
#6E47AF #A247AF #AF4788
triadic
#A247AF #AFA247 #47AFA2
tetradic
#A247AF #AF6E47 #54AF47 #4788AF
square
#A247AF #AF6E47 #54AF47 #4788AF
split-complementary
#A247AF #88AF47 #47AF6E
monochromatic
#512458 #7A3583 #A247AF #BA6FC4 #CF9AD6

Accessibility & contrast

On white

5.18
#A247AF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.06
#A247AF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A247AF
5.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A247AF#FFFFFF#000000##FFFFFF
##A247AF1.005.184.065.18
#FFFFFF5.181.0021.001.00
#0000004.0621.001.0021.00
##FFFFFF5.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3366B2
Deuteranopia (green-blind)
#5471AC
Tritanopia (blue-blind)
#A45674
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #a247af;
/* rgb */ color: rgb(162, 71, 175);
/* oklch */ color: oklch(55.7% 0.177 322.5);
Tailwind
colors: {
  custom: {
    50: '#c07fc7',
    500: '#a247af',
    950: '#000000',
  },
}
SCSS
$custom: #a247af;
$custom-light: #c07fc7;
$custom-dark: #000000;
JSON
{
  "hex": "#a247af",
  "rgb": {
    "r": 162,
    "g": 71,
    "b": 175
  },
  "hsl": {
    "h": 292.5,
    "s": 42.276,
    "l": 48.235
  },
  "oklch": {
    "l": 0.55698,
    "c": 0.17729,
    "h": 322.5
  },
  "luminance": 0.15283
}

Semantic roles & 50–950 ramp

primary
#A247AF
secondary
#96C28F
accent
#D25665
background
#FCF8FC
surface
#F8EFF8
border
#D1CAD1
text
#130A13
muted
#827C82

Preview Lab

Preview with #A247AF

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

Preview Lab → · Contrast checker → · Palette generator →

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