#7D71A4#7D71A4

#7D71A4 is a mid, moderate violet. Relative luminance 0.189; OKLCH L 58.0% C 0.078 H 294.6°. Best body text is #000000 at 4.77:1 contrast (WCAG AA passes).

Color values

HEX#7D71A4
RGBrgb(125, 113, 164)
HSLhsl(254, 22%, 54%)
HSVhsv(254, 31%, 64%)
CMYKcmyk(23.8%, 31.1%, 0%, 35.7%)
CIE-LABlab(50.51, 15.88, -25.69)
CIE-LCHlch(50.51, 30.21, 301.72°)
OKLaboklab(57.95% 0.0326 -0.071)
OKLCHoklch(57.95% 0.078 294.6)
XYZxyz(21.0619, 18.8503, 37.6436)
Luminance0.1885 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D71A4 #98A471
analogous
#717FA4 #7D71A4 #9771A4
triadic
#7D71A4 #A47D71 #71A47D
tetradic
#7D71A4 #A4717F #98A471 #71A497
square
#7D71A4 #A4717F #98A471 #71A497
split-complementary
#7D71A4 #A49771 #7FA471
monochromatic
#443C5E #5F5484 #7D71A4 #9F96BC #C1BCD4

Accessibility & contrast

On white

4.40
#7D71A4 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.77
#7D71A4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##7D71A4#FFFFFF#000000##000000
##7D71A41.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)
#6579A6
Deuteranopia (green-blind)
#6677A3
Tritanopia (blue-blind)
#757983
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #7d71a4;
/* rgb */ color: rgb(125, 113, 164);
/* oklch */ color: oklch(58.0% 0.078 294.6);
Tailwind
colors: {
  custom: {
    50: '#a399bf',
    500: '#7d71a4',
    950: '#000000',
  },
}
SCSS
$custom: #7d71a4;
$custom-light: #a399bf;
$custom-dark: #000000;
JSON
{
  "hex": "#7d71a4",
  "rgb": {
    "r": 125,
    "g": 113,
    "b": 164
  },
  "hsl": {
    "h": 254.118,
    "s": 21.888,
    "l": 54.314
  },
  "oklch": {
    "l": 0.57952,
    "c": 0.07812,
    "h": 294.6
  },
  "luminance": 0.18851
}

Semantic roles & 50–950 ramp

primary
#7D71A4
secondary
#BEC3AE
accent
#BE69AA
background
#FAF9FB
surface
#F4F2F7
border
#CECCD0
text
#0F0E12
muted
#7F7E81

Preview Lab

Preview with #7D71A4

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

Preview Lab → · Contrast checker → · Palette generator →

#7D71A4 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva