#A751CE#A751CE

#A751CE is a mid, vivid purple. Relative luminance 0.186; OKLCH L 59.4% C 0.195 H 313.8°. Best body text is #000000 at 4.71:1 contrast (WCAG AA passes).

Color values

HEX#A751CE
RGBrgb(167, 81, 206)
HSLhsl(281, 56%, 56%)
HSVhsv(281, 61%, 81%)
CMYKcmyk(18.9%, 60.7%, 0%, 19.2%)
CIE-LABlab(50.17, 55.30, -50.24)
CIE-LCHlch(50.17, 74.71, 317.75°)
OKLaboklab(59.41% 0.1352 -0.141)
OKLCHoklch(59.41% 0.195 313.8)
XYZxyz(30.0175, 18.5575, 60.3813)
Luminance0.1856 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A751CE #78CE51
analogous
#6951CE #A751CE #CE51B7
triadic
#A751CE #CEA751 #51CEA7
tetradic
#A751CE #CE6951 #78CE51 #51B7CE
square
#A751CE #CE6951 #78CE51 #51B7CE
split-complementary
#A751CE #B7CE51 #51CE69
monochromatic
#642480 #8932B0 #A751CE #BF81DB #D7B1E9

Accessibility & contrast

On white

4.46
#A751CE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.71
#A751CE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A751CE
4.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A751CE#FFFFFF#000000##000000
##A751CE1.004.464.714.71
#FFFFFF4.461.0021.0021.00
#0000004.7121.001.001.00
##0000004.7121.001.001.00

Color blindness preview

Protanopia (red-blind)
#2673D2
Deuteranopia (green-blind)
#4C79CB
Tritanopia (blue-blind)
#A36888
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #a751ce;
/* rgb */ color: rgb(167, 81, 206);
/* oklch */ color: oklch(59.4% 0.195 313.8);
Tailwind
colors: {
  custom: {
    50: '#c486dd',
    500: '#a751ce',
    950: '#000000',
  },
}
SCSS
$custom: #a751ce;
$custom-light: #c486dd;
$custom-dark: #000000;
JSON
{
  "hex": "#a751ce",
  "rgb": {
    "r": 167,
    "g": 81,
    "b": 206
  },
  "hsl": {
    "h": 281.28,
    "s": 56.054,
    "l": 56.275
  },
  "oklch": {
    "l": 0.59412,
    "c": 0.1953,
    "h": 313.8
  },
  "luminance": 0.18557
}

Semantic roles & 50–950 ramp

primary
#A751CE
secondary
#B4D7A4
accent
#DF4878
background
#FCF8FD
surface
#F8F0FB
border
#D1CBD4
text
#130C15
muted
#827D83

Preview Lab

Preview with #A751CE

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

Preview Lab → · Contrast checker → · Palette generator →

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