#A247DC#A247DC

#A247DC is a mid, highly saturated violet. Relative luminance 0.174; OKLCH L 58.5% C 0.221 H 309.1°. Best body text is #FFFFFF at 4.70:1 contrast (WCAG AA passes).

Color values

HEX#A247DC
RGBrgb(162, 71, 220)
HSLhsl(277, 68%, 57%)
HSVhsv(277, 68%, 86%)
CMYKcmyk(26.4%, 67.7%, 0%, 13.7%)
CIE-LABlab(48.71, 61.79, -60.61)
CIE-LCHlch(48.71, 86.56, 315.55°)
OKLaboklab(58.5% 0.1396 -0.1715)
OKLCHoklch(58.5% 0.221 309.1)
XYZxyz(30.0692, 17.3557, 69.4622)
Luminance0.1736 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A247DC #81DC47
analogous
#5747DC #A247DC #DC47CC
triadic
#A247DC #DCA247 #47DCA2
tetradic
#A247DC #DC5747 #81DC47 #47CCDC
square
#A247DC #DC5747 #81DC47 #47CCDC
split-complementary
#A247DC #CCDC47 #47DC57
monochromatic
#611B8E #8425C1 #A247DC #BC7AE6 #D6AEF0

Accessibility & contrast

On white

4.70
#A247DC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.47
#A247DC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A247DC
4.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A247DC#FFFFFF#000000##FFFFFF
##A247DC1.004.704.474.70
#FFFFFF4.701.0021.001.00
#0000004.4721.001.0021.00
##FFFFFF4.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0070E0
Deuteranopia (green-blind)
#2B75D9
Tritanopia (blue-blind)
#9A678C
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #a247dc;
/* rgb */ color: rgb(162, 71, 220);
/* oklch */ color: oklch(58.5% 0.221 309.1);
Tailwind
colors: {
  custom: {
    50: '#c281e8',
    500: '#a247dc',
    950: '#000000',
  },
}
SCSS
$custom: #a247dc;
$custom-light: #c281e8;
$custom-dark: #000000;
JSON
{
  "hex": "#a247dc",
  "rgb": {
    "r": 162,
    "g": 71,
    "b": 220
  },
  "hsl": {
    "h": 276.644,
    "s": 68.037,
    "l": 57.059
  },
  "oklch": {
    "l": 0.58497,
    "c": 0.22111,
    "h": 309.1
  },
  "luminance": 0.17355
}

Semantic roles & 50–950 ramp

primary
#A247DC
secondary
#B9DEA1
accent
#EB3D81
background
#FCF8FE
surface
#F8EFFD
border
#D1CAD5
text
#130B16
muted
#827C84

Preview Lab

Preview with #A247DC

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

Preview Lab → · Contrast checker → · Palette generator →

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