#A754E5#A754E5

#A754E5 is a mid, highly saturated violet. Relative luminance 0.202; OKLCH L 61.2% C 0.215 H 307.6°. Best body text is #000000 at 5.04:1 contrast (WCAG AA passes).

Color values

HEX#A754E5
RGBrgb(167, 84, 229)
HSLhsl(274, 74%, 61%)
HSVhsv(274, 63%, 90%)
CMYKcmyk(27.1%, 63.3%, 0%, 10.2%)
CIE-LABlab(52.08, 58.86, -60.24)
CIE-LCHlch(52.08, 84.22, 314.33°)
OKLaboklab(61.24% 0.131 -0.1703)
OKLCHoklch(61.24% 0.215 307.6)
XYZxyz(33.2466, 20.2137, 76.2637)
Luminance0.2021 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A754E5 #92E554
analogous
#5F54E5 #A754E5 #E554DA
triadic
#A754E5 #E5A754 #54E5A7
tetradic
#A754E5 #E55F54 #92E554 #54DAE5
square
#A754E5 #E55F54 #92E554 #54DAE5
split-complementary
#A754E5 #DAE554 #54E55F
monochromatic
#6919A5 #8B21DB #A754E5 #C289ED #DEBEF5

Accessibility & contrast

On white

4.16
#A754E5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.04
#A754E5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A754E5
5.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A754E5#FFFFFF#000000##000000
##A754E51.004.165.045.04
#FFFFFF4.161.0021.0021.00
#0000005.0421.001.001.00
##0000005.0421.001.001.00

Color blindness preview

Protanopia (red-blind)
#0079E9
Deuteranopia (green-blind)
#387DE2
Tritanopia (blue-blind)
#9D7295
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #a754e5;
/* rgb */ color: rgb(167, 84, 229);
/* oklch */ color: oklch(61.2% 0.215 307.6);
Tailwind
colors: {
  custom: {
    50: '#c589ee',
    500: '#a754e5',
    950: '#000000',
  },
}
SCSS
$custom: #a754e5;
$custom-light: #c589ee;
$custom-dark: #000000;
JSON
{
  "hex": "#a754e5",
  "rgb": {
    "r": 167,
    "g": 84,
    "b": 229
  },
  "hsl": {
    "h": 274.345,
    "s": 73.604,
    "l": 61.373
  },
  "oklch": {
    "l": 0.61241,
    "c": 0.21485,
    "h": 307.6
  },
  "luminance": 0.20213
}

Semantic roles & 50–950 ramp

primary
#A754E5
secondary
#C6E6AF
accent
#D61064
background
#FCF8FE
surface
#F8F0FD
border
#D1CBD5
text
#130C16
muted
#827D84

Preview Lab

Preview with #A754E5

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

Preview Lab → · Contrast checker → · Palette generator →

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