#A247D8#A247D8

#A247D8 is a mid, highly saturated violet. Relative luminance 0.171; OKLCH L 58.2% C 0.217 H 310.1°. Best body text is #FFFFFF at 4.74:1 contrast (WCAG AA passes).

Color values

HEX#A247D8
RGBrgb(162, 71, 216)
HSLhsl(278, 65%, 56%)
HSVhsv(278, 67%, 85%)
CMYKcmyk(25%, 67.1%, 0%, 15.3%)
CIE-LABlab(48.44, 60.93, -58.75)
CIE-LCHlch(48.44, 84.64, 316.04°)
OKLaboklab(58.23% 0.1399 -0.166)
OKLCHoklch(58.23% 0.217 310.1)
XYZxyz(29.5458, 17.1463, 66.7056)
Luminance0.1715 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A247D8 #7DD847
analogous
#5A47D8 #A247D8 #D847C6
triadic
#A247D8 #D8A247 #47D8A2
tetradic
#A247D8 #D85A47 #7DD847 #47C6D8
square
#A247D8 #D85A47 #7DD847 #47C6D8
split-complementary
#A247D8 #C6D847 #47D85A
monochromatic
#601D88 #8427BA #A247D8 #BC79E3 #D5ACED

Accessibility & contrast

On white

4.74
#A247D8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.43
#A247D8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A247D8
4.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A247D8#FFFFFF#000000##FFFFFF
##A247D81.004.744.434.74
#FFFFFF4.741.0021.001.00
#0000004.4321.001.0021.00
##FFFFFF4.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006FDC
Deuteranopia (green-blind)
#3174D5
Tritanopia (blue-blind)
#9B668A
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #a247d8;
/* rgb */ color: rgb(162, 71, 216);
/* oklch */ color: oklch(58.2% 0.217 310.1);
Tailwind
colors: {
  custom: {
    50: '#c281e5',
    500: '#a247d8',
    950: '#000000',
  },
}
SCSS
$custom: #a247d8;
$custom-light: #c281e5;
$custom-dark: #000000;
JSON
{
  "hex": "#a247d8",
  "rgb": {
    "r": 162,
    "g": 71,
    "b": 216
  },
  "hsl": {
    "h": 277.655,
    "s": 65.022,
    "l": 56.275
  },
  "oklch": {
    "l": 0.58227,
    "c": 0.21715,
    "h": 310.1
  },
  "luminance": 0.17146
}

Semantic roles & 50–950 ramp

primary
#A247D8
secondary
#B6DBA0
accent
#E8407E
background
#FCF8FE
surface
#F8EFFC
border
#D1CAD5
text
#130B16
muted
#827C84

Preview Lab

Preview with #A247D8

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

Preview Lab → · Contrast checker → · Palette generator →

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