#A751D4#A751D4

#A751D4 is a mid, highly saturated violet. Relative luminance 0.189; OKLCH L 59.8% C 0.201 H 312.1°. Best body text is #000000 at 4.77:1 contrast (WCAG AA passes).

Color values

HEX#A751D4
RGBrgb(167, 81, 212)
HSLhsl(279, 60%, 57%)
HSVhsv(279, 62%, 83%)
CMYKcmyk(21.2%, 61.8%, 0%, 16.9%)
CIE-LABlab(50.52, 56.57, -53.11)
CIE-LCHlch(50.52, 77.59, 316.81°)
OKLaboklab(59.78% 0.1351 -0.1494)
OKLCHoklch(59.78% 0.201 312.1)
XYZxyz(30.7603, 18.8546, 64.2935)
Luminance0.1885 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A751D4 #7ED451
analogous
#6551D4 #A751D4 #D451C0
triadic
#A751D4 #D4A751 #51D4A7
tetradic
#A751D4 #D46551 #7ED451 #51C0D4
square
#A751D4 #D46551 #7ED451 #51C0D4
split-complementary
#A751D4 #C0D451 #51D465
monochromatic
#652289 #8A2EBA #A751D4 #C082E0 #D9B3EC

Accessibility & contrast

On white

4.40
#A751D4 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.77
#A751D4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A751D4
4.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A751D4#FFFFFF#000000##000000
##A751D41.004.404.774.77
#FFFFFF4.401.0021.0021.00
#0000004.7721.001.001.00
##0000004.7721.001.001.00

Color blindness preview

Protanopia (red-blind)
#1A74D8
Deuteranopia (green-blind)
#477AD1
Tritanopia (blue-blind)
#A26A8B
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #a751d4;
/* rgb */ color: rgb(167, 81, 212);
/* oklch */ color: oklch(59.8% 0.201 312.1);
Tailwind
colors: {
  custom: {
    50: '#c587e2',
    500: '#a751d4',
    950: '#000000',
  },
}
SCSS
$custom: #a751d4;
$custom-light: #c587e2;
$custom-dark: #000000;
JSON
{
  "hex": "#a751d4",
  "rgb": {
    "r": 167,
    "g": 81,
    "b": 212
  },
  "hsl": {
    "h": 279.389,
    "s": 60.369,
    "l": 57.451
  },
  "oklch": {
    "l": 0.59779,
    "c": 0.20143,
    "h": 312.1
  },
  "luminance": 0.18854
}

Semantic roles & 50–950 ramp

primary
#A751D4
secondary
#B8DBA6
accent
#E4447B
background
#FCF8FD
surface
#F8F0FB
border
#D1CBD4
text
#130C15
muted
#827D83

Preview Lab

Preview with #A751D4

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

Preview Lab → · Contrast checker → · Palette generator →

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