#A751D2#A751D2

#A751D2 is a mid, vivid purple. Relative luminance 0.188; OKLCH L 59.7% C 0.199 H 312.7°. Best body text is #000000 at 4.75:1 contrast (WCAG AA passes).

Color values

HEX#A751D2
RGBrgb(167, 81, 210)
HSLhsl(280, 59%, 57%)
HSVhsv(280, 61%, 82%)
CMYKcmyk(20.5%, 61.4%, 0%, 17.6%)
CIE-LABlab(50.40, 56.15, -52.15)
CIE-LCHlch(50.40, 76.63, 317.11°)
OKLaboklab(59.66% 0.1351 -0.1466)
OKLCHoklch(59.66% 0.199 312.7)
XYZxyz(30.5096, 18.7543, 62.9730)
Luminance0.1875 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A751D2 #7CD251
analogous
#6751D2 #A751D2 #D251BD
triadic
#A751D2 #D2A751 #51D2A7
tetradic
#A751D2 #D26751 #7CD251 #51BDD2
square
#A751D2 #D26751 #7CD251 #51BDD2
split-complementary
#A751D2 #BDD251 #51D267
monochromatic
#652386 #892FB7 #A751D2 #C082DF #D8B2EB

Accessibility & contrast

On white

4.42
#A751D2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.75
#A751D2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A751D2
4.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A751D2#FFFFFF#000000##000000
##A751D21.004.424.754.75
#FFFFFF4.421.0021.0021.00
#0000004.7521.001.001.00
##0000004.7521.001.001.00

Color blindness preview

Protanopia (red-blind)
#1F73D6
Deuteranopia (green-blind)
#497ACF
Tritanopia (blue-blind)
#A2698A
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #a751d2;
/* rgb */ color: rgb(167, 81, 210);
/* oklch */ color: oklch(59.7% 0.199 312.7);
Tailwind
colors: {
  custom: {
    50: '#c487e0',
    500: '#a751d2',
    950: '#000000',
  },
}
SCSS
$custom: #a751d2;
$custom-light: #c487e0;
$custom-dark: #000000;
JSON
{
  "hex": "#a751d2",
  "rgb": {
    "r": 167,
    "g": 81,
    "b": 210
  },
  "hsl": {
    "h": 280,
    "s": 58.904,
    "l": 57.059
  },
  "oklch": {
    "l": 0.59656,
    "c": 0.19939,
    "h": 312.7
  },
  "luminance": 0.18753
}

Semantic roles & 50–950 ramp

primary
#A751D2
secondary
#B7DAA5
accent
#E2467A
background
#FCF8FD
surface
#F8F0FB
border
#D1CBD4
text
#130C15
muted
#827D83

Preview Lab

Preview with #A751D2

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

Preview Lab → · Contrast checker → · Palette generator →

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