#A747F0#A747F0

#A747F0 is a mid, highly saturated violet. Relative luminance 0.190; OKLCH L 60.5% C 0.242 H 306.3°. Best body text is #000000 at 4.80:1 contrast (WCAG AA passes).

Color values

HEX#A747F0
RGBrgb(167, 71, 240)
HSLhsl(274, 85%, 61%)
HSVhsv(274, 70%, 94%)
CMYKcmyk(30.4%, 70.4%, 0%, 5.9%)
CIE-LABlab(50.70, 67.12, -68.65)
CIE-LCHlch(50.70, 96.01, 314.36°)
OKLaboklab(60.49% 0.1434 -0.195)
OKLCHoklch(60.49% 0.242 306.3)
XYZxyz(33.9143, 19.0136, 84.3045)
Luminance0.1901 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A747F0 #90F047
analogous
#5247F0 #A747F0 #F047E4
triadic
#A747F0 #F0A747 #47F0A7
tetradic
#A747F0 #F05247 #90F047 #47E4F0
square
#A747F0 #F05247 #90F047 #47E4F0
split-complementary
#A747F0 #E4F047 #47F052
monochromatic
#690EAE #8B13E7 #A747F0 #C280F5 #DDB8F9

Accessibility & contrast

On white

4.37
#A747F0 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.80
#A747F0 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A747F0
4.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A747F0#FFFFFF#000000##000000
##A747F01.004.374.804.80
#FFFFFF4.371.0021.0021.00
#0000004.8021.001.001.00
##0000004.8021.001.001.00

Color blindness preview

Protanopia (red-blind)
#0076F5
Deuteranopia (green-blind)
#0079EC
Tritanopia (blue-blind)
#9A6E97
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #a747f0;
/* rgb */ color: rgb(167, 71, 240);
/* oklch */ color: oklch(60.5% 0.242 306.3);
Tailwind
colors: {
  custom: {
    50: '#c782f6',
    500: '#a747f0',
    950: '#000000',
  },
}
SCSS
$custom: #a747f0;
$custom-light: #c782f6;
$custom-dark: #000000;
JSON
{
  "hex": "#a747f0",
  "rgb": {
    "r": 167,
    "g": 71,
    "b": 240
  },
  "hsl": {
    "h": 274.083,
    "s": 84.925,
    "l": 60.98
  },
  "oklch": {
    "l": 0.60487,
    "c": 0.24204,
    "h": 306.3
  },
  "luminance": 0.19013
}

Semantic roles & 50–950 ramp

primary
#A747F0
secondary
#C5E9AA
accent
#E10464
background
#FCF8FF
surface
#F9EFFF
border
#D2CAD7
text
#140B17
muted
#827C85

Preview Lab

Preview with #A747F0

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

Preview Lab → · Contrast checker → · Palette generator →

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