#A54FDD#A54FDD

#A54FDD is a mid, highly saturated violet. Relative luminance 0.188; OKLCH L 59.9% C 0.213 H 309.2°. Best body text is #000000 at 4.76:1 contrast (WCAG AA passes).

Color values

HEX#A54FDD
RGBrgb(165, 79, 221)
HSLhsl(276, 68%, 59%)
HSVhsv(276, 64%, 87%)
CMYKcmyk(25.3%, 64.3%, 0%, 13.3%)
CIE-LABlab(50.47, 59.01, -58.32)
CIE-LCHlch(50.47, 82.97, 315.34°)
OKLaboklab(59.87% 0.1346 -0.1647)
OKLCHoklch(59.87% 0.213 309.2)
XYZxyz(31.3616, 18.8123, 70.3716)
Luminance0.1881 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A54FDD #87DD4F
analogous
#5E4FDD #A54FDD #DD4FCE
triadic
#A54FDD #DDA54F #4FDDA5
tetradic
#A54FDD #DD5E4F #87DD4F #4FCEDD
square
#A54FDD #DD5E4F #87DD4F #4FCEDD
split-complementary
#A54FDD #CEDD4F #4FDD5E
monochromatic
#651D95 #8827C8 #A54FDD #BF82E7 #D9B6F1

Accessibility & contrast

On white

4.41
#A54FDD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.76
#A54FDD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A54FDD
4.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A54FDD#FFFFFF#000000##000000
##A54FDD1.004.414.764.76
#FFFFFF4.411.0021.0021.00
#0000004.7621.001.001.00
##0000004.7621.001.001.00

Color blindness preview

Protanopia (red-blind)
#0075E1
Deuteranopia (green-blind)
#3979DA
Tritanopia (blue-blind)
#9D6C8F
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #a54fdd;
/* rgb */ color: rgb(165, 79, 221);
/* oklch */ color: oklch(59.9% 0.213 309.2);
Tailwind
colors: {
  custom: {
    50: '#c486e8',
    500: '#a54fdd',
    950: '#000000',
  },
}
SCSS
$custom: #a54fdd;
$custom-light: #c486e8;
$custom-dark: #000000;
JSON
{
  "hex": "#a54fdd",
  "rgb": {
    "r": 165,
    "g": 79,
    "b": 221
  },
  "hsl": {
    "h": 276.338,
    "s": 67.619,
    "l": 58.824
  },
  "oklch": {
    "l": 0.59865,
    "c": 0.2127,
    "h": 309.2
  },
  "luminance": 0.18812
}

Semantic roles & 50–950 ramp

primary
#A54FDD
secondary
#BEE0A8
accent
#EA3D82
background
#FCF8FE
surface
#F8F0FD
border
#D1CBD5
text
#130B16
muted
#827C84

Preview Lab

Preview with #A54FDD

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

Preview Lab → · Contrast checker → · Palette generator →

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