#A751C1#A751C1

#A751C1 is a mid, vivid purple. Relative luminance 0.180; OKLCH L 58.6% C 0.182 H 317.7°. Best body text is #000000 at 4.59:1 contrast (WCAG AA passes).

Color values

HEX#A751C1
RGBrgb(167, 81, 193)
HSLhsl(286, 47%, 54%)
HSVhsv(286, 58%, 76%)
CMYKcmyk(13.5%, 58%, 0%, 24.3%)
CIE-LABlab(49.44, 52.62, -43.91)
CIE-LCHlch(49.44, 68.53, 320.15°)
OKLaboklab(58.65% 0.1348 -0.1225)
OKLCHoklch(58.65% 0.182 317.7)
XYZxyz(28.5031, 17.9517, 52.4053)
Luminance0.1795 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A751C1 #6BC151
analogous
#6F51C1 #A751C1 #C151A3
triadic
#A751C1 #C1A751 #51C1A7
tetradic
#A751C1 #C16F51 #6BC151 #51A3C1
square
#A751C1 #C16F51 #6BC151 #51A3C1
split-complementary
#A751C1 #A3C151 #51C16F
monochromatic
#5F2870 #85389D #A751C1 #BE7ED1 #D5ABE1

Accessibility & contrast

On white

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

On black

4.59
#A751C1 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A751C1
4.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A751C1#FFFFFF#000000##000000
##A751C11.004.574.594.59
#FFFFFF4.571.0021.0021.00
#0000004.5921.001.001.00
##0000004.5921.001.001.00

Color blindness preview

Protanopia (red-blind)
#3570C5
Deuteranopia (green-blind)
#5578BE
Tritanopia (blue-blind)
#A66381
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #a751c1;
/* rgb */ color: rgb(167, 81, 193);
/* oklch */ color: oklch(58.6% 0.182 317.7);
Tailwind
colors: {
  custom: {
    50: '#c486d4',
    500: '#a751c1',
    950: '#000000',
  },
}
SCSS
$custom: #a751c1;
$custom-light: #c486d4;
$custom-dark: #000000;
JSON
{
  "hex": "#a751c1",
  "rgb": {
    "r": 167,
    "g": 81,
    "b": 193
  },
  "hsl": {
    "h": 286.071,
    "s": 47.458,
    "l": 53.725
  },
  "oklch": {
    "l": 0.58646,
    "c": 0.18218,
    "h": 317.7
  },
  "luminance": 0.17951
}

Semantic roles & 50–950 ramp

primary
#A751C1
secondary
#AACF9F
accent
#D75170
background
#FCF8FD
surface
#F8F0FA
border
#D1CBD3
text
#130B14
muted
#827C83

Preview Lab

Preview with #A751C1

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

Preview Lab → · Contrast checker → · Palette generator →

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