#A754D9#A754D9

#A754D9 is a mid, highly saturated violet. Relative luminance 0.196; OKLCH L 60.5% C 0.202 H 310.5°. Best body text is #000000 at 4.91:1 contrast (WCAG AA passes).

Color values

HEX#A754D9
RGBrgb(167, 84, 217)
HSLhsl(277, 64%, 59%)
HSVhsv(277, 61%, 85%)
CMYKcmyk(23%, 61.3%, 0%, 14.9%)
CIE-LABlab(51.34, 56.21, -54.63)
CIE-LCHlch(51.34, 78.38, 315.82°)
OKLaboklab(60.48% 0.1314 -0.1539)
OKLCHoklch(60.48% 0.202 310.5)
XYZxyz(31.6287, 19.5666, 67.7427)
Luminance0.1957 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A754D9 #86D954
analogous
#6554D9 #A754D9 #D954C8
triadic
#A754D9 #D9A754 #54D9A7
tetradic
#A754D9 #D96554 #86D954 #54C8D9
square
#A754D9 #D96554 #86D954 #54C8D9
split-complementary
#A754D9 #C8D954 #54D965
monochromatic
#672092 #8B2CC4 #A754D9 #C186E4 #DBB8EF

Accessibility & contrast

On white

4.27
#A754D9 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.91
#A754D9 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A754D9
4.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A754D9#FFFFFF#000000##000000
##A754D91.004.274.914.91
#FFFFFF4.271.0021.0021.00
#0000004.9121.001.001.00
##0000004.9121.001.001.00

Color blindness preview

Protanopia (red-blind)
#1976DD
Deuteranopia (green-blind)
#457CD6
Tritanopia (blue-blind)
#A16E8F
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #a754d9;
/* rgb */ color: rgb(167, 84, 217);
/* oklch */ color: oklch(60.5% 0.202 310.5);
Tailwind
colors: {
  custom: {
    50: '#c589e5',
    500: '#a754d9',
    950: '#000000',
  },
}
SCSS
$custom: #a754d9;
$custom-light: #c589e5;
$custom-dark: #000000;
JSON
{
  "hex": "#a754d9",
  "rgb": {
    "r": 167,
    "g": 84,
    "b": 217
  },
  "hsl": {
    "h": 277.444,
    "s": 63.636,
    "l": 59.02
  },
  "oklch": {
    "l": 0.60475,
    "c": 0.20235,
    "h": 310.5
  },
  "luminance": 0.19566
}

Semantic roles & 50–950 ramp

primary
#A754D9
secondary
#BEDFAA
accent
#E7417F
background
#FCF8FE
surface
#F8F0FC
border
#D1CBD5
text
#130C16
muted
#827D84

Preview Lab

Preview with #A754D9

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

Preview Lab → · Contrast checker → · Palette generator →

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