#A54CDF#A54CDF

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

Color values

HEX#A54CDF
RGBrgb(165, 76, 223)
HSLhsl(276, 70%, 59%)
HSVhsv(276, 66%, 87%)
CMYKcmyk(26%, 65.9%, 0%, 12.5%)
CIE-LABlab(50.09, 60.83, -60.06)
CIE-LCHlch(50.09, 85.48, 315.37°)
OKLaboklab(59.64% 0.1377 -0.1698)
OKLCHoklch(59.64% 0.219 309)
XYZxyz(31.4181, 18.4965, 71.7128)
Luminance0.1850 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A54CDF #86DF4C
analogous
#5B4CDF #A54CDF #DF4CCF
triadic
#A54CDF #DFA54C #4CDFA5
tetradic
#A54CDF #DF5B4C #86DF4C #4CCFDF
square
#A54CDF #DF5B4C #86DF4C #4CCFDF
split-complementary
#A54CDF #CFDF4C #4CDF5B
monochromatic
#651B96 #8824CA #A54CDF #BF80E8 #D9B4F2

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##A54CDF#FFFFFF#000000##000000
##A54CDF1.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)
#0074E3
Deuteranopia (green-blind)
#3278DC
Tritanopia (blue-blind)
#9D6B8F
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #a54cdf;
/* rgb */ color: rgb(165, 76, 223);
/* oklch */ color: oklch(59.6% 0.219 309.0);
Tailwind
colors: {
  custom: {
    50: '#c484ea',
    500: '#a54cdf',
    950: '#000000',
  },
}
SCSS
$custom: #a54cdf;
$custom-light: #c484ea;
$custom-dark: #000000;
JSON
{
  "hex": "#a54cdf",
  "rgb": {
    "r": 165,
    "g": 76,
    "b": 223
  },
  "hsl": {
    "h": 276.327,
    "s": 69.668,
    "l": 58.627
  },
  "oklch": {
    "l": 0.59636,
    "c": 0.21865,
    "h": 309
  },
  "luminance": 0.18496
}

Semantic roles & 50–950 ramp

primary
#A54CDF
secondary
#BDE0A6
accent
#EC3B81
background
#FCF8FE
surface
#F8EFFD
border
#D1CAD5
text
#130B16
muted
#827C84

Preview Lab

Preview with #A54CDF

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

Preview Lab → · Contrast checker → · Palette generator →

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