#A754E9#A754E9

#A754E9 is a mid, highly saturated violet. Relative luminance 0.204; OKLCH L 61.5% C 0.219 H 306.6°. Best body text is #000000 at 5.09:1 contrast (WCAG AA passes).

Color values

HEX#A754E9
RGBrgb(167, 84, 233)
HSLhsl(273, 77%, 62%)
HSVhsv(273, 64%, 91%)
CMYKcmyk(28.3%, 63.9%, 0%, 8.6%)
CIE-LABlab(52.33, 59.75, -62.09)
CIE-LCHlch(52.33, 86.17, 313.90°)
OKLaboklab(61.5% 0.1307 -0.1757)
OKLCHoklch(61.5% 0.219 306.6)
XYZxyz(33.8115, 20.4397, 79.2390)
Luminance0.2044 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A754E9 #96E954
analogous
#5D54E9 #A754E9 #E954E0
triadic
#A754E9 #E9A754 #54E9A7
tetradic
#A754E9 #E95D54 #96E954 #54E0E9
square
#A754E9 #E95D54 #96E954 #54E0E9
split-complementary
#A754E9 #E0E954 #54E95D
monochromatic
#6A16AC #8B1EE2 #A754E9 #C38AF0 #DFC0F7

Accessibility & contrast

On white

4.13
#A754E9 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.09
#A754E9 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A754E9
5.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A754E9#FFFFFF#000000##000000
##A754E91.004.135.095.09
#FFFFFF4.131.0021.0021.00
#0000005.0921.001.001.00
##0000005.0921.001.001.00

Color blindness preview

Protanopia (red-blind)
#007AEE
Deuteranopia (green-blind)
#327DE6
Tritanopia (blue-blind)
#9C7397
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #a754e9;
/* rgb */ color: rgb(167, 84, 233);
/* oklch */ color: oklch(61.5% 0.219 306.6);
Tailwind
colors: {
  custom: {
    50: '#c689f1',
    500: '#a754e9',
    950: '#000000',
  },
}
SCSS
$custom: #a754e9;
$custom-light: #c689f1;
$custom-dark: #000000;
JSON
{
  "hex": "#a754e9",
  "rgb": {
    "r": 167,
    "g": 84,
    "b": 233
  },
  "hsl": {
    "h": 273.423,
    "s": 77.202,
    "l": 62.157
  },
  "oklch": {
    "l": 0.61504,
    "c": 0.21902,
    "h": 306.6
  },
  "luminance": 0.20439
}

Semantic roles & 50–950 ramp

primary
#A754E9
secondary
#C9E8B1
accent
#D90C67
background
#FCF8FE
surface
#F9F0FD
border
#D2CBD5
text
#130C17
muted
#827D85

Preview Lab

Preview with #A754E9

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

Preview Lab → · Contrast checker → · Palette generator →

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