#A247D9#A247D9

#A247D9 is a mid, highly saturated violet. Relative luminance 0.172; OKLCH L 58.3% C 0.218 H 309.9°. Best body text is #FFFFFF at 4.73:1 contrast (WCAG AA passes).

Color values

HEX#A247D9
RGBrgb(162, 71, 217)
HSLhsl(277, 66%, 56%)
HSVhsv(277, 67%, 85%)
CMYKcmyk(25.3%, 67.3%, 0%, 14.9%)
CIE-LABlab(48.51, 61.15, -59.22)
CIE-LCHlch(48.51, 85.12, 315.92°)
OKLaboklab(58.29% 0.1399 -0.1674)
OKLCHoklch(58.29% 0.218 309.9)
XYZxyz(29.6755, 17.1982, 67.3885)
Luminance0.1720 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A247D9 #7ED947
analogous
#5947D9 #A247D9 #D947C7
triadic
#A247D9 #D9A247 #47D9A2
tetradic
#A247D9 #D95947 #7ED947 #47C7D9
square
#A247D9 #D95947 #7ED947 #47C7D9
split-complementary
#A247D9 #C7D947 #47D959
monochromatic
#601C89 #8427BC #A247D9 #BC7AE3 #D5ACEE

Accessibility & contrast

On white

4.73
#A247D9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.44
#A247D9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A247D9
4.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A247D9#FFFFFF#000000##FFFFFF
##A247D91.004.734.444.73
#FFFFFF4.731.0021.001.00
#0000004.4421.001.0021.00
##FFFFFF4.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006FDD
Deuteranopia (green-blind)
#2F75D6
Tritanopia (blue-blind)
#9A668A
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #a247d9;
/* rgb */ color: rgb(162, 71, 217);
/* oklch */ color: oklch(58.3% 0.218 309.9);
Tailwind
colors: {
  custom: {
    50: '#c281e5',
    500: '#a247d9',
    950: '#000000',
  },
}
SCSS
$custom: #a247d9;
$custom-light: #c281e5;
$custom-dark: #000000;
JSON
{
  "hex": "#a247d9",
  "rgb": {
    "r": 162,
    "g": 71,
    "b": 217
  },
  "hsl": {
    "h": 277.397,
    "s": 65.766,
    "l": 56.471
  },
  "oklch": {
    "l": 0.58294,
    "c": 0.21815,
    "h": 309.9
  },
  "luminance": 0.17198
}

Semantic roles & 50–950 ramp

primary
#A247D9
secondary
#B7DCA0
accent
#E93F7F
background
#FCF8FE
surface
#F8EFFC
border
#D1CAD5
text
#130B16
muted
#827C84

Preview Lab

Preview with #A247D9

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

Preview Lab → · Contrast checker → · Palette generator →

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