#A751C4#A751C4

#A751C4 is a mid, vivid purple. Relative luminance 0.181; OKLCH L 58.8% C 0.185 H 316.8°. Best body text is #000000 at 4.62:1 contrast (WCAG AA passes).

Color values

HEX#A751C4
RGBrgb(167, 81, 196)
HSLhsl(285, 49%, 54%)
HSVhsv(285, 59%, 77%)
CMYKcmyk(14.8%, 58.7%, 0%, 23.1%)
CIE-LABlab(49.60, 53.23, -45.39)
CIE-LCHlch(49.60, 69.95, 319.55°)
OKLaboklab(58.82% 0.1349 -0.1268)
OKLCHoklch(58.82% 0.185 316.8)
XYZxyz(28.8411, 18.0869, 54.1857)
Luminance0.1809 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A751C4 #6EC451
analogous
#6E51C4 #A751C4 #C451A7
triadic
#A751C4 #C4A751 #51C4A7
tetradic
#A751C4 #C46E51 #6EC451 #51A7C4
square
#A751C4 #C46E51 #6EC451 #51A7C4
split-complementary
#A751C4 #A7C451 #51C46E
monochromatic
#602773 #8637A1 #A751C4 #BE7FD3 #D5ACE3

Accessibility & contrast

On white

4.55
#A751C4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.62
#A751C4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A751C4
4.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A751C4#FFFFFF#000000##000000
##A751C41.004.554.624.62
#FFFFFF4.551.0021.0021.00
#0000004.6221.001.001.00
##0000004.6221.001.001.00

Color blindness preview

Protanopia (red-blind)
#3271C8
Deuteranopia (green-blind)
#5379C1
Tritanopia (blue-blind)
#A66483
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #a751c4;
/* rgb */ color: rgb(167, 81, 196);
/* oklch */ color: oklch(58.8% 0.185 316.8);
Tailwind
colors: {
  custom: {
    50: '#c486d6',
    500: '#a751c4',
    950: '#000000',
  },
}
SCSS
$custom: #a751c4;
$custom-light: #c486d6;
$custom-dark: #000000;
JSON
{
  "hex": "#a751c4",
  "rgb": {
    "r": 167,
    "g": 81,
    "b": 196
  },
  "hsl": {
    "h": 284.87,
    "s": 49.356,
    "l": 54.314
  },
  "oklch": {
    "l": 0.58819,
    "c": 0.18519,
    "h": 316.8
  },
  "luminance": 0.18086
}

Semantic roles & 50–950 ramp

primary
#A751C4
secondary
#ACD1A0
accent
#D94F72
background
#FCF8FD
surface
#F8F0FA
border
#D1CBD3
text
#130B14
muted
#827C83

Preview Lab

Preview with #A751C4

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

Preview Lab → · Contrast checker → · Palette generator →

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