#A751D0#A751D0

#A751D0 is a mid, vivid purple. Relative luminance 0.187; OKLCH L 59.5% C 0.197 H 313.2°. Best body text is #000000 at 4.73:1 contrast (WCAG AA passes).

Color values

HEX#A751D0
RGBrgb(167, 81, 208)
HSLhsl(281, 57%, 57%)
HSVhsv(281, 61%, 82%)
CMYKcmyk(19.7%, 61.1%, 0%, 18.4%)
CIE-LABlab(50.28, 55.72, -51.20)
CIE-LCHlch(50.28, 75.67, 317.43°)
OKLaboklab(59.53% 0.1352 -0.1438)
OKLCHoklch(59.53% 0.197 313.2)
XYZxyz(30.2620, 18.6553, 61.6690)
Luminance0.1865 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A751D0 #7AD051
analogous
#6851D0 #A751D0 #D051BA
triadic
#A751D0 #D0A751 #51D0A7
tetradic
#A751D0 #D06851 #7AD051 #51BAD0
square
#A751D0 #D06851 #7AD051 #51BAD0
split-complementary
#A751D0 #BAD051 #51D068
monochromatic
#642383 #8930B3 #A751D0 #BF81DD #D8B1EA

Accessibility & contrast

On white

4.44
#A751D0 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.73
#A751D0 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A751D0
4.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A751D0#FFFFFF#000000##000000
##A751D01.004.444.734.73
#FFFFFF4.441.0021.0021.00
#0000004.7321.001.001.00
##0000004.7321.001.001.00

Color blindness preview

Protanopia (red-blind)
#2273D4
Deuteranopia (green-blind)
#4A7ACD
Tritanopia (blue-blind)
#A36889
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #a751d0;
/* rgb */ color: rgb(167, 81, 208);
/* oklch */ color: oklch(59.5% 0.197 313.2);
Tailwind
colors: {
  custom: {
    50: '#c487df',
    500: '#a751d0',
    950: '#000000',
  },
}
SCSS
$custom: #a751d0;
$custom-light: #c487df;
$custom-dark: #000000;
JSON
{
  "hex": "#a751d0",
  "rgb": {
    "r": 167,
    "g": 81,
    "b": 208
  },
  "hsl": {
    "h": 280.63,
    "s": 57.466,
    "l": 56.667
  },
  "oklch": {
    "l": 0.59533,
    "c": 0.19734,
    "h": 313.2
  },
  "luminance": 0.18654
}

Semantic roles & 50–950 ramp

primary
#A751D0
secondary
#B5D8A4
accent
#E14779
background
#FCF8FD
surface
#F8F0FB
border
#D1CBD4
text
#130C15
muted
#827D83

Preview Lab

Preview with #A751D0

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

Preview Lab → · Contrast checker → · Palette generator →

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