#A54FE3#A54FE3

#A54FE3 is a mid, highly saturated violet. Relative luminance 0.191; OKLCH L 60.3% C 0.219 H 307.8°. Best body text is #000000 at 4.83:1 contrast (WCAG AA passes).

Color values

HEX#A54FE3
RGBrgb(165, 79, 227)
HSLhsl(275, 73%, 60%)
HSVhsv(275, 65%, 89%)
CMYKcmyk(27.3%, 65.2%, 0%, 11%)
CIE-LABlab(50.85, 60.33, -61.10)
CIE-LCHlch(50.85, 85.87, 314.64°)
OKLaboklab(60.26% 0.1341 -0.1729)
OKLCHoklch(60.26% 0.219 307.8)
XYZxyz(32.1753, 19.1378, 74.6571)
Luminance0.1914 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A54FE3 #8DE34F
analogous
#5B4FE3 #A54FE3 #E34FD7
triadic
#A54FE3 #E3A54F #4FE3A5
tetradic
#A54FE3 #E35B4F #8DE34F #4FD7E3
square
#A54FE3 #E35B4F #8DE34F #4FD7E3
split-complementary
#A54FE3 #D7E34F #4FE35B
monochromatic
#67199E #8922D3 #A54FE3 #C084EB #DBB9F4

Accessibility & contrast

On white

4.35
#A54FE3 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.83
#A54FE3 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A54FE3
4.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A54FE3#FFFFFF#000000##000000
##A54FE31.004.354.834.83
#FFFFFF4.351.0021.0021.00
#0000004.8321.001.001.00
##0000004.8321.001.001.00

Color blindness preview

Protanopia (red-blind)
#0076E7
Deuteranopia (green-blind)
#317AE0
Tritanopia (blue-blind)
#9B6E92
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #a54fe3;
/* rgb */ color: rgb(165, 79, 227);
/* oklch */ color: oklch(60.3% 0.219 307.8);
Tailwind
colors: {
  custom: {
    50: '#c486ed',
    500: '#a54fe3',
    950: '#000000',
  },
}
SCSS
$custom: #a54fe3;
$custom-light: #c486ed;
$custom-dark: #000000;
JSON
{
  "hex": "#a54fe3",
  "rgb": {
    "r": 165,
    "g": 79,
    "b": 227
  },
  "hsl": {
    "h": 274.865,
    "s": 72.549,
    "l": 60
  },
  "oklch": {
    "l": 0.60261,
    "c": 0.21883,
    "h": 307.8
  },
  "luminance": 0.19137
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #A54FE3

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

Preview Lab → · Contrast checker → · Palette generator →

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