#A754E6#A754E6

#A754E6 is a mid, highly saturated violet. Relative luminance 0.203; OKLCH L 61.3% C 0.216 H 307.3°. Best body text is #000000 at 5.05:1 contrast (WCAG AA passes).

Color values

HEX#A754E6
RGBrgb(167, 84, 230)
HSLhsl(274, 74%, 62%)
HSVhsv(274, 63%, 90%)
CMYKcmyk(27.4%, 63.5%, 0%, 9.8%)
CIE-LABlab(52.14, 59.08, -60.70)
CIE-LCHlch(52.14, 84.71, 314.22°)
OKLaboklab(61.31% 0.1309 -0.1717)
OKLCHoklch(61.31% 0.216 307.3)
XYZxyz(33.3866, 20.2697, 77.0012)
Luminance0.2027 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A754E6 #93E654
analogous
#5E54E6 #A754E6 #E654DC
triadic
#A754E6 #E6A754 #54E6A7
tetradic
#A754E6 #E65E54 #93E654 #54DCE6
square
#A754E6 #E65E54 #93E654 #54DCE6
split-complementary
#A754E6 #DCE654 #54E65E
monochromatic
#6A18A7 #8B20DD #A754E6 #C289EE #DEBFF6

Accessibility & contrast

On white

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

On black

5.05
#A754E6 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A754E6
5.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A754E6#FFFFFF#000000##000000
##A754E61.004.165.055.05
#FFFFFF4.161.0021.0021.00
#0000005.0521.001.001.00
##0000005.0521.001.001.00

Color blindness preview

Protanopia (red-blind)
#0079EA
Deuteranopia (green-blind)
#377DE3
Tritanopia (blue-blind)
#9D7296
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #a754e6;
/* rgb */ color: rgb(167, 84, 230);
/* oklch */ color: oklch(61.3% 0.216 307.3);
Tailwind
colors: {
  custom: {
    50: '#c589ef',
    500: '#a754e6',
    950: '#000000',
  },
}
SCSS
$custom: #a754e6;
$custom-light: #c589ef;
$custom-dark: #000000;
JSON
{
  "hex": "#a754e6",
  "rgb": {
    "r": 167,
    "g": 84,
    "b": 230
  },
  "hsl": {
    "h": 274.11,
    "s": 74.49,
    "l": 61.569
  },
  "oklch": {
    "l": 0.61307,
    "c": 0.21589,
    "h": 307.3
  },
  "luminance": 0.20269
}

Semantic roles & 50–950 ramp

primary
#A754E6
secondary
#C7E6B0
accent
#D70F65
background
#FCF8FE
surface
#F8F0FD
border
#D1CBD5
text
#130C16
muted
#827D84

Preview Lab

Preview with #A754E6

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

Preview Lab → · Contrast checker → · Palette generator →

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