#A54BE1#A54BE1

#A54BE1 is a mid, highly saturated violet. Relative luminance 0.185; OKLCH L 59.7% C 0.222 H 308.7°. Best body text is #000000 at 4.69:1 contrast (WCAG AA passes).

Color values

HEX#A54BE1
RGBrgb(165, 75, 225)
HSLhsl(276, 71%, 59%)
HSVhsv(276, 67%, 88%)
CMYKcmyk(26.7%, 66.7%, 0%, 11.8%)
CIE-LABlab(50.06, 61.72, -61.24)
CIE-LCHlch(50.06, 86.95, 315.22°)
OKLaboklab(59.65% 0.1387 -0.1733)
OKLCHoklch(59.65% 0.222 308.7)
XYZxyz(31.6210, 18.4683, 73.1185)
Luminance0.1847 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A54BE1 #87E14B
analogous
#5A4BE1 #A54BE1 #E14BD2
triadic
#A54BE1 #E1A54B #4BE1A5
tetradic
#A54BE1 #E15A4B #87E14B #4BD2E1
square
#A54BE1 #E15A4B #87E14B #4BD2E1
split-complementary
#A54BE1 #D2E14B #4BE15A
monochromatic
#651998 #8822CD #A54BE1 #BF7FEA #D9B4F2

Accessibility & contrast

On white

4.47
#A54BE1 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.69
#A54BE1 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A54BE1
4.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A54BE1#FFFFFF#000000##000000
##A54BE11.004.474.694.69
#FFFFFF4.471.0021.0021.00
#0000004.6921.001.001.00
##0000004.6921.001.001.00

Color blindness preview

Protanopia (red-blind)
#0074E5
Deuteranopia (green-blind)
#2E78DE
Tritanopia (blue-blind)
#9C6B90
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #a54be1;
/* rgb */ color: rgb(165, 75, 225);
/* oklch */ color: oklch(59.7% 0.222 308.7);
Tailwind
colors: {
  custom: {
    50: '#c483eb',
    500: '#a54be1',
    950: '#000000',
  },
}
SCSS
$custom: #a54be1;
$custom-light: #c483eb;
$custom-dark: #000000;
JSON
{
  "hex": "#a54be1",
  "rgb": {
    "r": 165,
    "g": 75,
    "b": 225
  },
  "hsl": {
    "h": 276,
    "s": 71.429,
    "l": 58.824
  },
  "oklch": {
    "l": 0.59653,
    "c": 0.22193,
    "h": 308.7
  },
  "luminance": 0.18468
}

Semantic roles & 50–950 ramp

primary
#A54BE1
secondary
#BEE1A6
accent
#EE3A82
background
#FCF8FE
surface
#F8EFFD
border
#D1CAD5
text
#130B16
muted
#827C84

Preview Lab

Preview with #A54BE1

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

Preview Lab → · Contrast checker → · Palette generator →

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