#A54FD7#A54FD7

#A54FD7 is a mid, highly saturated violet. Relative luminance 0.185; OKLCH L 59.5% C 0.207 H 310.8°. Best body text is #000000 at 4.70:1 contrast (WCAG AA passes).

Color values

HEX#A54FD7
RGBrgb(165, 79, 215)
HSLhsl(278, 63%, 58%)
HSVhsv(278, 63%, 84%)
CMYKcmyk(23.3%, 63.3%, 0%, 15.7%)
CIE-LABlab(50.09, 57.71, -55.51)
CIE-LCHlch(50.09, 80.07, 316.11°)
OKLaboklab(59.48% 0.1349 -0.1565)
OKLCHoklch(59.48% 0.207 310.8)
XYZxyz(30.5765, 18.4983, 66.2366)
Luminance0.1850 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A54FD7 #81D74F
analogous
#614FD7 #A54FD7 #D74FC5
triadic
#A54FD7 #D7A54F #4FD7A5
tetradic
#A54FD7 #D7614F #81D74F #4FC5D7
square
#A54FD7 #D7614F #81D74F #4FC5D7
split-complementary
#A54FD7 #C5D74F #4FD761
monochromatic
#64208C #882BBE #A54FD7 #BE81E2 #D8B3EE

Accessibility & contrast

On white

4.47
#A54FD7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.70
#A54FD7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A54FD7
4.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A54FD7#FFFFFF#000000##000000
##A54FD71.004.474.704.70
#FFFFFF4.471.0021.0021.00
#0000004.7021.001.001.00
##0000004.7021.001.001.00

Color blindness preview

Protanopia (red-blind)
#0173DB
Deuteranopia (green-blind)
#4079D4
Tritanopia (blue-blind)
#9F6A8C
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #a54fd7;
/* rgb */ color: rgb(165, 79, 215);
/* oklch */ color: oklch(59.5% 0.207 310.8);
Tailwind
colors: {
  custom: {
    50: '#c385e4',
    500: '#a54fd7',
    950: '#000000',
  },
}
SCSS
$custom: #a54fd7;
$custom-light: #c385e4;
$custom-dark: #000000;
JSON
{
  "hex": "#a54fd7",
  "rgb": {
    "r": 165,
    "g": 79,
    "b": 215
  },
  "hsl": {
    "h": 277.941,
    "s": 62.963,
    "l": 57.647
  },
  "oklch": {
    "l": 0.59478,
    "c": 0.20657,
    "h": 310.8
  },
  "luminance": 0.18498
}

Semantic roles & 50–950 ramp

primary
#A54FD7
secondary
#BADCA6
accent
#E6427E
background
#FCF8FE
surface
#F8F0FC
border
#D1CBD5
text
#130B16
muted
#827C84

Preview Lab

Preview with #A54FD7

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

Preview Lab → · Contrast checker → · Palette generator →

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