#A751DD#A751DD

#A751DD is a mid, highly saturated violet. Relative luminance 0.193; OKLCH L 60.3% C 0.211 H 309.8°. Best body text is #000000 at 4.86:1 contrast (WCAG AA passes).

Color values

HEX#A751DD
RGBrgb(167, 81, 221)
HSLhsl(277, 67%, 59%)
HSVhsv(277, 63%, 87%)
CMYKcmyk(24.4%, 63.3%, 0%, 13.3%)
CIE-LABlab(51.06, 58.52, -57.35)
CIE-LCHlch(51.06, 81.94, 315.58°)
OKLaboklab(60.35% 0.1348 -0.1618)
OKLCHoklch(60.35% 0.211 309.8)
XYZxyz(31.9274, 19.3214, 70.4401)
Luminance0.1932 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A751DD #87DD51
analogous
#6151DD #A751DD #DD51CD
triadic
#A751DD #DDA751 #51DDA7
tetradic
#A751DD #DD6151 #87DD51 #51CDDD
square
#A751DD #DD6151 #87DD51 #51CDDD
split-complementary
#A751DD #CDDD51 #51DD61
monochromatic
#681D96 #8B27C9 #A751DD #C184E7 #DBB7F1

Accessibility & contrast

On white

4.32
#A751DD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.86
#A751DD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A751DD
4.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A751DD#FFFFFF#000000##000000
##A751DD1.004.324.864.86
#FFFFFF4.321.0021.0021.00
#0000004.8621.001.001.00
##0000004.8621.001.001.00

Color blindness preview

Protanopia (red-blind)
#0076E1
Deuteranopia (green-blind)
#3E7BDA
Tritanopia (blue-blind)
#A06D90
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #a751dd;
/* rgb */ color: rgb(167, 81, 221);
/* oklch */ color: oklch(60.3% 0.211 309.8);
Tailwind
colors: {
  custom: {
    50: '#c587e8',
    500: '#a751dd',
    950: '#000000',
  },
}
SCSS
$custom: #a751dd;
$custom-light: #c587e8;
$custom-dark: #000000;
JSON
{
  "hex": "#a751dd",
  "rgb": {
    "r": 167,
    "g": 81,
    "b": 221
  },
  "hsl": {
    "h": 276.857,
    "s": 67.308,
    "l": 59.216
  },
  "oklch": {
    "l": 0.60348,
    "c": 0.21062,
    "h": 309.8
  },
  "luminance": 0.19321
}

Semantic roles & 50–950 ramp

primary
#A751DD
secondary
#BFE0AA
accent
#EA3E80
background
#FCF8FE
surface
#F8F0FD
border
#D1CBD5
text
#130C16
muted
#827D84

Preview Lab

Preview with #A751DD

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

Preview Lab → · Contrast checker → · Palette generator →

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