#A647E4#A647E4

#A647E4 is a mid, highly saturated violet. Relative luminance 0.182; OKLCH L 59.5% C 0.230 H 308.7°. Best body text is #000000 at 4.64:1 contrast (WCAG AA passes).

Color values

HEX#A647E4
RGBrgb(166, 71, 228)
HSLhsl(276, 74%, 59%)
HSVhsv(276, 69%, 89%)
CMYKcmyk(27.2%, 68.9%, 0%, 10.6%)
CIE-LABlab(49.76, 64.33, -63.43)
CIE-LCHlch(49.76, 90.34, 315.41°)
OKLaboklab(59.53% 0.1438 -0.1796)
OKLCHoklch(59.53% 0.23 308.7)
XYZxyz(31.9799, 18.2154, 75.2150)
Luminance0.1822 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A647E4 #85E447
analogous
#5747E4 #A647E4 #E447D3
triadic
#A647E4 #E4A647 #47E4A6
tetradic
#A647E4 #E45747 #85E447 #47D3E4
square
#A647E4 #E45747 #85E447 #47D3E4
split-complementary
#A647E4 #D3E447 #47E457
monochromatic
#66179A #891ECF #A647E4 #C07CEC #DAB2F4

Accessibility & contrast

On white

4.52
#A647E4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.64
#A647E4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A647E4
4.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A647E4#FFFFFF#000000##000000
##A647E41.004.524.644.64
#FFFFFF4.521.0021.0021.00
#0000004.6421.001.001.00
##0000004.6421.001.001.00

Color blindness preview

Protanopia (red-blind)
#0073E9
Deuteranopia (green-blind)
#2477E1
Tritanopia (blue-blind)
#9D6A91
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #a647e4;
/* rgb */ color: rgb(166, 71, 228);
/* oklch */ color: oklch(59.5% 0.230 308.7);
Tailwind
colors: {
  custom: {
    50: '#c581ed',
    500: '#a647e4',
    950: '#000000',
  },
}
SCSS
$custom: #a647e4;
$custom-light: #c581ed;
$custom-dark: #000000;
JSON
{
  "hex": "#a647e4",
  "rgb": {
    "r": 166,
    "g": 71,
    "b": 228
  },
  "hsl": {
    "h": 276.306,
    "s": 74.408,
    "l": 58.627
  },
  "oklch": {
    "l": 0.59527,
    "c": 0.2301,
    "h": 308.7
  },
  "luminance": 0.18215
}

Semantic roles & 50–950 ramp

primary
#A647E4
secondary
#BDE2A4
accent
#F13780
background
#FCF8FE
surface
#F9EFFD
border
#D2CAD5
text
#130B16
muted
#827C84

Preview Lab

Preview with #A647E4

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

Preview Lab → · Contrast checker → · Palette generator →

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