#A751DE#A751DE

#A751DE is a mid, highly saturated violet. Relative luminance 0.194; OKLCH L 60.4% C 0.212 H 309.5°. Best body text is #000000 at 4.87:1 contrast (WCAG AA passes).

Color values

HEX#A751DE
RGBrgb(167, 81, 222)
HSLhsl(277, 68%, 59%)
HSVhsv(277, 64%, 87%)
CMYKcmyk(24.8%, 63.5%, 0%, 12.9%)
CIE-LABlab(51.12, 58.73, -57.82)
CIE-LCHlch(51.12, 82.42, 315.45°)
OKLaboklab(60.41% 0.1348 -0.1632)
OKLCHoklch(60.41% 0.212 309.5)
XYZxyz(32.0610, 19.3749, 71.1438)
Luminance0.1937 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A751DE #88DE51
analogous
#6151DE #A751DE #DE51CE
triadic
#A751DE #DEA751 #51DEA7
tetradic
#A751DE #DE6151 #88DE51 #51CEDE
square
#A751DE #DE6151 #88DE51 #51CEDE
split-complementary
#A751DE #CEDE51 #51DE61
monochromatic
#681D98 #8B27CB #A751DE #C184E8 #DBB8F2

Accessibility & contrast

On white

4.31
#A751DE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.87
#A751DE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A751DE
4.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A751DE#FFFFFF#000000##000000
##A751DE1.004.314.874.87
#FFFFFF4.311.0021.0021.00
#0000004.8721.001.001.00
##0000004.8721.001.001.00

Color blindness preview

Protanopia (red-blind)
#0076E2
Deuteranopia (green-blind)
#3D7BDB
Tritanopia (blue-blind)
#9F6D90
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #a751de;
/* rgb */ color: rgb(167, 81, 222);
/* oklch */ color: oklch(60.4% 0.212 309.5);
Tailwind
colors: {
  custom: {
    50: '#c587e9',
    500: '#a751de',
    950: '#000000',
  },
}
SCSS
$custom: #a751de;
$custom-light: #c587e9;
$custom-dark: #000000;
JSON
{
  "hex": "#a751de",
  "rgb": {
    "r": 167,
    "g": 81,
    "b": 222
  },
  "hsl": {
    "h": 276.596,
    "s": 68.116,
    "l": 59.412
  },
  "oklch": {
    "l": 0.60412,
    "c": 0.21165,
    "h": 309.5
  },
  "luminance": 0.19374
}

Semantic roles & 50–950 ramp

primary
#A751DE
secondary
#BFE1AA
accent
#EB3D81
background
#FCF8FE
surface
#F8F0FD
border
#D1CBD5
text
#130C16
muted
#827D84

Preview Lab

Preview with #A751DE

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

Preview Lab → · Contrast checker → · Palette generator →

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