#A247BC#A247BC

#A247BC is a mid, vivid purple. Relative luminance 0.158; OKLCH L 56.5% C 0.190 H 318.1°. Best body text is #FFFFFF at 5.04:1 contrast (WCAG AA passes).

Color values

HEX#A247BC
RGBrgb(162, 71, 188)
HSLhsl(287, 47%, 51%)
HSVhsv(287, 62%, 74%)
CMYKcmyk(13.8%, 62.2%, 0%, 26.3%)
CIE-LABlab(46.74, 55.11, -45.35)
CIE-LCHlch(46.74, 71.37, 320.55°)
OKLaboklab(56.45% 0.1411 -0.1268)
OKLCHoklch(56.45% 0.19 318.1)
XYZxyz(26.2294, 15.8198, 49.2391)
Luminance0.1582 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A247BC #61BC47
analogous
#6747BC #A247BC #BC479B
triadic
#A247BC #BCA247 #47BCA2
tetradic
#A247BC #BC6747 #61BC47 #479BBC
square
#A247BC #BC6747 #61BC47 #479BBC
split-complementary
#A247BC #9BBC47 #47BC67
monochromatic
#562464 #7D3591 #A247BC #B974CC #CFA1DD

Accessibility & contrast

On white

5.04
#A247BC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.16
#A247BC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A247BC
5.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A247BC#FFFFFF#000000##FFFFFF
##A247BC1.005.044.165.04
#FFFFFF5.041.0021.001.00
#0000004.1621.001.0021.00
##FFFFFF5.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2569C0
Deuteranopia (green-blind)
#4C72B9
Tritanopia (blue-blind)
#A25B7B
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #a247bc;
/* rgb */ color: rgb(162, 71, 188);
/* oklch */ color: oklch(56.5% 0.190 318.1);
Tailwind
colors: {
  custom: {
    50: '#c180d1',
    500: '#a247bc',
    950: '#000000',
  },
}
SCSS
$custom: #a247bc;
$custom-light: #c180d1;
$custom-dark: #000000;
JSON
{
  "hex": "#a247bc",
  "rgb": {
    "r": 162,
    "g": 71,
    "b": 188
  },
  "hsl": {
    "h": 286.667,
    "s": 46.614,
    "l": 50.784
  },
  "oklch": {
    "l": 0.5645,
    "c": 0.18971,
    "h": 318.1
  },
  "luminance": 0.15819
}

Semantic roles & 50–950 ramp

primary
#A247BC
secondary
#A1C995
accent
#D6526F
background
#FCF8FC
surface
#F8EFF9
border
#D1CAD2
text
#130B14
muted
#827C82

Preview Lab

Preview with #A247BC

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

Preview Lab → · Contrast checker → · Palette generator →

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