#A54FDF#A54FDF

#A54FDF is a mid, highly saturated violet. Relative luminance 0.189; OKLCH L 60.0% C 0.215 H 308.8°. Best body text is #000000 at 4.78:1 contrast (WCAG AA passes).

Color values

HEX#A54FDF
RGBrgb(165, 79, 223)
HSLhsl(276, 69%, 59%)
HSVhsv(276, 65%, 87%)
CMYKcmyk(26%, 64.6%, 0%, 12.5%)
CIE-LABlab(50.59, 59.45, -59.25)
CIE-LCHlch(50.59, 83.94, 315.10°)
OKLaboklab(60% 0.1344 -0.1675)
OKLCHoklch(60% 0.215 308.8)
XYZxyz(31.6296, 18.9195, 71.7833)
Luminance0.1892 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A54FDF #89DF4F
analogous
#5D4FDF #A54FDF #DF4FD1
triadic
#A54FDF #DFA54F #4FDFA5
tetradic
#A54FDF #DF5D4F #89DF4F #4FD1DF
square
#A54FDF #DF5D4F #89DF4F #4FD1DF
split-complementary
#A54FDF #D1DF4F #4FDF5D
monochromatic
#661C98 #8925CC #A54FDF #BF83E8 #DAB7F2

Accessibility & contrast

On white

4.39
#A54FDF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.78
#A54FDF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A54FDF
4.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A54FDF#FFFFFF#000000##000000
##A54FDF1.004.394.784.78
#FFFFFF4.391.0021.0021.00
#0000004.7821.001.001.00
##0000004.7821.001.001.00

Color blindness preview

Protanopia (red-blind)
#0075E3
Deuteranopia (green-blind)
#367ADC
Tritanopia (blue-blind)
#9C6D90
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #a54fdf;
/* rgb */ color: rgb(165, 79, 223);
/* oklch */ color: oklch(60.0% 0.215 308.8);
Tailwind
colors: {
  custom: {
    50: '#c486ea',
    500: '#a54fdf',
    950: '#000000',
  },
}
SCSS
$custom: #a54fdf;
$custom-light: #c486ea;
$custom-dark: #000000;
JSON
{
  "hex": "#a54fdf",
  "rgb": {
    "r": 165,
    "g": 79,
    "b": 223
  },
  "hsl": {
    "h": 275.833,
    "s": 69.231,
    "l": 59.216
  },
  "oklch": {
    "l": 0.59996,
    "c": 0.21474,
    "h": 308.8
  },
  "luminance": 0.18919
}

Semantic roles & 50–950 ramp

primary
#A54FDF
secondary
#BFE1A9
accent
#EC3C83
background
#FCF8FE
surface
#F8F0FD
border
#D1CBD5
text
#130B16
muted
#827C84

Preview Lab

Preview with #A54FDF

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

Preview Lab → · Contrast checker → · Palette generator →

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