#A54FD4#A54FD4

#A54FD4 is a mid, highly saturated violet. Relative luminance 0.183; OKLCH L 59.3% C 0.204 H 311.5°. Best body text is #000000 at 4.67:1 contrast (WCAG AA passes).

Color values

HEX#A54FD4
RGBrgb(165, 79, 212)
HSLhsl(279, 61%, 57%)
HSVhsv(279, 63%, 83%)
CMYKcmyk(22.2%, 62.7%, 0%, 16.9%)
CIE-LABlab(49.91, 57.06, -54.09)
CIE-LCHlch(49.91, 78.62, 316.53°)
OKLaboklab(59.29% 0.135 -0.1523)
OKLCHoklch(59.29% 0.204 311.5)
XYZxyz(30.1945, 18.3455, 64.2250)
Luminance0.1835 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A54FD4 #7ED44F
analogous
#634FD4 #A54FD4 #D44FC1
triadic
#A54FD4 #D4A54F #4FD4A5
tetradic
#A54FD4 #D4634F #7ED44F #4FC1D4
square
#A54FD4 #D4634F #7ED44F #4FC1D4
split-complementary
#A54FD4 #C1D44F #4FD463
monochromatic
#632187 #872DB9 #A54FD4 #BE80E0 #D7B1EC

Accessibility & contrast

On white

4.50
#A54FD4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.67
#A54FD4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A54FD4
4.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A54FD4#FFFFFF#000000##000000
##A54FD41.004.504.674.67
#FFFFFF4.501.0021.0021.00
#0000004.6721.001.001.00
##0000004.6721.001.001.00

Color blindness preview

Protanopia (red-blind)
#0F73D8
Deuteranopia (green-blind)
#4378D1
Tritanopia (blue-blind)
#9F698A
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #a54fd4;
/* rgb */ color: rgb(165, 79, 212);
/* oklch */ color: oklch(59.3% 0.204 311.5);
Tailwind
colors: {
  custom: {
    50: '#c385e2',
    500: '#a54fd4',
    950: '#000000',
  },
}
SCSS
$custom: #a54fd4;
$custom-light: #c385e2;
$custom-dark: #000000;
JSON
{
  "hex": "#a54fd4",
  "rgb": {
    "r": 165,
    "g": 79,
    "b": 212
  },
  "hsl": {
    "h": 278.797,
    "s": 60.731,
    "l": 57.059
  },
  "oklch": {
    "l": 0.59287,
    "c": 0.20351,
    "h": 311.5
  },
  "luminance": 0.18345
}

Semantic roles & 50–950 ramp

primary
#A54FD4
secondary
#B7DAA4
accent
#E4447C
background
#FCF8FD
surface
#F8F0FB
border
#D1CBD4
text
#130B15
muted
#827C83

Preview Lab

Preview with #A54FD4

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

Preview Lab → · Contrast checker → · Palette generator →

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