#A754D2#A754D2

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

Color values

HEX#A754D2
RGBrgb(167, 84, 210)
HSLhsl(280, 58%, 58%)
HSVhsv(280, 60%, 82%)
CMYKcmyk(20.5%, 60%, 0%, 17.6%)
CIE-LABlab(50.93, 54.70, -51.30)
CIE-LCHlch(50.93, 74.99, 316.84°)
OKLaboklab(60.04% 0.1315 -0.1441)
OKLCHoklch(60.04% 0.195 312.4)
XYZxyz(30.7375, 19.2101, 63.0490)
Luminance0.1921 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A754D2 #7FD254
analogous
#6854D2 #A754D2 #D254BE
triadic
#A754D2 #D2A754 #54D2A7
tetradic
#A754D2 #D26854 #7FD254 #54BED2
square
#A754D2 #D26854 #7FD254 #54BED2
split-complementary
#A754D2 #BED254 #54D268
monochromatic
#662488 #8A31B8 #A754D2 #C084DF #D9B5EB

Accessibility & contrast

On white

4.34
#A754D2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.84
#A754D2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A754D2
4.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A754D2#FFFFFF#000000##000000
##A754D21.004.344.844.84
#FFFFFF4.341.0021.0021.00
#0000004.8421.001.001.00
##0000004.8421.001.001.00

Color blindness preview

Protanopia (red-blind)
#2775D6
Deuteranopia (green-blind)
#4C7BCF
Tritanopia (blue-blind)
#A26B8B
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #a754d2;
/* rgb */ color: rgb(167, 84, 210);
/* oklch */ color: oklch(60.0% 0.195 312.4);
Tailwind
colors: {
  custom: {
    50: '#c488e0',
    500: '#a754d2',
    950: '#000000',
  },
}
SCSS
$custom: #a754d2;
$custom-light: #c488e0;
$custom-dark: #000000;
JSON
{
  "hex": "#a754d2",
  "rgb": {
    "r": 167,
    "g": 84,
    "b": 210
  },
  "hsl": {
    "h": 279.524,
    "s": 58.333,
    "l": 57.647
  },
  "oklch": {
    "l": 0.60043,
    "c": 0.19509,
    "h": 312.4
  },
  "luminance": 0.19209
}

Semantic roles & 50–950 ramp

primary
#A754D2
secondary
#B9DAA8
accent
#E2467B
background
#FCF8FD
surface
#F8F0FB
border
#D1CBD4
text
#130C15
muted
#827D83

Preview Lab

Preview with #A754D2

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

Preview Lab → · Contrast checker → · Palette generator →

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