#7E71AF#7E71AF

#7E71AF is a mid, moderate violet. Relative luminance 0.193; OKLCH L 58.6% C 0.094 H 292.9°. Best body text is #000000 at 4.87:1 contrast (WCAG AA passes).

Color values

HEX#7E71AF
RGBrgb(126, 113, 175)
HSLhsl(253, 28%, 56%)
HSVhsv(253, 35%, 69%)
CMYKcmyk(28%, 35.4%, 0%, 31.4%)
CIE-LABlab(51.08, 18.98, -31.20)
CIE-LCHlch(51.08, 36.52, 301.31°)
OKLaboklab(58.57% 0.0366 -0.0868)
OKLCHoklch(58.57% 0.094 292.9)
XYZxyz(22.2453, 19.3407, 43.1103)
Luminance0.1934 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E71AF #A2AF71
analogous
#7183AF #7E71AF #9D71AF
triadic
#7E71AF #AF7E71 #71AF7E
tetradic
#7E71AF #AF7183 #A2AF71 #71AF9D
square
#7E71AF #AF7183 #A2AF71 #71AF9D
split-complementary
#7E71AF #AF9D71 #83AF71
monochromatic
#453C6A #5F5291 #7E71AF #A298C5 #C5BFDB

Accessibility & contrast

On white

4.31
#7E71AF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.87
#7E71AF on #000000
AA ✓AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##7E71AF#FFFFFF#000000##000000
##7E71AF1.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)
#607AB1
Deuteranopia (green-blind)
#6279AD
Tritanopia (blue-blind)
#737C88
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #7e71af;
/* rgb */ color: rgb(126, 113, 175);
/* oklch */ color: oklch(58.6% 0.094 292.9);
Tailwind
colors: {
  custom: {
    50: '#a599c7',
    500: '#7e71af',
    950: '#000000',
  },
}
SCSS
$custom: #7e71af;
$custom-light: #a599c7;
$custom-dark: #000000;
JSON
{
  "hex": "#7e71af",
  "rgb": {
    "r": 126,
    "g": 113,
    "b": 175
  },
  "hsl": {
    "h": 252.581,
    "s": 27.928,
    "l": 56.471
  },
  "oklch": {
    "l": 0.58571,
    "c": 0.0942,
    "h": 292.9
  },
  "luminance": 0.19341
}

Semantic roles & 50–950 ramp

primary
#7E71AF
secondary
#C5CBB1
accent
#C464B0
background
#FAF9FC
surface
#F4F2F8
border
#CECCD1
text
#0F0E13
muted
#7F7E82

Preview Lab

Preview with #7E71AF

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

Preview Lab → · Contrast checker → · Palette generator →

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