#A647F4#A647F4

#A647F4 is a mid, highly saturated violet. Relative luminance 0.191; OKLCH L 60.7% C 0.246 H 305.2°. Best body text is #000000 at 4.83:1 contrast (WCAG AA passes).

Color values

HEX#A647F4
RGBrgb(166, 71, 244)
HSLhsl(273, 89%, 62%)
HSVhsv(273, 71%, 96%)
CMYKcmyk(32%, 70.9%, 0%, 4.3%)
CIE-LABlab(50.86, 67.82, -70.64)
CIE-LCHlch(50.86, 97.93, 313.83°)
OKLaboklab(60.66% 0.1415 -0.2009)
OKLCHoklch(60.66% 0.246 305.2)
XYZxyz(34.3046, 19.1453, 87.4586)
Luminance0.1915 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A647F4 #95F447
analogous
#5047F4 #A647F4 #F447EC
triadic
#A647F4 #F4A647 #47F4A6
tetradic
#A647F4 #F45047 #95F447 #47ECF4
square
#A647F4 #F45047 #95F447 #47ECF4
split-complementary
#A647F4 #ECF447 #47F450
monochromatic
#690BB6 #8A0EEF #A647F4 #C281F7 #DEBAFB

Accessibility & contrast

On white

4.35
#A647F4 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.83
#A647F4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A647F4
4.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A647F4#FFFFFF#000000##000000
##A647F41.004.354.834.83
#FFFFFF4.351.0021.0021.00
#0000004.8321.001.001.00
##0000004.8321.001.001.00

Color blindness preview

Protanopia (red-blind)
#0077F9
Deuteranopia (green-blind)
#0079F0
Tritanopia (blue-blind)
#987099
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #a647f4;
/* rgb */ color: rgb(166, 71, 244);
/* oklch */ color: oklch(60.7% 0.246 305.2);
Tailwind
colors: {
  custom: {
    50: '#c682f9',
    500: '#a647f4',
    950: '#000000',
  },
}
SCSS
$custom: #a647f4;
$custom-light: #c682f9;
$custom-dark: #000000;
JSON
{
  "hex": "#a647f4",
  "rgb": {
    "r": 166,
    "g": 71,
    "b": 244
  },
  "hsl": {
    "h": 272.948,
    "s": 88.718,
    "l": 61.765
  },
  "oklch": {
    "l": 0.60657,
    "c": 0.24569,
    "h": 305.2
  },
  "luminance": 0.19145
}

Semantic roles & 50–950 ramp

primary
#A647F4
secondary
#C8EBAB
accent
#E50067
background
#FCF8FF
surface
#F9EFFF
border
#D2CAD7
text
#140B17
muted
#827C85

Preview Lab

Preview with #A647F4

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

Preview Lab → · Contrast checker → · Palette generator →

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