#A247B2#A247B2

#A247B2 is a mid, vivid purple. Relative luminance 0.154; OKLCH L 55.9% C 0.180 H 321.4°. Best body text is #FFFFFF at 5.15:1 contrast (WCAG AA passes).

Color values

HEX#A247B2
RGBrgb(162, 71, 178)
HSLhsl(291, 43%, 49%)
HSVhsv(291, 60%, 70%)
CMYKcmyk(9%, 60.1%, 0%, 30.2%)
CIE-LABlab(46.18, 53.14, -40.38)
CIE-LCHlch(46.18, 66.74, 322.77°)
OKLaboklab(55.87% 0.1408 -0.1123)
OKLCHoklch(55.87% 0.18 321.4)
XYZxyz(25.1885, 15.4034, 43.7572)
Luminance0.1540 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A247B2 #57B247
analogous
#6D47B2 #A247B2 #B2478D
triadic
#A247B2 #B2A247 #47B2A2
tetradic
#A247B2 #B26D47 #57B247 #478DB2
square
#A247B2 #B26D47 #57B247 #478DB2
split-complementary
#A247B2 #8DB247 #47B26D
monochromatic
#52245B #7A3686 #A247B2 #B970C6 #CF9CD7

Accessibility & contrast

On white

5.15
#A247B2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.08
#A247B2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A247B2
5.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A247B2#FFFFFF#000000##FFFFFF
##A247B21.005.154.085.15
#FFFFFF5.151.0021.001.00
#0000004.0821.001.0021.00
##FFFFFF5.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3167B5
Deuteranopia (green-blind)
#5371AF
Tritanopia (blue-blind)
#A45776
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #a247b2;
/* rgb */ color: rgb(162, 71, 178);
/* oklch */ color: oklch(55.9% 0.180 321.4);
Tailwind
colors: {
  custom: {
    50: '#c080c9',
    500: '#a247b2',
    950: '#000000',
  },
}
SCSS
$custom: #a247b2;
$custom-light: #c080c9;
$custom-dark: #000000;
JSON
{
  "hex": "#a247b2",
  "rgb": {
    "r": 162,
    "g": 71,
    "b": 178
  },
  "hsl": {
    "h": 291.028,
    "s": 42.972,
    "l": 48.824
  },
  "oklch": {
    "l": 0.55867,
    "c": 0.18013,
    "h": 321.4
  },
  "luminance": 0.15402
}

Semantic roles & 50–950 ramp

primary
#A247B2
secondary
#99C491
accent
#D35568
background
#FCF8FC
surface
#F8EFF8
border
#D1CAD1
text
#130A13
muted
#827C82

Preview Lab

Preview with #A247B2

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

Preview Lab → · Contrast checker → · Palette generator →

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