#A754D1#A754D1

#A754D1 is a mid, vivid violet. Relative luminance 0.192; OKLCH L 60.0% C 0.194 H 312.7°. Best body text is #000000 at 4.83:1 contrast (WCAG AA passes).

Color values

HEX#A754D1
RGBrgb(167, 84, 209)
HSLhsl(280, 58%, 57%)
HSVhsv(280, 60%, 82%)
CMYKcmyk(20.1%, 59.8%, 0%, 18%)
CIE-LABlab(50.87, 54.49, -50.82)
CIE-LCHlch(50.87, 74.51, 316.99°)
OKLaboklab(59.98% 0.1315 -0.1427)
OKLCHoklch(59.98% 0.194 312.7)
XYZxyz(30.6133, 19.1604, 62.3949)
Luminance0.1916 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A754D1 #7ED154
analogous
#6854D1 #A754D1 #D154BD
triadic
#A754D1 #D1A754 #54D1A7
tetradic
#A754D1 #D16854 #7ED154 #54BDD1
square
#A754D1 #D16854 #7ED154 #54BDD1
split-complementary
#A754D1 #BDD154 #54D168
monochromatic
#652486 #8A31B7 #A754D1 #C084DE #D9B4EB

Accessibility & contrast

On white

4.35
#A754D1 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.83
#A754D1 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A754D1
4.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A754D1#FFFFFF#000000##000000
##A754D11.004.354.834.83
#FFFFFF4.351.0021.0021.00
#0000004.8321.001.001.00
##0000004.8321.001.001.00

Color blindness preview

Protanopia (red-blind)
#2875D5
Deuteranopia (green-blind)
#4C7BCE
Tritanopia (blue-blind)
#A36B8B
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #a754d1;
/* rgb */ color: rgb(167, 84, 209);
/* oklch */ color: oklch(60.0% 0.194 312.7);
Tailwind
colors: {
  custom: {
    50: '#c488e0',
    500: '#a754d1',
    950: '#000000',
  },
}
SCSS
$custom: #a754d1;
$custom-light: #c488e0;
$custom-dark: #000000;
JSON
{
  "hex": "#a754d1",
  "rgb": {
    "r": 167,
    "g": 84,
    "b": 209
  },
  "hsl": {
    "h": 279.84,
    "s": 57.604,
    "l": 57.451
  },
  "oklch": {
    "l": 0.59983,
    "c": 0.19404,
    "h": 312.7
  },
  "luminance": 0.1916
}

Semantic roles & 50–950 ramp

primary
#A754D1
secondary
#B8DAA7
accent
#E1477B
background
#FCF8FD
surface
#F8F0FB
border
#D1CBD4
text
#130C15
muted
#827D83

Preview Lab

Preview with #A754D1

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

Preview Lab → · Contrast checker → · Palette generator →

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