#A54EF1#A54EF1

#A54EF1 is a mid, highly saturated violet. Relative luminance 0.198; OKLCH L 61.1% C 0.234 H 304.8°. Best body text is #000000 at 4.96:1 contrast (WCAG AA passes).

Color values

HEX#A54EF1
RGBrgb(165, 78, 241)
HSLhsl(272, 85%, 63%)
HSVhsv(272, 68%, 95%)
CMYKcmyk(31.5%, 67.6%, 0%, 5.5%)
CIE-LABlab(51.61, 63.92, -67.75)
CIE-LCHlch(51.61, 93.14, 313.33°)
OKLaboklab(61.1% 0.1338 -0.1924)
OKLCHoklch(61.1% 0.234 304.8)
XYZxyz(34.1151, 19.7992, 85.2264)
Luminance0.1980 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A54EF1 #9AF14E
analogous
#544EF1 #A54EF1 #F14EEB
triadic
#A54EF1 #F1A54E #4EF1A5
tetradic
#A54EF1 #F1544E #9AF14E #4EEBF1
square
#A54EF1 #F1544E #9AF14E #4EEBF1
split-complementary
#A54EF1 #EBF14E #4EF154
monochromatic
#680EB6 #8815ED #A54EF1 #C287F5 #DFBFFA

Accessibility & contrast

On white

4.23
#A54EF1 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.96
#A54EF1 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A54EF1
4.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A54EF1#FFFFFF#000000##000000
##A54EF11.004.234.964.96
#FFFFFF4.231.0021.0021.00
#0000004.9621.001.001.00
##0000004.9621.001.001.00

Color blindness preview

Protanopia (red-blind)
#0079F6
Deuteranopia (green-blind)
#0B7BEE
Tritanopia (blue-blind)
#97739A
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #a54ef1;
/* rgb */ color: rgb(165, 78, 241);
/* oklch */ color: oklch(61.1% 0.234 304.8);
Tailwind
colors: {
  custom: {
    50: '#c586f7',
    500: '#a54ef1',
    950: '#000000',
  },
}
SCSS
$custom: #a54ef1;
$custom-light: #c586f7;
$custom-dark: #000000;
JSON
{
  "hex": "#a54ef1",
  "rgb": {
    "r": 165,
    "g": 78,
    "b": 241
  },
  "hsl": {
    "h": 272.025,
    "s": 85.34,
    "l": 62.549
  },
  "oklch": {
    "l": 0.61101,
    "c": 0.23434,
    "h": 304.8
  },
  "luminance": 0.19799
}

Semantic roles & 50–950 ramp

primary
#A54EF1
secondary
#CBEBB0
accent
#E2046B
background
#FCF8FF
surface
#F9F0FF
border
#D2CBD7
text
#130C17
muted
#827D85

Preview Lab

Preview with #A54EF1

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

Preview Lab → · Contrast checker → · Palette generator →

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