#A647DB#A647DB

#A647DB is a mid, highly saturated violet. Relative luminance 0.177; OKLCH L 58.9% C 0.221 H 310.8°. Best body text is #FFFFFF at 4.62:1 contrast (WCAG AA passes).

Color values

HEX#A647DB
RGBrgb(166, 71, 219)
HSLhsl(279, 67%, 57%)
HSVhsv(279, 68%, 86%)
CMYKcmyk(24.2%, 67.6%, 0%, 14.1%)
CIE-LABlab(49.17, 62.41, -59.27)
CIE-LCHlch(49.17, 86.07, 316.48°)
OKLaboklab(58.92% 0.1447 -0.1674)
OKLCHoklch(58.92% 0.221 310.8)
XYZxyz(30.7629, 17.7286, 68.8055)
Luminance0.1773 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A647DB #7CDB47
analogous
#5C47DB #A647DB #DB47C6
triadic
#A647DB #DBA647 #47DBA6
tetradic
#A647DB #DB5C47 #7CDB47 #47C6DB
square
#A647DB #DB5C47 #7CDB47 #47C6DB
split-complementary
#A647DB #C6DB47 #47DB5C
monochromatic
#641B8C #8825BF #A647DB #BF7AE5 #D8ADEF

Accessibility & contrast

On white

4.62
#A647DB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.55
#A647DB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #A647DB
4.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A647DB#FFFFFF#000000##FFFFFF
##A647DB1.004.624.554.62
#FFFFFF4.621.0021.001.00
#0000004.5521.001.0021.00
##FFFFFF4.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0070DF
Deuteranopia (green-blind)
#3376D8
Tritanopia (blue-blind)
#9F668C
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #a647db;
/* rgb */ color: rgb(166, 71, 219);
/* oklch */ color: oklch(58.9% 0.221 310.8);
Tailwind
colors: {
  custom: {
    50: '#c581e7',
    500: '#a647db',
    950: '#000000',
  },
}
SCSS
$custom: #a647db;
$custom-light: #c581e7;
$custom-dark: #000000;
JSON
{
  "hex": "#a647db",
  "rgb": {
    "r": 166,
    "g": 71,
    "b": 219
  },
  "hsl": {
    "h": 278.514,
    "s": 67.273,
    "l": 56.863
  },
  "oklch": {
    "l": 0.58917,
    "c": 0.22133,
    "h": 310.8
  },
  "luminance": 0.17728
}

Semantic roles & 50–950 ramp

primary
#A647DB
secondary
#B6DDA1
accent
#EA3E7B
background
#FCF8FE
surface
#F8EFFC
border
#D1CAD5
text
#130B16
muted
#827C84

Preview Lab

Preview with #A647DB

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

Preview Lab → · Contrast checker → · Palette generator →

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