#A247D5#A247D5

#A247D5 is a mid, highly saturated violet. Relative luminance 0.170; OKLCH L 58.0% C 0.214 H 310.9°. Best body text is #FFFFFF at 4.77:1 contrast (WCAG AA passes).

Color values

HEX#A247D5
RGBrgb(162, 71, 213)
HSLhsl(278, 63%, 56%)
HSVhsv(278, 67%, 84%)
CMYKcmyk(23.9%, 66.7%, 0%, 16.5%)
CIE-LABlab(48.25, 60.29, -57.35)
CIE-LCHlch(48.25, 83.21, 316.43°)
OKLaboklab(58.03% 0.1402 -0.1619)
OKLCHoklch(58.03% 0.214 310.9)
XYZxyz(29.1615, 16.9926, 64.6816)
Luminance0.1699 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A247D5 #7AD547
analogous
#5B47D5 #A247D5 #D547C1
triadic
#A247D5 #D5A247 #47D5A2
tetradic
#A247D5 #D55B47 #7AD547 #47C1D5
square
#A247D5 #D55B47 #7AD547 #47C1D5
split-complementary
#A247D5 #C1D547 #47D55B
monochromatic
#5F1E84 #8329B5 #A247D5 #BB79E0 #D4ABEC

Accessibility & contrast

On white

4.77
#A247D5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.40
#A247D5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A247D5
4.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A247D5#FFFFFF#000000##FFFFFF
##A247D51.004.774.404.77
#FFFFFF4.771.0021.001.00
#0000004.4021.001.0021.00
##FFFFFF4.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006ED9
Deuteranopia (green-blind)
#3574D2
Tritanopia (blue-blind)
#9B6488
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #a247d5;
/* rgb */ color: rgb(162, 71, 213);
/* oklch */ color: oklch(58.0% 0.214 310.9);
Tailwind
colors: {
  custom: {
    50: '#c281e3',
    500: '#a247d5',
    950: '#000000',
  },
}
SCSS
$custom: #a247d5;
$custom-light: #c281e3;
$custom-dark: #000000;
JSON
{
  "hex": "#a247d5",
  "rgb": {
    "r": 162,
    "g": 71,
    "b": 213
  },
  "hsl": {
    "h": 278.451,
    "s": 62.832,
    "l": 55.686
  },
  "oklch": {
    "l": 0.58027,
    "c": 0.21419,
    "h": 310.9
  },
  "luminance": 0.16992
}

Semantic roles & 50–950 ramp

primary
#A247D5
secondary
#B4D99E
accent
#E6427D
background
#FCF8FE
surface
#F8EFFC
border
#D1CAD5
text
#130B15
muted
#827C84

Preview Lab

Preview with #A247D5

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

Preview Lab → · Contrast checker → · Palette generator →

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