#A754DF#A754DF

#A754DF is a mid, highly saturated violet. Relative luminance 0.199; OKLCH L 60.9% C 0.209 H 309.0°. Best body text is #000000 at 4.98:1 contrast (WCAG AA passes).

Color values

HEX#A754DF
RGBrgb(167, 84, 223)
HSLhsl(276, 68%, 60%)
HSVhsv(276, 62%, 87%)
CMYKcmyk(25.1%, 62.3%, 0%, 12.5%)
CIE-LABlab(51.71, 57.53, -57.45)
CIE-LCHlch(51.71, 81.30, 315.04°)
OKLaboklab(60.85% 0.1313 -0.1621)
OKLCHoklch(60.85% 0.209 309)
XYZxyz(32.4233, 19.8844, 71.9278)
Luminance0.1988 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A754DF #8CDF54
analogous
#6154DF #A754DF #DF54D2
triadic
#A754DF #DFA754 #54DFA7
tetradic
#A754DF #DF6154 #8CDF54 #54D2DF
square
#A754DF #DF6154 #8CDF54 #54D2DF
split-complementary
#A754DF #D2DF54 #54DF61
monochromatic
#691D9C #8B27CF #A754DF #C288E9 #DCBBF2

Accessibility & contrast

On white

4.22
#A754DF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.98
#A754DF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A754DF
4.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A754DF#FFFFFF#000000##000000
##A754DF1.004.224.984.98
#FFFFFF4.221.0021.0021.00
#0000004.9821.001.001.00
##0000004.9821.001.001.00

Color blindness preview

Protanopia (red-blind)
#0378E3
Deuteranopia (green-blind)
#3F7CDC
Tritanopia (blue-blind)
#9F7092
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #a754df;
/* rgb */ color: rgb(167, 84, 223);
/* oklch */ color: oklch(60.9% 0.209 309.0);
Tailwind
colors: {
  custom: {
    50: '#c589ea',
    500: '#a754df',
    950: '#000000',
  },
}
SCSS
$custom: #a754df;
$custom-light: #c589ea;
$custom-dark: #000000;
JSON
{
  "hex": "#a754df",
  "rgb": {
    "r": 167,
    "g": 84,
    "b": 223
  },
  "hsl": {
    "h": 275.827,
    "s": 68.473,
    "l": 60.196
  },
  "oklch": {
    "l": 0.60854,
    "c": 0.2086,
    "h": 309
  },
  "luminance": 0.19884
}

Semantic roles & 50–950 ramp

primary
#A754DF
secondary
#C2E2AD
accent
#D01561
background
#FCF8FE
surface
#F8F0FD
border
#D1CBD5
text
#130C16
muted
#827D84

Preview Lab

Preview with #A754DF

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

Preview Lab → · Contrast checker → · Palette generator →

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