#A54FE4#A54FE4

#A54FE4 is a mid, highly saturated violet. Relative luminance 0.192; OKLCH L 60.3% C 0.220 H 307.6°. Best body text is #000000 at 4.84:1 contrast (WCAG AA passes).

Color values

HEX#A54FE4
RGBrgb(165, 79, 228)
HSLhsl(275, 73%, 60%)
HSVhsv(275, 65%, 89%)
CMYKcmyk(27.6%, 65.4%, 0%, 10.6%)
CIE-LABlab(50.91, 60.55, -61.57)
CIE-LCHlch(50.91, 86.35, 314.52°)
OKLaboklab(60.33% 0.1341 -0.1743)
OKLCHoklch(60.33% 0.22 307.6)
XYZxyz(32.3137, 19.1932, 75.3861)
Luminance0.1919 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A54FE4 #8EE44F
analogous
#5B4FE4 #A54FE4 #E44FD8
triadic
#A54FE4 #E4A54F #4FE4A5
tetradic
#A54FE4 #E45B4F #8EE44F #4FD8E4
square
#A54FE4 #E45B4F #8EE44F #4FD8E4
split-complementary
#A54FE4 #D8E44F #4FE45B
monochromatic
#6719A0 #8921D5 #A54FE4 #C084EC #DBB9F4

Accessibility & contrast

On white

4.34
#A54FE4 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.84
#A54FE4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A54FE4
4.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A54FE4#FFFFFF#000000##000000
##A54FE41.004.344.844.84
#FFFFFF4.341.0021.0021.00
#0000004.8421.001.001.00
##0000004.8421.001.001.00

Color blindness preview

Protanopia (red-blind)
#0076E9
Deuteranopia (green-blind)
#2F7AE1
Tritanopia (blue-blind)
#9B6F93
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #a54fe4;
/* rgb */ color: rgb(165, 79, 228);
/* oklch */ color: oklch(60.3% 0.220 307.6);
Tailwind
colors: {
  custom: {
    50: '#c486ed',
    500: '#a54fe4',
    950: '#000000',
  },
}
SCSS
$custom: #a54fe4;
$custom-light: #c486ed;
$custom-dark: #000000;
JSON
{
  "hex": "#a54fe4",
  "rgb": {
    "r": 165,
    "g": 79,
    "b": 228
  },
  "hsl": {
    "h": 274.631,
    "s": 73.399,
    "l": 60.196
  },
  "oklch": {
    "l": 0.60328,
    "c": 0.21985,
    "h": 307.6
  },
  "luminance": 0.19193
}

Semantic roles & 50–950 ramp

primary
#A54FE4
secondary
#C3E4AB
accent
#D61064
background
#FCF8FE
surface
#F8F0FD
border
#D1CBD5
text
#130B16
muted
#827C84

Preview Lab

Preview with #A54FE4

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

Preview Lab → · Contrast checker → · Palette generator →

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