#A754E7#A754E7

#A754E7 is a mid, highly saturated violet. Relative luminance 0.203; OKLCH L 61.4% C 0.217 H 307.1°. Best body text is #000000 at 5.07:1 contrast (WCAG AA passes).

Color values

HEX#A754E7
RGBrgb(167, 84, 231)
HSLhsl(274, 75%, 62%)
HSVhsv(274, 64%, 91%)
CMYKcmyk(27.7%, 63.6%, 0%, 9.4%)
CIE-LABlab(52.20, 59.30, -61.16)
CIE-LCHlch(52.20, 85.19, 314.11°)
OKLaboklab(61.37% 0.1308 -0.173)
OKLCHoklch(61.37% 0.217 307.1)
XYZxyz(33.5275, 20.3261, 77.7429)
Luminance0.2033 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A754E7 #94E754
analogous
#5E54E7 #A754E7 #E754DD
triadic
#A754E7 #E7A754 #54E7A7
tetradic
#A754E7 #E75E54 #94E754 #54DDE7
square
#A754E7 #E75E54 #94E754 #54DDE7
split-complementary
#A754E7 #DDE754 #54E75E
monochromatic
#6A18A9 #8B1FDF #A754E7 #C38AEF #DEBFF6

Accessibility & contrast

On white

4.15
#A754E7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.07
#A754E7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A754E7
5.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A754E7#FFFFFF#000000##000000
##A754E71.004.155.075.07
#FFFFFF4.151.0021.0021.00
#0000005.0721.001.001.00
##0000005.0721.001.001.00

Color blindness preview

Protanopia (red-blind)
#007AEC
Deuteranopia (green-blind)
#357DE4
Tritanopia (blue-blind)
#9D7396
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #a754e7;
/* rgb */ color: rgb(167, 84, 231);
/* oklch */ color: oklch(61.4% 0.217 307.1);
Tailwind
colors: {
  custom: {
    50: '#c589ef',
    500: '#a754e7',
    950: '#000000',
  },
}
SCSS
$custom: #a754e7;
$custom-light: #c589ef;
$custom-dark: #000000;
JSON
{
  "hex": "#a754e7",
  "rgb": {
    "r": 167,
    "g": 84,
    "b": 231
  },
  "hsl": {
    "h": 273.878,
    "s": 75.385,
    "l": 61.765
  },
  "oklch": {
    "l": 0.61372,
    "c": 0.21694,
    "h": 307.1
  },
  "luminance": 0.20326
}

Semantic roles & 50–950 ramp

primary
#A754E7
secondary
#C8E7B0
accent
#D80E66
background
#FCF8FE
surface
#F8F0FD
border
#D1CBD5
text
#130C17
muted
#827D85

Preview Lab

Preview with #A754E7

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

Preview Lab → · Contrast checker → · Palette generator →

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