#A54FEA#A54FEA

#A54FEA is a mid, highly saturated violet. Relative luminance 0.195; OKLCH L 60.7% C 0.226 H 306.2°. Best body text is #000000 at 4.91:1 contrast (WCAG AA passes).

Color values

HEX#A54FEA
RGBrgb(165, 79, 234)
HSLhsl(273, 79%, 61%)
HSVhsv(273, 66%, 92%)
CMYKcmyk(29.5%, 66.2%, 0%, 8.2%)
CIE-LABlab(51.30, 61.89, -64.32)
CIE-LCHlch(51.30, 89.26, 313.90°)
OKLaboklab(60.73% 0.1335 -0.1823)
OKLCHoklch(60.73% 0.226 306.2)
XYZxyz(33.1611, 19.5321, 79.8491)
Luminance0.1953 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A54FEA #94EA4F
analogous
#584FEA #A54FEA #EA4FE2
triadic
#A54FEA #EAA54F #4FEAA5
tetradic
#A54FEA #EA584F #94EA4F #4FE2EA
square
#A54FEA #EA584F #94EA4F #4FE2EA
split-complementary
#A54FEA #E2EA4F #4FEA58
monochromatic
#6814AA #891BE1 #A54FEA #C186F1 #DDBCF7

Accessibility & contrast

On white

4.28
#A54FEA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.91
#A54FEA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A54FEA
4.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A54FEA#FFFFFF#000000##000000
##A54FEA1.004.284.914.91
#FFFFFF4.281.0021.0021.00
#0000004.9121.001.001.00
##0000004.9121.001.001.00

Color blindness preview

Protanopia (red-blind)
#0078EF
Deuteranopia (green-blind)
#247BE7
Tritanopia (blue-blind)
#997196
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #a54fea;
/* rgb */ color: rgb(165, 79, 234);
/* oklch */ color: oklch(60.7% 0.226 306.2);
Tailwind
colors: {
  custom: {
    50: '#c486f2',
    500: '#a54fea',
    950: '#000000',
  },
}
SCSS
$custom: #a54fea;
$custom-light: #c486f2;
$custom-dark: #000000;
JSON
{
  "hex": "#a54fea",
  "rgb": {
    "r": 165,
    "g": 79,
    "b": 234
  },
  "hsl": {
    "h": 273.29,
    "s": 78.68,
    "l": 61.373
  },
  "oklch": {
    "l": 0.60733,
    "c": 0.22599,
    "h": 306.2
  },
  "luminance": 0.19532
}

Semantic roles & 50–950 ramp

primary
#A54FEA
secondary
#C7E7AD
accent
#DB0B67
background
#FCF8FE
surface
#F8F0FD
border
#D1CBD5
text
#130C17
muted
#827D85

Preview Lab

Preview with #A54FEA

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

Preview Lab → · Contrast checker → · Palette generator →

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