#A754D3#A754D3

#A754D3 is a mid, vivid violet. Relative luminance 0.193; OKLCH L 60.1% C 0.196 H 312.1°. Best body text is #000000 at 4.85:1 contrast (WCAG AA passes).

Color values

HEX#A754D3
RGBrgb(167, 84, 211)
HSLhsl(279, 59%, 58%)
HSVhsv(279, 60%, 83%)
CMYKcmyk(20.9%, 60.2%, 0%, 17.3%)
CIE-LABlab(50.99, 54.91, -51.78)
CIE-LCHlch(50.99, 75.47, 316.68°)
OKLaboklab(60.1% 0.1315 -0.1455)
OKLCHoklch(60.1% 0.196 312.1)
XYZxyz(30.8624, 19.2601, 63.7072)
Luminance0.1926 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A754D3 #80D354
analogous
#6854D3 #A754D3 #D354BF
triadic
#A754D3 #D3A754 #54D3A7
tetradic
#A754D3 #D36854 #80D354 #54BFD3
square
#A754D3 #D36854 #80D354 #54BFD3
split-complementary
#A754D3 #BFD354 #54D368
monochromatic
#662389 #8A30BA #A754D3 #C085E0 #D9B5EC

Accessibility & contrast

On white

4.33
#A754D3 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.85
#A754D3 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A754D3
4.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A754D3#FFFFFF#000000##000000
##A754D31.004.334.854.85
#FFFFFF4.331.0021.0021.00
#0000004.8521.001.001.00
##0000004.8521.001.001.00

Color blindness preview

Protanopia (red-blind)
#2575D7
Deuteranopia (green-blind)
#4B7BD0
Tritanopia (blue-blind)
#A26B8C
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #a754d3;
/* rgb */ color: rgb(167, 84, 211);
/* oklch */ color: oklch(60.1% 0.196 312.1);
Tailwind
colors: {
  custom: {
    50: '#c488e1',
    500: '#a754d3',
    950: '#000000',
  },
}
SCSS
$custom: #a754d3;
$custom-light: #c488e1;
$custom-dark: #000000;
JSON
{
  "hex": "#a754d3",
  "rgb": {
    "r": 167,
    "g": 84,
    "b": 211
  },
  "hsl": {
    "h": 279.213,
    "s": 59.07,
    "l": 57.843
  },
  "oklch": {
    "l": 0.60104,
    "c": 0.19612,
    "h": 312.1
  },
  "luminance": 0.19259
}

Semantic roles & 50–950 ramp

primary
#A754D3
secondary
#BADBA8
accent
#E2467C
background
#FCF8FD
surface
#F8F0FB
border
#D1CBD4
text
#130C15
muted
#827D83

Preview Lab

Preview with #A754D3

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

Preview Lab → · Contrast checker → · Palette generator →

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