#A754DE#A754DE

#A754DE is a mid, highly saturated violet. Relative luminance 0.198; OKLCH L 60.8% C 0.208 H 309.2°. Best body text is #000000 at 4.97:1 contrast (WCAG AA passes).

Color values

HEX#A754DE
RGBrgb(167, 84, 222)
HSLhsl(276, 68%, 60%)
HSVhsv(276, 62%, 87%)
CMYKcmyk(24.8%, 62.2%, 0%, 12.9%)
CIE-LABlab(51.65, 57.31, -56.98)
CIE-LCHlch(51.65, 80.81, 315.16°)
OKLaboklab(60.79% 0.1313 -0.1608)
OKLCHoklch(60.79% 0.208 309.2)
XYZxyz(32.2889, 19.8306, 71.2198)
Luminance0.1983 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A754DE #8BDE54
analogous
#6254DE #A754DE #DE54D0
triadic
#A754DE #DEA754 #54DEA7
tetradic
#A754DE #DE6254 #8BDE54 #54D0DE
square
#A754DE #DE6254 #8BDE54 #54D0DE
split-complementary
#A754DE #D0DE54 #54DE62
monochromatic
#681E9A #8B28CD #A754DE #C187E8 #DCBBF2

Accessibility & contrast

On white

4.23
#A754DE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.97
#A754DE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A754DE
4.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A754DE#FFFFFF#000000##000000
##A754DE1.004.234.974.97
#FFFFFF4.231.0021.0021.00
#0000004.9721.001.001.00
##0000004.9721.001.001.00

Color blindness preview

Protanopia (red-blind)
#0878E2
Deuteranopia (green-blind)
#407CDB
Tritanopia (blue-blind)
#9F6F91
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #a754de;
/* rgb */ color: rgb(167, 84, 222);
/* oklch */ color: oklch(60.8% 0.208 309.2);
Tailwind
colors: {
  custom: {
    50: '#c589e9',
    500: '#a754de',
    950: '#000000',
  },
}
SCSS
$custom: #a754de;
$custom-light: #c589e9;
$custom-dark: #000000;
JSON
{
  "hex": "#a754de",
  "rgb": {
    "r": 167,
    "g": 84,
    "b": 222
  },
  "hsl": {
    "h": 276.087,
    "s": 67.647,
    "l": 60
  },
  "oklch": {
    "l": 0.6079,
    "c": 0.20756,
    "h": 309.2
  },
  "luminance": 0.1983
}

Semantic roles & 50–950 ramp

primary
#A754DE
secondary
#C2E1AC
accent
#EB3D82
background
#FCF8FE
surface
#F8F0FD
border
#D1CBD5
text
#130C16
muted
#827D84

Preview Lab

Preview with #A754DE

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

Preview Lab → · Contrast checker → · Palette generator →

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