#A754E8#A754E8

#A754E8 is a mid, highly saturated violet. Relative luminance 0.204; OKLCH L 61.4% C 0.218 H 306.9°. Best body text is #000000 at 5.08:1 contrast (WCAG AA passes).

Color values

HEX#A754E8
RGBrgb(167, 84, 232)
HSLhsl(274, 76%, 62%)
HSVhsv(274, 64%, 91%)
CMYKcmyk(28%, 63.8%, 0%, 9%)
CIE-LABlab(52.27, 59.53, -61.63)
CIE-LCHlch(52.27, 85.68, 314.01°)
OKLaboklab(61.44% 0.1308 -0.1744)
OKLCHoklch(61.44% 0.218 306.9)
XYZxyz(33.6691, 20.3827, 78.4888)
Luminance0.2038 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A754E8 #95E854
analogous
#5D54E8 #A754E8 #E854DF
triadic
#A754E8 #E8A754 #54E8A7
tetradic
#A754E8 #E85D54 #95E854 #54DFE8
square
#A754E8 #E85D54 #95E854 #54DFE8
split-complementary
#A754E8 #DFE854 #54E85D
monochromatic
#6A17AB #8B1EE1 #A754E8 #C38AEF #DFC0F7

Accessibility & contrast

On white

4.14
#A754E8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.08
#A754E8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A754E8
5.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A754E8#FFFFFF#000000##000000
##A754E81.004.145.085.08
#FFFFFF4.141.0021.0021.00
#0000005.0821.001.001.00
##0000005.0821.001.001.00

Color blindness preview

Protanopia (red-blind)
#007AED
Deuteranopia (green-blind)
#347DE5
Tritanopia (blue-blind)
#9C7397
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #a754e8;
/* rgb */ color: rgb(167, 84, 232);
/* oklch */ color: oklch(61.4% 0.218 306.9);
Tailwind
colors: {
  custom: {
    50: '#c589f0',
    500: '#a754e8',
    950: '#000000',
  },
}
SCSS
$custom: #a754e8;
$custom-light: #c589f0;
$custom-dark: #000000;
JSON
{
  "hex": "#a754e8",
  "rgb": {
    "r": 167,
    "g": 84,
    "b": 232
  },
  "hsl": {
    "h": 273.649,
    "s": 76.289,
    "l": 61.961
  },
  "oklch": {
    "l": 0.61438,
    "c": 0.21797,
    "h": 306.9
  },
  "luminance": 0.20382
}

Semantic roles & 50–950 ramp

primary
#A754E8
secondary
#C9E7B1
accent
#D80D66
background
#FCF8FE
surface
#F8F0FD
border
#D1CBD5
text
#130C17
muted
#827D85

Preview Lab

Preview with #A754E8

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

Preview Lab → · Contrast checker → · Palette generator →

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