#A751DF#A751DF

#A751DF is a mid, highly saturated violet. Relative luminance 0.194; OKLCH L 60.5% C 0.213 H 309.3°. Best body text is #000000 at 4.89:1 contrast (WCAG AA passes).

Color values

HEX#A751DF
RGBrgb(167, 81, 223)
HSLhsl(276, 69%, 60%)
HSVhsv(276, 64%, 87%)
CMYKcmyk(25.1%, 63.7%, 0%, 12.5%)
CIE-LABlab(51.18, 58.95, -58.29)
CIE-LCHlch(51.18, 82.90, 315.32°)
OKLaboklab(60.48% 0.1347 -0.1646)
OKLCHoklch(60.48% 0.213 309.3)
XYZxyz(32.1954, 19.4286, 71.8518)
Luminance0.1943 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A751DF #89DF51
analogous
#6051DF #A751DF #DF51D0
triadic
#A751DF #DFA751 #51DFA7
tetradic
#A751DF #DF6051 #89DF51 #51D0DF
square
#A751DF #DF6051 #89DF51 #51D0DF
split-complementary
#A751DF #D0DF51 #51DF60
monochromatic
#681C99 #8B26CD #A751DF #C185E9 #DBB8F2

Accessibility & contrast

On white

4.30
#A751DF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.89
#A751DF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A751DF
4.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A751DF#FFFFFF#000000##000000
##A751DF1.004.304.894.89
#FFFFFF4.301.0021.0021.00
#0000004.8921.001.001.00
##0000004.8921.001.001.00

Color blindness preview

Protanopia (red-blind)
#0076E3
Deuteranopia (green-blind)
#3C7BDC
Tritanopia (blue-blind)
#9F6E91
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #a751df;
/* rgb */ color: rgb(167, 81, 223);
/* oklch */ color: oklch(60.5% 0.213 309.3);
Tailwind
colors: {
  custom: {
    50: '#c587ea',
    500: '#a751df',
    950: '#000000',
  },
}
SCSS
$custom: #a751df;
$custom-light: #c587ea;
$custom-dark: #000000;
JSON
{
  "hex": "#a751df",
  "rgb": {
    "r": 167,
    "g": 81,
    "b": 223
  },
  "hsl": {
    "h": 276.338,
    "s": 68.932,
    "l": 59.608
  },
  "oklch": {
    "l": 0.60477,
    "c": 0.21268,
    "h": 309.3
  },
  "luminance": 0.19428
}

Semantic roles & 50–950 ramp

primary
#A751DF
secondary
#C0E1AA
accent
#EC3C81
background
#FCF8FE
surface
#F8F0FD
border
#D1CBD5
text
#130C16
muted
#827D84

Preview Lab

Preview with #A751DF

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

Preview Lab → · Contrast checker → · Palette generator →

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