#A247D6#A247D6

#A247D6 is a mid, highly saturated violet. Relative luminance 0.170; OKLCH L 58.1% C 0.215 H 310.6°. Best body text is #FFFFFF at 4.76:1 contrast (WCAG AA passes).

Color values

HEX#A247D6
RGBrgb(162, 71, 214)
HSLhsl(278, 64%, 56%)
HSVhsv(278, 67%, 84%)
CMYKcmyk(24.3%, 66.8%, 0%, 16.1%)
CIE-LABlab(48.31, 60.50, -57.82)
CIE-LCHlch(48.31, 83.69, 316.30°)
OKLaboklab(58.09% 0.1401 -0.1633)
OKLCHoklch(58.09% 0.215 310.6)
XYZxyz(29.2888, 17.0435, 65.3521)
Luminance0.1704 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A247D6 #7BD647
analogous
#5A47D6 #A247D6 #D647C2
triadic
#A247D6 #D6A247 #47D6A2
tetradic
#A247D6 #D65A47 #7BD647 #47C2D6
square
#A247D6 #D65A47 #7BD647 #47C2D6
split-complementary
#A247D6 #C2D647 #47D65A
monochromatic
#5F1E85 #8329B7 #A247D6 #BB79E1 #D5ABEC

Accessibility & contrast

On white

4.76
#A247D6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.41
#A247D6 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A247D6
4.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A247D6#FFFFFF#000000##FFFFFF
##A247D61.004.764.414.76
#FFFFFF4.761.0021.001.00
#0000004.4121.001.0021.00
##FFFFFF4.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006FDA
Deuteranopia (green-blind)
#3374D3
Tritanopia (blue-blind)
#9B6589
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #a247d6;
/* rgb */ color: rgb(162, 71, 214);
/* oklch */ color: oklch(58.1% 0.215 310.6);
Tailwind
colors: {
  custom: {
    50: '#c281e3',
    500: '#a247d6',
    950: '#000000',
  },
}
SCSS
$custom: #a247d6;
$custom-light: #c281e3;
$custom-dark: #000000;
JSON
{
  "hex": "#a247d6",
  "rgb": {
    "r": 162,
    "g": 71,
    "b": 214
  },
  "hsl": {
    "h": 278.182,
    "s": 63.556,
    "l": 55.882
  },
  "oklch": {
    "l": 0.58093,
    "c": 0.21518,
    "h": 310.6
  },
  "luminance": 0.17043
}

Semantic roles & 50–950 ramp

primary
#A247D6
secondary
#B4DA9F
accent
#E7417D
background
#FCF8FE
surface
#F8EFFC
border
#D1CAD5
text
#130B16
muted
#827C84

Preview Lab

Preview with #A247D6

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

Preview Lab → · Contrast checker → · Palette generator →

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