#A751CF#A751CF

#A751CF is a mid, vivid purple. Relative luminance 0.186; OKLCH L 59.5% C 0.196 H 313.5°. Best body text is #000000 at 4.72:1 contrast (WCAG AA passes).

Color values

HEX#A751CF
RGBrgb(167, 81, 207)
HSLhsl(281, 57%, 56%)
HSVhsv(281, 61%, 81%)
CMYKcmyk(19.3%, 60.9%, 0%, 18.8%)
CIE-LABlab(50.22, 55.51, -50.72)
CIE-LCHlch(50.22, 75.19, 317.59°)
OKLaboklab(59.47% 0.1352 -0.1424)
OKLCHoklch(59.47% 0.196 313.5)
XYZxyz(30.1393, 18.6062, 61.0231)
Luminance0.1860 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A751CF #79CF51
analogous
#6851CF #A751CF #CF51B8
triadic
#A751CF #CFA751 #51CFA7
tetradic
#A751CF #CF6851 #79CF51 #51B8CF
square
#A751CF #CF6851 #79CF51 #51B8CF
split-complementary
#A751CF #B8CF51 #51CF68
monochromatic
#642482 #8931B2 #A751CF #BF81DC #D8B1E9

Accessibility & contrast

On white

4.45
#A751CF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.72
#A751CF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A751CF
4.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A751CF#FFFFFF#000000##000000
##A751CF1.004.454.724.72
#FFFFFF4.451.0021.0021.00
#0000004.7221.001.001.00
##0000004.7221.001.001.00

Color blindness preview

Protanopia (red-blind)
#2473D3
Deuteranopia (green-blind)
#4B7ACC
Tritanopia (blue-blind)
#A36889
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #a751cf;
/* rgb */ color: rgb(167, 81, 207);
/* oklch */ color: oklch(59.5% 0.196 313.5);
Tailwind
colors: {
  custom: {
    50: '#c486de',
    500: '#a751cf',
    950: '#000000',
  },
}
SCSS
$custom: #a751cf;
$custom-light: #c486de;
$custom-dark: #000000;
JSON
{
  "hex": "#a751cf",
  "rgb": {
    "r": 167,
    "g": 81,
    "b": 207
  },
  "hsl": {
    "h": 280.952,
    "s": 56.757,
    "l": 56.471
  },
  "oklch": {
    "l": 0.59472,
    "c": 0.19632,
    "h": 313.5
  },
  "luminance": 0.18605
}

Semantic roles & 50–950 ramp

primary
#A751CF
secondary
#B4D8A4
accent
#E04878
background
#FCF8FD
surface
#F8F0FB
border
#D1CBD4
text
#130C15
muted
#827D83

Preview Lab

Preview with #A751CF

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

Preview Lab → · Contrast checker → · Palette generator →

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