#A747ED#A747ED

#A747ED is a mid, highly saturated violet. Relative luminance 0.188; OKLCH L 60.3% C 0.239 H 307.0°. Best body text is #000000 at 4.77:1 contrast (WCAG AA passes).

Color values

HEX#A747ED
RGBrgb(167, 71, 237)
HSLhsl(275, 82%, 60%)
HSVhsv(275, 70%, 93%)
CMYKcmyk(29.5%, 70%, 0%, 7.1%)
CIE-LABlab(50.50, 66.47, -67.30)
CIE-LCHlch(50.50, 94.59, 314.65°)
OKLaboklab(60.27% 0.1439 -0.191)
OKLCHoklch(60.27% 0.239 307)
XYZxyz(33.4724, 18.8368, 81.9769)
Luminance0.1884 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A747ED #8DED47
analogous
#5447ED #A747ED #ED47E0
triadic
#A747ED #EDA747 #47EDA7
tetradic
#A747ED #ED5447 #8DED47 #47E0ED
square
#A747ED #ED5447 #8DED47 #47E0ED
split-complementary
#A747ED #E0ED47 #47ED54
monochromatic
#6911A9 #8B16E1 #A747ED #C27FF2 #DCB6F8

Accessibility & contrast

On white

4.41
#A747ED on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.77
#A747ED on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A747ED
4.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A747ED#FFFFFF#000000##000000
##A747ED1.004.414.774.77
#FFFFFF4.411.0021.0021.00
#0000004.7721.001.001.00
##0000004.7721.001.001.00

Color blindness preview

Protanopia (red-blind)
#0075F2
Deuteranopia (green-blind)
#0A79E9
Tritanopia (blue-blind)
#9B6D95
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #a747ed;
/* rgb */ color: rgb(167, 71, 237);
/* oklch */ color: oklch(60.3% 0.239 307.0);
Tailwind
colors: {
  custom: {
    50: '#c682f4',
    500: '#a747ed',
    950: '#000000',
  },
}
SCSS
$custom: #a747ed;
$custom-light: #c682f4;
$custom-dark: #000000;
JSON
{
  "hex": "#a747ed",
  "rgb": {
    "r": 167,
    "g": 71,
    "b": 237
  },
  "hsl": {
    "h": 274.699,
    "s": 82.178,
    "l": 60.392
  },
  "oklch": {
    "l": 0.60274,
    "c": 0.23912,
    "h": 307
  },
  "luminance": 0.18836
}

Semantic roles & 50–950 ramp

primary
#A747ED
secondary
#C3E8A8
accent
#DF0762
background
#FCF8FF
surface
#F9EFFE
border
#D2CAD6
text
#140B17
muted
#827C85

Preview Lab

Preview with #A747ED

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

Preview Lab → · Contrast checker → · Palette generator →

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