#A747E1#A747E1

#A747E1 is a mid, highly saturated violet. Relative luminance 0.182; OKLCH L 59.4% C 0.227 H 309.7°. Best body text is #000000 at 4.63:1 contrast (WCAG AA passes).

Color values

HEX#A747E1
RGBrgb(167, 71, 225)
HSLhsl(277, 72%, 58%)
HSVhsv(277, 68%, 88%)
CMYKcmyk(25.8%, 68.4%, 0%, 11.8%)
CIE-LABlab(49.69, 63.89, -61.83)
CIE-LCHlch(49.69, 88.91, 315.94°)
OKLaboklab(59.44% 0.1454 -0.1749)
OKLCHoklch(59.44% 0.227 309.7)
XYZxyz(31.7775, 18.1588, 73.0506)
Luminance0.1816 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A747E1 #81E147
analogous
#5A47E1 #A747E1 #E147CE
triadic
#A747E1 #E1A747 #47E1A7
tetradic
#A747E1 #E15A47 #81E147 #47CEE1
square
#A747E1 #E15A47 #81E147 #47CEE1
split-complementary
#A747E1 #CEE147 #47E15A
monochromatic
#661895 #8A21CA #A747E1 #C07CEA #D9B0F2

Accessibility & contrast

On white

4.53
#A747E1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.63
#A747E1 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A747E1
4.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A747E1#FFFFFF#000000##000000
##A747E11.004.534.634.63
#FFFFFF4.531.0021.0021.00
#0000004.6321.001.001.00
##0000004.6321.001.001.00

Color blindness preview

Protanopia (red-blind)
#0072E6
Deuteranopia (green-blind)
#2B78DE
Tritanopia (blue-blind)
#9F688F
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #a747e1;
/* rgb */ color: rgb(167, 71, 225);
/* oklch */ color: oklch(59.4% 0.227 309.7);
Tailwind
colors: {
  custom: {
    50: '#c681eb',
    500: '#a747e1',
    950: '#000000',
  },
}
SCSS
$custom: #a747e1;
$custom-light: #c681eb;
$custom-dark: #000000;
JSON
{
  "hex": "#a747e1",
  "rgb": {
    "r": 167,
    "g": 71,
    "b": 225
  },
  "hsl": {
    "h": 277.403,
    "s": 71.963,
    "l": 58.039
  },
  "oklch": {
    "l": 0.59443,
    "c": 0.22747,
    "h": 309.7
  },
  "luminance": 0.18158
}

Semantic roles & 50–950 ramp

primary
#A747E1
secondary
#BAE1A3
accent
#EF397D
background
#FCF8FE
surface
#F9EFFD
border
#D2CAD5
text
#130B16
muted
#827C84

Preview Lab

Preview with #A747E1

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

Preview Lab → · Contrast checker → · Palette generator →

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