#A647B2#A647B2

#A647B2 is a mid, vivid purple. Relative luminance 0.158; OKLCH L 56.4% C 0.182 H 323.0°. Best body text is #FFFFFF at 5.04:1 contrast (WCAG AA passes).

Color values

HEX#A647B2
RGBrgb(166, 71, 178)
HSLhsl(293, 43%, 49%)
HSVhsv(293, 60%, 70%)
CMYKcmyk(6.7%, 60.1%, 0%, 30.2%)
CIE-LABlab(46.75, 54.16, -39.45)
CIE-LCHlch(46.75, 67.00, 323.93°)
OKLaboklab(56.4% 0.1456 -0.1095)
OKLCHoklch(56.4% 0.182 323)
XYZxyz(26.0142, 15.8292, 43.7959)
Luminance0.1583 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A647B2 #53B247
analogous
#7147B2 #A647B2 #B24789
triadic
#A647B2 #B2A647 #47B2A6
tetradic
#A647B2 #B27147 #53B247 #4789B2
square
#A647B2 #B27147 #53B247 #4789B2
split-complementary
#A647B2 #89B247 #47B271
monochromatic
#54245B #7D3686 #A647B2 #BC70C6 #D19CD7

Accessibility & contrast

On white

5.04
#A647B2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.17
#A647B2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A647B2
5.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A647B2#FFFFFF#000000##FFFFFF
##A647B21.005.044.175.04
#FFFFFF5.041.0021.001.00
#0000004.1721.001.0021.00
##FFFFFF5.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3368B5
Deuteranopia (green-blind)
#5673AF
Tritanopia (blue-blind)
#A95776
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #a647b2;
/* rgb */ color: rgb(166, 71, 178);
/* oklch */ color: oklch(56.4% 0.182 323.0);
Tailwind
colors: {
  custom: {
    50: '#c380c9',
    500: '#a647b2',
    950: '#000000',
  },
}
SCSS
$custom: #a647b2;
$custom-light: #c380c9;
$custom-dark: #000000;
JSON
{
  "hex": "#a647b2",
  "rgb": {
    "r": 166,
    "g": 71,
    "b": 178
  },
  "hsl": {
    "h": 293.271,
    "s": 42.972,
    "l": 48.824
  },
  "oklch": {
    "l": 0.56397,
    "c": 0.18216,
    "h": 323
  },
  "luminance": 0.15828
}

Semantic roles & 50–950 ramp

primary
#A647B2
secondary
#97C491
accent
#D35563
background
#FCF8FC
surface
#F8EFF8
border
#D1CAD1
text
#130B13
muted
#827C82

Preview Lab

Preview with #A647B2

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

Preview Lab → · Contrast checker → · Palette generator →

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