#A54BEA#A54BEA

#A54BEA is a mid, highly saturated violet. Relative luminance 0.190; OKLCH L 60.3% C 0.231 H 306.6°. Best body text is #000000 at 4.79:1 contrast (WCAG AA passes).

Color values

HEX#A54BEA
RGBrgb(165, 75, 234)
HSLhsl(274, 79%, 61%)
HSVhsv(274, 68%, 92%)
CMYKcmyk(29.5%, 67.9%, 0%, 8.2%)
CIE-LABlab(50.65, 63.69, -65.36)
CIE-LCHlch(50.65, 91.27, 314.26°)
OKLaboklab(60.27% 0.1377 -0.1854)
OKLCHoklch(60.27% 0.231 306.6)
XYZxyz(32.8812, 18.9723, 79.7558)
Luminance0.1897 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A54BEA #90EA4B
analogous
#554BEA #A54BEA #EA4BE0
triadic
#A54BEA #EAA54B #4BEAA5
tetradic
#A54BEA #EA554B #90EA4B #4BE0EA
square
#A54BEA #EA554B #90EA4B #4BE0EA
split-complementary
#A54BEA #E0EA4B #4BEA55
monochromatic
#6713A7 #891ADE #A54BEA #C082F0 #DCB9F7

Accessibility & contrast

On white

4.38
#A54BEA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.79
#A54BEA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A54BEA
4.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A54BEA#FFFFFF#000000##000000
##A54BEA1.004.384.794.79
#FFFFFF4.381.0021.0021.00
#0000004.7921.001.001.00
##0000004.7921.001.001.00

Color blindness preview

Protanopia (red-blind)
#0076EF
Deuteranopia (green-blind)
#1B79E7
Tritanopia (blue-blind)
#996E95
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #a54bea;
/* rgb */ color: rgb(165, 75, 234);
/* oklch */ color: oklch(60.3% 0.231 306.6);
Tailwind
colors: {
  custom: {
    50: '#c584f2',
    500: '#a54bea',
    950: '#000000',
  },
}
SCSS
$custom: #a54bea;
$custom-light: #c584f2;
$custom-dark: #000000;
JSON
{
  "hex": "#a54bea",
  "rgb": {
    "r": 165,
    "g": 75,
    "b": 234
  },
  "hsl": {
    "h": 273.962,
    "s": 79.104,
    "l": 60.588
  },
  "oklch": {
    "l": 0.60269,
    "c": 0.23094,
    "h": 306.6
  },
  "luminance": 0.18972
}

Semantic roles & 50–950 ramp

primary
#A54BEA
secondary
#C4E7AA
accent
#DB0A65
background
#FCF8FE
surface
#F9F0FD
border
#D2CBD5
text
#130B17
muted
#827C85

Preview Lab

Preview with #A54BEA

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

Preview Lab → · Contrast checker → · Palette generator →

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