#A54DEA#A54DEA

#A54DEA is a mid, highly saturated violet. Relative luminance 0.192; OKLCH L 60.5% C 0.228 H 306.4°. Best body text is #000000 at 4.85:1 contrast (WCAG AA passes).

Color values

HEX#A54DEA
RGBrgb(165, 77, 234)
HSLhsl(274, 79%, 61%)
HSVhsv(274, 67%, 92%)
CMYKcmyk(29.5%, 67.1%, 0%, 8.2%)
CIE-LABlab(50.98, 62.80, -64.85)
CIE-LCHlch(50.98, 90.27, 314.08°)
OKLaboklab(60.5% 0.1356 -0.1839)
OKLCHoklch(60.5% 0.228 306.4)
XYZxyz(33.0190, 19.2479, 79.8017)
Luminance0.1925 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A54DEA #92EA4D
analogous
#564DEA #A54DEA #EA4DE0
triadic
#A54DEA #EAA54D #4DEAA5
tetradic
#A54DEA #EA564D #92EA4D #4DE0EA
square
#A54DEA #EA564D #92EA4D #4DE0EA
split-complementary
#A54DEA #E0EA4D #4DEA56
monochromatic
#6714A9 #891ADF #A54DEA #C184F0 #DCBAF7

Accessibility & contrast

On white

4.33
#A54DEA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.85
#A54DEA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A54DEA
4.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A54DEA#FFFFFF#000000##000000
##A54DEA1.004.334.854.85
#FFFFFF4.331.0021.0021.00
#0000004.8521.001.001.00
##0000004.8521.001.001.00

Color blindness preview

Protanopia (red-blind)
#0077EF
Deuteranopia (green-blind)
#207AE7
Tritanopia (blue-blind)
#997096
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #a54dea;
/* rgb */ color: rgb(165, 77, 234);
/* oklch */ color: oklch(60.5% 0.228 306.4);
Tailwind
colors: {
  custom: {
    50: '#c585f2',
    500: '#a54dea',
    950: '#000000',
  },
}
SCSS
$custom: #a54dea;
$custom-light: #c585f2;
$custom-dark: #000000;
JSON
{
  "hex": "#a54dea",
  "rgb": {
    "r": 165,
    "g": 77,
    "b": 234
  },
  "hsl": {
    "h": 273.631,
    "s": 78.894,
    "l": 60.98
  },
  "oklch": {
    "l": 0.60498,
    "c": 0.22848,
    "h": 306.4
  },
  "luminance": 0.19248
}

Semantic roles & 50–950 ramp

primary
#A54DEA
secondary
#C6E7AC
accent
#DB0A66
background
#FCF8FE
surface
#F8F0FD
border
#D1CBD5
text
#130B17
muted
#827C85

Preview Lab

Preview with #A54DEA

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

Preview Lab → · Contrast checker → · Palette generator →

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