#A547DB#A547DB

#A547DB is a mid, highly saturated violet. Relative luminance 0.176; OKLCH L 58.8% C 0.221 H 310.5°. Best body text is #FFFFFF at 4.64:1 contrast (WCAG AA passes).

Color values

HEX#A547DB
RGBrgb(165, 71, 219)
HSLhsl(278, 67%, 57%)
HSVhsv(278, 68%, 86%)
CMYKcmyk(24.7%, 67.6%, 0%, 14.1%)
CIE-LABlab(49.03, 62.20, -59.49)
CIE-LCHlch(49.03, 86.07, 316.27°)
OKLaboklab(58.79% 0.1435 -0.1681)
OKLCHoklch(58.79% 0.221 310.5)
XYZxyz(30.5540, 17.6210, 68.7957)
Luminance0.1762 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A547DB #7DDB47
analogous
#5B47DB #A547DB #DB47C7
triadic
#A547DB #DBA547 #47DBA5
tetradic
#A547DB #DB5B47 #7DDB47 #47C7DB
square
#A547DB #DB5B47 #7DDB47 #47C7DB
split-complementary
#A547DB #C7DB47 #47DB5B
monochromatic
#631B8C #8725BF #A547DB #BE7AE5 #D7ADEF

Accessibility & contrast

On white

4.64
#A547DB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.52
#A547DB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #A547DB
4.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A547DB#FFFFFF#000000##FFFFFF
##A547DB1.004.644.524.64
#FFFFFF4.641.0021.001.00
#0000004.5221.001.0021.00
##FFFFFF4.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0070DF
Deuteranopia (green-blind)
#3176D8
Tritanopia (blue-blind)
#9E668C
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #a547db;
/* rgb */ color: rgb(165, 71, 219);
/* oklch */ color: oklch(58.8% 0.221 310.5);
Tailwind
colors: {
  custom: {
    50: '#c481e7',
    500: '#a547db',
    950: '#000000',
  },
}
SCSS
$custom: #a547db;
$custom-light: #c481e7;
$custom-dark: #000000;
JSON
{
  "hex": "#a547db",
  "rgb": {
    "r": 165,
    "g": 71,
    "b": 219
  },
  "hsl": {
    "h": 278.108,
    "s": 67.273,
    "l": 56.863
  },
  "oklch": {
    "l": 0.58794,
    "c": 0.22103,
    "h": 310.5
  },
  "luminance": 0.1762
}

Semantic roles & 50–950 ramp

primary
#A547DB
secondary
#B7DDA1
accent
#EA3E7D
background
#FCF8FE
surface
#F8EFFC
border
#D1CAD5
text
#130B16
muted
#827C84

Preview Lab

Preview with #A547DB

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

Preview Lab → · Contrast checker → · Palette generator →

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