#A247C2#A247C2

#A247C2 is a mid, vivid purple. Relative luminance 0.161; OKLCH L 56.8% C 0.196 H 316.2°. Best body text is #FFFFFF at 4.98:1 contrast (WCAG AA passes).

Color values

HEX#A247C2
RGBrgb(162, 71, 194)
HSLhsl(284, 50%, 52%)
HSVhsv(284, 63%, 76%)
CMYKcmyk(16.5%, 63.4%, 0%, 23.9%)
CIE-LABlab(47.08, 56.32, -48.28)
CIE-LCHlch(47.08, 74.18, 319.40°)
OKLaboklab(56.81% 0.1411 -0.1353)
OKLCHoklch(56.81% 0.196 316.2)
XYZxyz(26.8897, 16.0839, 52.7165)
Luminance0.1608 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A247C2 #67C247
analogous
#6547C2 #A247C2 #C247A5
triadic
#A247C2 #C2A247 #47C2A2
tetradic
#A247C2 #C26547 #67C247 #47A5C2
square
#A247C2 #C26547 #67C247 #47A5C2
split-complementary
#A247C2 #A5C247 #47C265
monochromatic
#58246B #7E3399 #A247C2 #B975D1 #D0A3E0

Accessibility & contrast

On white

4.98
#A247C2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.22
#A247C2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A247C2
4.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A247C2#FFFFFF#000000##FFFFFF
##A247C21.004.984.224.98
#FFFFFF4.981.0021.001.00
#0000004.2221.001.0021.00
##FFFFFF4.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1B6AC6
Deuteranopia (green-blind)
#4872BF
Tritanopia (blue-blind)
#A05D7E
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #a247c2;
/* rgb */ color: rgb(162, 71, 194);
/* oklch */ color: oklch(56.8% 0.196 316.2);
Tailwind
colors: {
  custom: {
    50: '#c180d5',
    500: '#a247c2',
    950: '#000000',
  },
}
SCSS
$custom: #a247c2;
$custom-light: #c180d5;
$custom-dark: #000000;
JSON
{
  "hex": "#a247c2",
  "rgb": {
    "r": 162,
    "g": 71,
    "b": 194
  },
  "hsl": {
    "h": 284.39,
    "s": 50.204,
    "l": 51.961
  },
  "oklch": {
    "l": 0.56813,
    "c": 0.19553,
    "h": 316.2
  },
  "luminance": 0.16083
}

Semantic roles & 50–950 ramp

primary
#A247C2
secondary
#A5CD97
accent
#DA4E72
background
#FCF8FD
surface
#F8EFFA
border
#D1CAD3
text
#130B14
muted
#827C83

Preview Lab

Preview with #A247C2

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

Preview Lab → · Contrast checker → · Palette generator →

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