#A751CC#A751CC

#A751CC is a mid, vivid purple. Relative luminance 0.185; OKLCH L 59.3% C 0.193 H 314.4°. Best body text is #000000 at 4.69:1 contrast (WCAG AA passes).

Color values

HEX#A751CC
RGBrgb(167, 81, 204)
HSLhsl(282, 55%, 56%)
HSVhsv(282, 60%, 80%)
CMYKcmyk(18.1%, 60.3%, 0%, 20%)
CIE-LABlab(50.05, 54.88, -49.27)
CIE-LCHlch(50.05, 73.76, 318.08°)
OKLaboklab(59.29% 0.1351 -0.1382)
OKLCHoklch(59.29% 0.193 314.4)
XYZxyz(29.7761, 18.4609, 59.1098)
Luminance0.1846 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A751CC #76CC51
analogous
#6951CC #A751CC #CC51B4
triadic
#A751CC #CCA751 #51CCA7
tetradic
#A751CC #CC6951 #76CC51 #51B4CC
square
#A751CC #CC6951 #76CC51 #51B4CC
split-complementary
#A751CC #B4CC51 #51CC69
monochromatic
#63257E #8833AD #A751CC #BF80DA #D7B0E8

Accessibility & contrast

On white

4.48
#A751CC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.69
#A751CC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A751CC
4.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A751CC#FFFFFF#000000##000000
##A751CC1.004.484.694.69
#FFFFFF4.481.0021.0021.00
#0000004.6921.001.001.00
##0000004.6921.001.001.00

Color blindness preview

Protanopia (red-blind)
#2972D0
Deuteranopia (green-blind)
#4D79C9
Tritanopia (blue-blind)
#A46787
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #a751cc;
/* rgb */ color: rgb(167, 81, 204);
/* oklch */ color: oklch(59.3% 0.193 314.4);
Tailwind
colors: {
  custom: {
    50: '#c486dc',
    500: '#a751cc',
    950: '#000000',
  },
}
SCSS
$custom: #a751cc;
$custom-light: #c486dc;
$custom-dark: #000000;
JSON
{
  "hex": "#a751cc",
  "rgb": {
    "r": 167,
    "g": 81,
    "b": 204
  },
  "hsl": {
    "h": 281.951,
    "s": 54.667,
    "l": 55.882
  },
  "oklch": {
    "l": 0.59291,
    "c": 0.19327,
    "h": 314.4
  },
  "luminance": 0.1846
}

Semantic roles & 50–950 ramp

primary
#A751CC
secondary
#B2D6A3
accent
#DE4A76
background
#FCF8FD
surface
#F8F0FB
border
#D1CBD4
text
#130B15
muted
#827C83

Preview Lab

Preview with #A751CC

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

Preview Lab → · Contrast checker → · Palette generator →

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