#A754D7#A754D7

#A754D7 is a mid, highly saturated violet. Relative luminance 0.195; OKLCH L 60.4% C 0.200 H 311.0°. Best body text is #000000 at 4.89:1 contrast (WCAG AA passes).

Color values

HEX#A754D7
RGBrgb(167, 84, 215)
HSLhsl(278, 62%, 59%)
HSVhsv(278, 61%, 84%)
CMYKcmyk(22.3%, 60.9%, 0%, 15.7%)
CIE-LABlab(51.22, 55.78, -53.68)
CIE-LCHlch(51.22, 77.41, 316.10°)
OKLaboklab(60.35% 0.1315 -0.1511)
OKLCHoklch(60.35% 0.2 311)
XYZxyz(31.3701, 19.4631, 66.3810)
Luminance0.1946 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A754D7 #84D754
analogous
#6554D7 #A754D7 #D754C5
triadic
#A754D7 #D7A754 #54D7A7
tetradic
#A754D7 #D76554 #84D754 #54C5D7
square
#A754D7 #D76554 #84D754 #54C5D7
split-complementary
#A754D7 #C5D754 #54D765
monochromatic
#67218F #8B2DC1 #A754D7 #C186E3 #DAB7EE

Accessibility & contrast

On white

4.29
#A754D7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.89
#A754D7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A754D7
4.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A754D7#FFFFFF#000000##000000
##A754D71.004.294.894.89
#FFFFFF4.291.0021.0021.00
#0000004.8921.001.001.00
##0000004.8921.001.001.00

Color blindness preview

Protanopia (red-blind)
#1E76DB
Deuteranopia (green-blind)
#477CD4
Tritanopia (blue-blind)
#A16D8E
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #a754d7;
/* rgb */ color: rgb(167, 84, 215);
/* oklch */ color: oklch(60.4% 0.200 311.0);
Tailwind
colors: {
  custom: {
    50: '#c588e4',
    500: '#a754d7',
    950: '#000000',
  },
}
SCSS
$custom: #a754d7;
$custom-light: #c588e4;
$custom-dark: #000000;
JSON
{
  "hex": "#a754d7",
  "rgb": {
    "r": 167,
    "g": 84,
    "b": 215
  },
  "hsl": {
    "h": 278.015,
    "s": 62.085,
    "l": 58.627
  },
  "oklch": {
    "l": 0.6035,
    "c": 0.20027,
    "h": 311
  },
  "luminance": 0.19462
}

Semantic roles & 50–950 ramp

primary
#A754D7
secondary
#BCDDA9
accent
#E5437E
background
#FCF8FE
surface
#F8F0FC
border
#D1CBD5
text
#130C16
muted
#827D84

Preview Lab

Preview with #A754D7

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

Preview Lab → · Contrast checker → · Palette generator →

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