#A647ED#A647ED

#A647ED is a mid, highly saturated violet. Relative luminance 0.187; OKLCH L 60.2% C 0.239 H 306.6°. Best body text is #000000 at 4.75:1 contrast (WCAG AA passes).

Color values

HEX#A647ED
RGBrgb(166, 71, 237)
HSLhsl(274, 82%, 60%)
HSVhsv(274, 70%, 93%)
CMYKcmyk(30%, 70%, 0%, 7.1%)
CIE-LABlab(50.37, 66.28, -67.51)
CIE-LCHlch(50.37, 94.61, 314.47°)
OKLaboklab(60.16% 0.1426 -0.1916)
OKLCHoklch(60.16% 0.239 306.6)
XYZxyz(33.2619, 18.7283, 81.9670)
Luminance0.1873 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A647ED #8EED47
analogous
#5347ED #A647ED #ED47E1
triadic
#A647ED #EDA647 #47EDA6
tetradic
#A647ED #ED5347 #8EED47 #47E1ED
square
#A647ED #ED5347 #8EED47 #47E1ED
split-complementary
#A647ED #E1ED47 #47ED53
monochromatic
#6811A9 #8A16E1 #A647ED #C17FF2 #DCB6F8

Accessibility & contrast

On white

4.43
#A647ED on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.75
#A647ED on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A647ED
4.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A647ED#FFFFFF#000000##000000
##A647ED1.004.434.754.75
#FFFFFF4.431.0021.0021.00
#0000004.7521.001.001.00
##0000004.7521.001.001.00

Color blindness preview

Protanopia (red-blind)
#0075F2
Deuteranopia (green-blind)
#0478E9
Tritanopia (blue-blind)
#9A6D95
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #a647ed;
/* rgb */ color: rgb(166, 71, 237);
/* oklch */ color: oklch(60.2% 0.239 306.6);
Tailwind
colors: {
  custom: {
    50: '#c682f4',
    500: '#a647ed',
    950: '#000000',
  },
}
SCSS
$custom: #a647ed;
$custom-light: #c682f4;
$custom-dark: #000000;
JSON
{
  "hex": "#a647ed",
  "rgb": {
    "r": 166,
    "g": 71,
    "b": 237
  },
  "hsl": {
    "h": 274.337,
    "s": 82.178,
    "l": 60.392
  },
  "oklch": {
    "l": 0.60156,
    "c": 0.23887,
    "h": 306.6
  },
  "luminance": 0.18728
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #A647ED

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

Preview Lab → · Contrast checker → · Palette generator →

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