#A747DF#A747DF

#A747DF is a mid, highly saturated violet. Relative luminance 0.180; OKLCH L 59.3% C 0.226 H 310.2°. Best body text is #000000 at 4.61:1 contrast (WCAG AA passes).

Color values

HEX#A747DF
RGBrgb(167, 71, 223)
HSLhsl(278, 70%, 58%)
HSVhsv(278, 68%, 87%)
CMYKcmyk(25.1%, 68.2%, 0%, 12.5%)
CIE-LABlab(49.56, 63.46, -60.91)
CIE-LCHlch(49.56, 87.96, 316.18°)
OKLaboklab(59.31% 0.1456 -0.1722)
OKLCHoklch(59.31% 0.226 310.2)
XYZxyz(31.5063, 18.0504, 71.6221)
Luminance0.1805 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A747DF #7FDF47
analogous
#5B47DF #A747DF #DF47CB
triadic
#A747DF #DFA747 #47DFA7
tetradic
#A747DF #DF5B47 #7FDF47 #47CBDF
square
#A747DF #DF5B47 #7FDF47 #47CBDF
split-complementary
#A747DF #CBDF47 #47DF5B
monochromatic
#661992 #8A22C6 #A747DF #C07BE8 #D9AFF1

Accessibility & contrast

On white

4.56
#A747DF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.61
#A747DF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A747DF
4.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A747DF#FFFFFF#000000##000000
##A747DF1.004.564.614.61
#FFFFFF4.561.0021.0021.00
#0000004.6121.001.001.00
##0000004.6121.001.001.00

Color blindness preview

Protanopia (red-blind)
#0072E3
Deuteranopia (green-blind)
#2F77DC
Tritanopia (blue-blind)
#9F688E
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #a747df;
/* rgb */ color: rgb(167, 71, 223);
/* oklch */ color: oklch(59.3% 0.226 310.2);
Tailwind
colors: {
  custom: {
    50: '#c681ea',
    500: '#a747df',
    950: '#000000',
  },
}
SCSS
$custom: #a747df;
$custom-light: #c681ea;
$custom-dark: #000000;
JSON
{
  "hex": "#a747df",
  "rgb": {
    "r": 167,
    "g": 71,
    "b": 223
  },
  "hsl": {
    "h": 277.895,
    "s": 70.37,
    "l": 57.647
  },
  "oklch": {
    "l": 0.59308,
    "c": 0.22553,
    "h": 310.2
  },
  "luminance": 0.1805
}

Semantic roles & 50–950 ramp

primary
#A747DF
secondary
#B9DFA2
accent
#ED3B7C
background
#FCF8FE
surface
#F9EFFD
border
#D2CAD5
text
#130B16
muted
#827C84

Preview Lab

Preview with #A747DF

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

Preview Lab → · Contrast checker → · Palette generator →

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