#A647E0#A647E0

#A647E0 is a mid, highly saturated violet. Relative luminance 0.180; OKLCH L 59.3% C 0.226 H 309.6°. Best body text is #000000 at 4.60:1 contrast (WCAG AA passes).

Color values

HEX#A647E0
RGBrgb(166, 71, 224)
HSLhsl(277, 71%, 58%)
HSVhsv(277, 68%, 88%)
CMYKcmyk(25.9%, 68.3%, 0%, 12.2%)
CIE-LABlab(49.49, 63.47, -61.59)
CIE-LCHlch(49.49, 88.44, 315.86°)
OKLaboklab(59.25% 0.1442 -0.1742)
OKLCHoklch(59.25% 0.226 309.6)
XYZxyz(31.4310, 17.9959, 72.3243)
Luminance0.1799 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A647E0 #81E047
analogous
#5947E0 #A647E0 #E047CD
triadic
#A647E0 #E0A647 #47E0A6
tetradic
#A647E0 #E05947 #81E047 #47CDE0
square
#A647E0 #E05947 #81E047 #47CDE0
split-complementary
#A647E0 #CDE047 #47E059
monochromatic
#651994 #8922C8 #A647E0 #BF7BE9 #D9B0F2

Accessibility & contrast

On white

4.57
#A647E0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.60
#A647E0 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A647E0
4.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A647E0#FFFFFF#000000##000000
##A647E01.004.574.604.60
#FFFFFF4.571.0021.0021.00
#0000004.6021.001.001.00
##0000004.6021.001.001.00

Color blindness preview

Protanopia (red-blind)
#0072E4
Deuteranopia (green-blind)
#2B77DD
Tritanopia (blue-blind)
#9E688E
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #a647e0;
/* rgb */ color: rgb(166, 71, 224);
/* oklch */ color: oklch(59.3% 0.226 309.6);
Tailwind
colors: {
  custom: {
    50: '#c581ea',
    500: '#a647e0',
    950: '#000000',
  },
}
SCSS
$custom: #a647e0;
$custom-light: #c581ea;
$custom-dark: #000000;
JSON
{
  "hex": "#a647e0",
  "rgb": {
    "r": 166,
    "g": 71,
    "b": 224
  },
  "hsl": {
    "h": 277.255,
    "s": 71.163,
    "l": 57.843
  },
  "oklch": {
    "l": 0.59254,
    "c": 0.2262,
    "h": 309.6
  },
  "luminance": 0.17995
}

Semantic roles & 50–950 ramp

primary
#A647E0
secondary
#BAE0A3
accent
#EE3A7E
background
#FCF8FE
surface
#F8EFFD
border
#D1CAD5
text
#130B16
muted
#827C84

Preview Lab

Preview with #A647E0

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

Preview Lab → · Contrast checker → · Palette generator →

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