#A751D1#A751D1

#A751D1 is a mid, vivid purple. Relative luminance 0.187; OKLCH L 59.6% C 0.198 H 312.9°. Best body text is #000000 at 4.74:1 contrast (WCAG AA passes).

Color values

HEX#A751D1
RGBrgb(167, 81, 209)
HSLhsl(280, 58%, 57%)
HSVhsv(280, 61%, 82%)
CMYKcmyk(20.1%, 61.2%, 0%, 18%)
CIE-LABlab(50.34, 55.94, -51.68)
CIE-LCHlch(50.34, 76.15, 317.27°)
OKLaboklab(59.59% 0.1352 -0.1452)
OKLCHoklch(59.59% 0.198 312.9)
XYZxyz(30.3854, 18.7046, 62.3190)
Luminance0.1870 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A751D1 #7BD151
analogous
#6751D1 #A751D1 #D151BB
triadic
#A751D1 #D1A751 #51D1A7
tetradic
#A751D1 #D16751 #7BD151 #51BBD1
square
#A751D1 #D16751 #7BD151 #51BBD1
split-complementary
#A751D1 #BBD151 #51D167
monochromatic
#652385 #8930B5 #A751D1 #BF81DE #D8B2EB

Accessibility & contrast

On white

4.43
#A751D1 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.74
#A751D1 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A751D1
4.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A751D1#FFFFFF#000000##000000
##A751D11.004.434.744.74
#FFFFFF4.431.0021.0021.00
#0000004.7421.001.001.00
##0000004.7421.001.001.00

Color blindness preview

Protanopia (red-blind)
#2173D5
Deuteranopia (green-blind)
#497ACE
Tritanopia (blue-blind)
#A3698A
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #a751d1;
/* rgb */ color: rgb(167, 81, 209);
/* oklch */ color: oklch(59.6% 0.198 312.9);
Tailwind
colors: {
  custom: {
    50: '#c487e0',
    500: '#a751d1',
    950: '#000000',
  },
}
SCSS
$custom: #a751d1;
$custom-light: #c487e0;
$custom-dark: #000000;
JSON
{
  "hex": "#a751d1",
  "rgb": {
    "r": 167,
    "g": 81,
    "b": 209
  },
  "hsl": {
    "h": 280.313,
    "s": 58.182,
    "l": 56.863
  },
  "oklch": {
    "l": 0.59594,
    "c": 0.19836,
    "h": 312.9
  },
  "luminance": 0.18704
}

Semantic roles & 50–950 ramp

primary
#A751D1
secondary
#B6D9A5
accent
#E14679
background
#FCF8FD
surface
#F8F0FB
border
#D1CBD4
text
#130C15
muted
#827D83

Preview Lab

Preview with #A751D1

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

Preview Lab → · Contrast checker → · Palette generator →

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