#7E71AA#7E71AA

#7E71AA is a mid, moderate violet. Relative luminance 0.191; OKLCH L 58.3% C 0.087 H 294.0°. Best body text is #000000 at 4.83:1 contrast (WCAG AA passes).

Color values

HEX#7E71AA
RGBrgb(126, 113, 170)
HSLhsl(254, 25%, 55%)
HSVhsv(254, 34%, 67%)
CMYKcmyk(25.9%, 33.5%, 0%, 33.3%)
CIE-LABlab(50.86, 17.70, -28.64)
CIE-LCHlch(50.86, 33.67, 301.72°)
OKLaboklab(58.33% 0.0354 -0.0794)
OKLCHoklch(58.33% 0.087 294)
XYZxyz(21.7633, 19.1479, 40.5717)
Luminance0.1915 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E71AA #9DAA71
analogous
#7180AA #7E71AA #9A71AA
triadic
#7E71AA #AA7E71 #71AA7E
tetradic
#7E71AA #AA7180 #9DAA71 #71AA9A
square
#7E71AA #AA7180 #9DAA71 #71AA9A
split-complementary
#7E71AA #AA9A71 #80AA71
monochromatic
#453C64 #60538B #7E71AA #A197C1 #C4BED8

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##7E71AA#FFFFFF#000000##000000
##7E71AA1.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)
#627AAC
Deuteranopia (green-blind)
#6478A8
Tritanopia (blue-blind)
#757B86
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #7e71aa;
/* rgb */ color: rgb(126, 113, 170);
/* oklch */ color: oklch(58.3% 0.087 294.0);
Tailwind
colors: {
  custom: {
    50: '#a499c3',
    500: '#7e71aa',
    950: '#000000',
  },
}
SCSS
$custom: #7e71aa;
$custom-light: #a499c3;
$custom-dark: #000000;
JSON
{
  "hex": "#7e71aa",
  "rgb": {
    "r": 126,
    "g": 113,
    "b": 170
  },
  "hsl": {
    "h": 253.684,
    "s": 25.11,
    "l": 55.49
  },
  "oklch": {
    "l": 0.58326,
    "c": 0.08696,
    "h": 294
  },
  "luminance": 0.19148
}

Semantic roles & 50–950 ramp

primary
#7E71AA
secondary
#C2C7B0
accent
#C266AD
background
#FAF9FC
surface
#F4F2F8
border
#CECCD1
text
#0F0E12
muted
#7F7E81

Preview Lab

Preview with #7E71AA

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

Preview Lab → · Contrast checker → · Palette generator →

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