#A54FE2#A54FE2

#A54FE2 is a mid, highly saturated violet. Relative luminance 0.191; OKLCH L 60.2% C 0.218 H 308.0°. Best body text is #000000 at 4.82:1 contrast (WCAG AA passes).

Color values

HEX#A54FE2
RGBrgb(165, 79, 226)
HSLhsl(275, 72%, 60%)
HSVhsv(275, 65%, 89%)
CMYKcmyk(27%, 65%, 0%, 11.4%)
CIE-LABlab(50.78, 60.11, -60.64)
CIE-LCHlch(50.78, 85.39, 314.75°)
OKLaboklab(60.19% 0.1342 -0.1715)
OKLCHoklch(60.19% 0.218 308)
XYZxyz(32.0377, 19.0828, 73.9323)
Luminance0.1908 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A54FE2 #8CE24F
analogous
#5C4FE2 #A54FE2 #E24FD5
triadic
#A54FE2 #E2A54F #4FE2A5
tetradic
#A54FE2 #E25C4F #8CE24F #4FD5E2
square
#A54FE2 #E25C4F #8CE24F #4FD5E2
split-complementary
#A54FE2 #D5E24F #4FE25C
monochromatic
#661A9D #8922D1 #A54FE2 #C084EB #DBB8F3

Accessibility & contrast

On white

4.36
#A54FE2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.82
#A54FE2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A54FE2
4.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A54FE2#FFFFFF#000000##000000
##A54FE21.004.364.824.82
#FFFFFF4.361.0021.0021.00
#0000004.8221.001.001.00
##0000004.8221.001.001.00

Color blindness preview

Protanopia (red-blind)
#0076E6
Deuteranopia (green-blind)
#327ADF
Tritanopia (blue-blind)
#9C6E92
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #a54fe2;
/* rgb */ color: rgb(165, 79, 226);
/* oklch */ color: oklch(60.2% 0.218 308.0);
Tailwind
colors: {
  custom: {
    50: '#c486ec',
    500: '#a54fe2',
    950: '#000000',
  },
}
SCSS
$custom: #a54fe2;
$custom-light: #c486ec;
$custom-dark: #000000;
JSON
{
  "hex": "#a54fe2",
  "rgb": {
    "r": 165,
    "g": 79,
    "b": 226
  },
  "hsl": {
    "h": 275.102,
    "s": 71.707,
    "l": 59.804
  },
  "oklch": {
    "l": 0.60194,
    "c": 0.21781,
    "h": 308
  },
  "luminance": 0.19082
}

Semantic roles & 50–950 ramp

primary
#A54FE2
secondary
#C2E3AA
accent
#EE3985
background
#FCF8FE
surface
#F8F0FD
border
#D1CBD5
text
#130B16
muted
#827C84

Preview Lab

Preview with #A54FE2

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

Preview Lab → · Contrast checker → · Palette generator →

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