#A247BD#A247BD

#A247BD is a mid, vivid purple. Relative luminance 0.159; OKLCH L 56.5% C 0.191 H 317.7°. Best body text is #FFFFFF at 5.03:1 contrast (WCAG AA passes).

Color values

HEX#A247BD
RGBrgb(162, 71, 189)
HSLhsl(286, 47%, 51%)
HSVhsv(286, 62%, 74%)
CMYKcmyk(14.3%, 62.4%, 0%, 25.9%)
CIE-LABlab(46.79, 55.31, -45.84)
CIE-LCHlch(46.79, 71.83, 320.35°)
OKLaboklab(56.51% 0.1411 -0.1282)
OKLCHoklch(56.51% 0.191 317.7)
XYZxyz(26.3375, 15.8630, 49.8088)
Luminance0.1586 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A247BD #62BD47
analogous
#6747BD #A247BD #BD479D
triadic
#A247BD #BDA247 #47BDA2
tetradic
#A247BD #BD6747 #62BD47 #479DBD
square
#A247BD #BD6747 #62BD47 #479DBD
split-complementary
#A247BD #9DBD47 #47BD67
monochromatic
#562465 #7D3492 #A247BD #B974CD #D0A1DD

Accessibility & contrast

On white

5.03
#A247BD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.17
#A247BD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A247BD
5.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A247BD#FFFFFF#000000##FFFFFF
##A247BD1.005.034.175.03
#FFFFFF5.031.0021.001.00
#0000004.1721.001.0021.00
##FFFFFF5.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2369C1
Deuteranopia (green-blind)
#4B72BA
Tritanopia (blue-blind)
#A15B7C
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #a247bd;
/* rgb */ color: rgb(162, 71, 189);
/* oklch */ color: oklch(56.5% 0.191 317.7);
Tailwind
colors: {
  custom: {
    50: '#c180d1',
    500: '#a247bd',
    950: '#000000',
  },
}
SCSS
$custom: #a247bd;
$custom-light: #c180d1;
$custom-dark: #000000;
JSON
{
  "hex": "#a247bd",
  "rgb": {
    "r": 162,
    "g": 71,
    "b": 189
  },
  "hsl": {
    "h": 286.271,
    "s": 47.2,
    "l": 50.98
  },
  "oklch": {
    "l": 0.5651,
    "c": 0.19068,
    "h": 317.7
  },
  "luminance": 0.15862
}

Semantic roles & 50–950 ramp

primary
#A247BD
secondary
#A2CA96
accent
#D75170
background
#FCF8FC
surface
#F8EFF9
border
#D1CAD2
text
#130B14
muted
#827C82

Preview Lab

Preview with #A247BD

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

Preview Lab → · Contrast checker → · Palette generator →

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