#7E71BC#7E71BC

#7E71BC is a mid, moderate violet. Relative luminance 0.199; OKLCH L 59.2% C 0.113 H 290.5°. Best body text is #000000 at 4.98:1 contrast (WCAG AA passes).

Color values

HEX#7E71BC
RGBrgb(126, 113, 188)
HSLhsl(250, 36%, 59%)
HSVhsv(250, 40%, 74%)
CMYKcmyk(33%, 39.9%, 0%, 26.3%)
CIE-LABlab(51.70, 22.40, -37.75)
CIE-LCHlch(51.70, 43.89, 300.68°)
OKLaboklab(59.24% 0.0395 -0.1057)
OKLCHoklch(59.24% 0.113 290.5)
XYZxyz(23.5841, 19.8762, 50.1611)
Luminance0.1988 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E71BC #AFBC71
analogous
#718ABC #7E71BC #A471BC
triadic
#7E71BC #BC7E71 #71BC7E
tetradic
#7E71BC #BC718A #AFBC71 #71BCA4
square
#7E71BC #BC718A #AFBC71 #71BCA4
split-complementary
#7E71BC #BCA471 #8ABC71
monochromatic
#443979 #5C4DA3 #7E71BC #A49BD0 #CAC4E3

Accessibility & contrast

On white

4.22
#7E71BC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.98
#7E71BC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7E71BC
4.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E71BC#FFFFFF#000000##000000
##7E71BC1.004.224.984.98
#FFFFFF4.221.0021.0021.00
#0000004.9821.001.001.00
##0000004.9821.001.001.00

Color blindness preview

Protanopia (red-blind)
#5A7DBF
Deuteranopia (green-blind)
#5B7ABA
Tritanopia (blue-blind)
#6F7F8D
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #7e71bc;
/* rgb */ color: rgb(126, 113, 188);
/* oklch */ color: oklch(59.2% 0.113 290.5);
Tailwind
colors: {
  custom: {
    50: '#a59ad0',
    500: '#7e71bc',
    950: '#000000',
  },
}
SCSS
$custom: #7e71bc;
$custom-light: #a59ad0;
$custom-dark: #000000;
JSON
{
  "hex": "#7e71bc",
  "rgb": {
    "r": 126,
    "g": 113,
    "b": 188
  },
  "hsl": {
    "h": 250.4,
    "s": 35.885,
    "l": 59.02
  },
  "oklch": {
    "l": 0.5924,
    "c": 0.11288,
    "h": 290.5
  },
  "luminance": 0.19877
}

Semantic roles & 50–950 ramp

primary
#7E71BC
secondary
#CED3B6
accent
#CC5CB8
background
#FAF9FC
surface
#F4F2F9
border
#CECCD2
text
#0F0E14
muted
#7F7E82

Preview Lab

Preview with #7E71BC

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

Preview Lab → · Contrast checker → · Palette generator →

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