#A247BB#A247BB

#A247BB is a mid, vivid purple. Relative luminance 0.158; OKLCH L 56.4% C 0.189 H 318.4°. Best body text is #FFFFFF at 5.05:1 contrast (WCAG AA passes).

Color values

HEX#A247BB
RGBrgb(162, 71, 187)
HSLhsl(287, 46%, 51%)
HSVhsv(287, 62%, 73%)
CMYKcmyk(13.4%, 62%, 0%, 26.7%)
CIE-LABlab(46.68, 54.91, -44.85)
CIE-LCHlch(46.68, 70.90, 320.76°)
OKLaboklab(56.39% 0.1411 -0.1253)
OKLCHoklch(56.39% 0.189 318.4)
XYZxyz(26.1220, 15.7768, 48.6733)
Luminance0.1578 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A247BB #60BB47
analogous
#6847BB #A247BB #BB479A
triadic
#A247BB #BBA247 #47BBA2
tetradic
#A247BB #BB6847 #60BB47 #479ABB
square
#A247BB #BB6847 #60BB47 #479ABB
split-complementary
#A247BB #9ABB47 #47BB68
monochromatic
#562563 #7C3590 #A247BB #B974CC #CFA0DC

Accessibility & contrast

On white

5.05
#A247BB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #A247BB
5.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A247BB#FFFFFF#000000##FFFFFF
##A247BB1.005.054.165.05
#FFFFFF5.051.0021.001.00
#0000004.1621.001.0021.00
##FFFFFF5.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2669BF
Deuteranopia (green-blind)
#4D72B8
Tritanopia (blue-blind)
#A25B7A
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #a247bb;
/* rgb */ color: rgb(162, 71, 187);
/* oklch */ color: oklch(56.4% 0.189 318.4);
Tailwind
colors: {
  custom: {
    50: '#c180d0',
    500: '#a247bb',
    950: '#000000',
  },
}
SCSS
$custom: #a247bb;
$custom-light: #c180d0;
$custom-dark: #000000;
JSON
{
  "hex": "#a247bb",
  "rgb": {
    "r": 162,
    "g": 71,
    "b": 187
  },
  "hsl": {
    "h": 287.069,
    "s": 46.032,
    "l": 50.588
  },
  "oklch": {
    "l": 0.56391,
    "c": 0.18874,
    "h": 318.4
  },
  "luminance": 0.15776
}

Semantic roles & 50–950 ramp

primary
#A247BB
secondary
#A0C995
accent
#D6526E
background
#FCF8FC
surface
#F8EFF9
border
#D1CAD2
text
#130B14
muted
#827C82

Preview Lab

Preview with #A247BB

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

Preview Lab → · Contrast checker → · Palette generator →

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