#A247DA#A247DA

#A247DA is a mid, highly saturated violet. Relative luminance 0.172; OKLCH L 58.4% C 0.219 H 309.6°. Best body text is #FFFFFF at 4.72:1 contrast (WCAG AA passes).

Color values

HEX#A247DA
RGBrgb(162, 71, 218)
HSLhsl(277, 67%, 57%)
HSVhsv(277, 67%, 85%)
CMYKcmyk(25.7%, 67.4%, 0%, 14.5%)
CIE-LABlab(48.57, 61.36, -59.68)
CIE-LCHlch(48.57, 85.60, 315.79°)
OKLaboklab(58.36% 0.1398 -0.1688)
OKLCHoklch(58.36% 0.219 309.6)
XYZxyz(29.8059, 17.2504, 68.0756)
Luminance0.1725 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A247DA #7FDA47
analogous
#5947DA #A247DA #DA47C9
triadic
#A247DA #DAA247 #47DAA2
tetradic
#A247DA #DA5947 #7FDA47 #47C9DA
square
#A247DA #DA5947 #7FDA47 #47C9DA
split-complementary
#A247DA #C9DA47 #47DA59
monochromatic
#601C8B #8426BE #A247DA #BC7AE4 #D6ADEE

Accessibility & contrast

On white

4.72
#A247DA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.45
#A247DA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A247DA
4.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A247DA#FFFFFF#000000##FFFFFF
##A247DA1.004.724.454.72
#FFFFFF4.721.0021.001.00
#0000004.4521.001.0021.00
##FFFFFF4.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006FDE
Deuteranopia (green-blind)
#2E75D7
Tritanopia (blue-blind)
#9A668B
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #a247da;
/* rgb */ color: rgb(162, 71, 218);
/* oklch */ color: oklch(58.4% 0.219 309.6);
Tailwind
colors: {
  custom: {
    50: '#c281e6',
    500: '#a247da',
    950: '#000000',
  },
}
SCSS
$custom: #a247da;
$custom-light: #c281e6;
$custom-dark: #000000;
JSON
{
  "hex": "#a247da",
  "rgb": {
    "r": 162,
    "g": 71,
    "b": 218
  },
  "hsl": {
    "h": 277.143,
    "s": 66.516,
    "l": 56.667
  },
  "oklch": {
    "l": 0.58362,
    "c": 0.21913,
    "h": 309.6
  },
  "luminance": 0.1725
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #A247DA

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

Preview Lab → · Contrast checker → · Palette generator →

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