#A751C2#A751C2

#A751C2 is a mid, vivid purple. Relative luminance 0.180; OKLCH L 58.7% C 0.183 H 317.4°. Best body text is #000000 at 4.60:1 contrast (WCAG AA passes).

Color values

HEX#A751C2
RGBrgb(167, 81, 194)
HSLhsl(286, 48%, 54%)
HSVhsv(286, 58%, 76%)
CMYKcmyk(13.9%, 58.2%, 0%, 23.9%)
CIE-LABlab(49.49, 52.82, -44.40)
CIE-LCHlch(49.49, 69.00, 319.95°)
OKLaboklab(58.7% 0.1349 -0.124)
OKLCHoklch(58.7% 0.183 317.4)
XYZxyz(28.6150, 17.9965, 52.9948)
Luminance0.1799 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A751C2 #6CC251
analogous
#6F51C2 #A751C2 #C251A5
triadic
#A751C2 #C2A751 #51C2A7
tetradic
#A751C2 #C26F51 #6CC251 #51A5C2
square
#A751C2 #C26F51 #6CC251 #51A5C2
split-complementary
#A751C2 #A5C251 #51C26F
monochromatic
#5F2871 #86379E #A751C2 #BE7ED2 #D5ACE2

Accessibility & contrast

On white

4.57
#A751C2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.60
#A751C2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A751C2
4.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A751C2#FFFFFF#000000##000000
##A751C21.004.574.604.60
#FFFFFF4.571.0021.0021.00
#0000004.6021.001.001.00
##0000004.6021.001.001.00

Color blindness preview

Protanopia (red-blind)
#3470C6
Deuteranopia (green-blind)
#5578BF
Tritanopia (blue-blind)
#A66382
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #a751c2;
/* rgb */ color: rgb(167, 81, 194);
/* oklch */ color: oklch(58.7% 0.183 317.4);
Tailwind
colors: {
  custom: {
    50: '#c486d5',
    500: '#a751c2',
    950: '#000000',
  },
}
SCSS
$custom: #a751c2;
$custom-light: #c486d5;
$custom-dark: #000000;
JSON
{
  "hex": "#a751c2",
  "rgb": {
    "r": 167,
    "g": 81,
    "b": 194
  },
  "hsl": {
    "h": 285.664,
    "s": 48.085,
    "l": 53.922
  },
  "oklch": {
    "l": 0.58704,
    "c": 0.18318,
    "h": 317.4
  },
  "luminance": 0.17995
}

Semantic roles & 50–950 ramp

primary
#A751C2
secondary
#ABD09F
accent
#D85071
background
#FCF8FD
surface
#F8F0FA
border
#D1CBD3
text
#130B14
muted
#827C83

Preview Lab

Preview with #A751C2

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

Preview Lab → · Contrast checker → · Palette generator →

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