#A751C0#A751C0

#A751C0 is a mid, vivid purple. Relative luminance 0.179; OKLCH L 58.6% C 0.181 H 318.1°. Best body text is #000000 at 4.58:1 contrast (WCAG AA passes).

Color values

HEX#A751C0
RGBrgb(167, 81, 192)
HSLhsl(286, 47%, 54%)
HSVhsv(286, 58%, 75%)
CMYKcmyk(13%, 57.8%, 0%, 24.7%)
CIE-LABlab(49.38, 52.41, -43.42)
CIE-LCHlch(49.38, 68.06, 320.36°)
OKLaboklab(58.59% 0.1348 -0.1211)
OKLCHoklch(58.59% 0.181 318.1)
XYZxyz(28.3919, 17.9072, 51.8198)
Luminance0.1791 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A751C0 #6AC051
analogous
#6F51C0 #A751C0 #C051A1
triadic
#A751C0 #C0A751 #51C0A7
tetradic
#A751C0 #C06F51 #6AC051 #51A1C0
square
#A751C0 #C06F51 #6AC051 #51A1C0
split-complementary
#A751C0 #A1C051 #51C06F
monochromatic
#5F286F #85389B #A751C0 #BE7ED0 #D4ABE1

Accessibility & contrast

On white

4.58
#A751C0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.58
#A751C0 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A751C0
4.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A751C0#FFFFFF#000000##000000
##A751C01.004.584.584.58
#FFFFFF4.581.0021.0021.00
#0000004.5821.001.001.00
##0000004.5821.001.001.00

Color blindness preview

Protanopia (red-blind)
#3670C4
Deuteranopia (green-blind)
#5678BD
Tritanopia (blue-blind)
#A76381
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #a751c0;
/* rgb */ color: rgb(167, 81, 192);
/* oklch */ color: oklch(58.6% 0.181 318.1);
Tailwind
colors: {
  custom: {
    50: '#c486d3',
    500: '#a751c0',
    950: '#000000',
  },
}
SCSS
$custom: #a751c0;
$custom-light: #c486d3;
$custom-dark: #000000;
JSON
{
  "hex": "#a751c0",
  "rgb": {
    "r": 167,
    "g": 81,
    "b": 192
  },
  "hsl": {
    "h": 286.486,
    "s": 46.835,
    "l": 53.529
  },
  "oklch": {
    "l": 0.58589,
    "c": 0.18118,
    "h": 318.1
  },
  "luminance": 0.17906
}

Semantic roles & 50–950 ramp

primary
#A751C0
secondary
#A9CE9F
accent
#D6516F
background
#FCF8FD
surface
#F8F0FA
border
#D1CBD3
text
#130B14
muted
#827C83

Preview Lab

Preview with #A751C0

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

Preview Lab → · Contrast checker → · Palette generator →

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