#7E72A4#7E72A4

#7E72A4 is a mid, moderate violet. Relative luminance 0.192; OKLCH L 58.2% C 0.077 H 294.9°. Best body text is #000000 at 4.83:1 contrast (WCAG AA passes).

Color values

HEX#7E72A4
RGBrgb(126, 114, 164)
HSLhsl(254, 22%, 55%)
HSVhsv(254, 30%, 64%)
CMYKcmyk(23.2%, 30.5%, 0%, 35.7%)
CIE-LABlab(50.86, 15.60, -25.14)
CIE-LCHlch(50.86, 29.59, 301.82°)
OKLaboklab(58.24% 0.0323 -0.0694)
OKLCHoklch(58.24% 0.077 294.9)
XYZxyz(21.3208, 19.1504, 37.6879)
Luminance0.1915 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E72A4 #98A472
analogous
#727FA4 #7E72A4 #9772A4
triadic
#7E72A4 #A47E72 #72A47E
tetradic
#7E72A4 #A4727F #98A472 #72A497
square
#7E72A4 #A4727F #98A472 #72A497
split-complementary
#7E72A4 #A49772 #7FA472
monochromatic
#453D5F #605584 #7E72A4 #A097BC #C2BCD4

Accessibility & contrast

On white

4.35
#7E72A4 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.83
#7E72A4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7E72A4
4.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E72A4#FFFFFF#000000##000000
##7E72A41.004.354.834.83
#FFFFFF4.351.0021.0021.00
#0000004.8321.001.001.00
##0000004.8321.001.001.00

Color blindness preview

Protanopia (red-blind)
#667AA6
Deuteranopia (green-blind)
#6778A3
Tritanopia (blue-blind)
#767A84
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #7e72a4;
/* rgb */ color: rgb(126, 114, 164);
/* oklch */ color: oklch(58.2% 0.077 294.9);
Tailwind
colors: {
  custom: {
    50: '#a49abf',
    500: '#7e72a4',
    950: '#000000',
  },
}
SCSS
$custom: #7e72a4;
$custom-light: #a49abf;
$custom-dark: #000000;
JSON
{
  "hex": "#7e72a4",
  "rgb": {
    "r": 126,
    "g": 114,
    "b": 164
  },
  "hsl": {
    "h": 254.4,
    "s": 21.552,
    "l": 54.51
  },
  "oklch": {
    "l": 0.58243,
    "c": 0.07656,
    "h": 294.9
  },
  "luminance": 0.19151
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #7E72A4

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

Preview Lab → · Contrast checker → · Palette generator →

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