#7E71E6#7E71E6

#7E71E6 is a mid, vivid blue. Relative luminance 0.220; OKLCH L 61.7% C 0.171 H 285.3°. Best body text is #000000 at 5.39:1 contrast (WCAG AA passes).

Color values

HEX#7E71E6
RGBrgb(126, 113, 230)
HSLhsl(247, 70%, 67%)
HSVhsv(247, 51%, 90%)
CMYKcmyk(45.2%, 50.9%, 0%, 9.8%)
CIE-LABlab(53.98, 34.14, -57.96)
CIE-LCHlch(53.98, 67.27, 300.50°)
OKLaboklab(61.71% 0.0451 -0.1649)
OKLCHoklch(61.71% 0.171 285.3)
XYZxyz(28.7881, 21.9578, 77.5690)
Luminance0.2196 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E71E6 #D9E671
analogous
#719EE6 #7E71E6 #B971E6
triadic
#7E71E6 #E67E71 #71E67E
tetradic
#7E71E6 #E6719E #D9E671 #71E6B9
square
#7E71E6 #E6719E #D9E671 #71E6B9
split-complementary
#7E71E6 #E6B971 #9EE671
monochromatic
#3221BC #4F3DDD #7E71E6 #ADA5EF #DDD9F8

Accessibility & contrast

On white

3.89
#7E71E6 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.39
#7E71E6 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7E71E6
5.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E71E6#FFFFFF#000000##000000
##7E71E61.003.895.395.39
#FFFFFF3.891.0021.0021.00
#0000005.3921.001.001.00
##0000005.3921.001.001.00

Color blindness preview

Protanopia (red-blind)
#3B84EA
Deuteranopia (green-blind)
#377EE3
Tritanopia (blue-blind)
#5C8AA1
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #7e71e6;
/* rgb */ color: rgb(126, 113, 230);
/* oklch */ color: oklch(61.7% 0.171 285.3);
Tailwind
colors: {
  custom: {
    50: '#a99aee',
    500: '#7e71e6',
    950: '#000000',
  },
}
SCSS
$custom: #7e71e6;
$custom-light: #a99aee;
$custom-dark: #000000;
JSON
{
  "hex": "#7e71e6",
  "rgb": {
    "r": 126,
    "g": 113,
    "b": 230
  },
  "hsl": {
    "h": 246.667,
    "s": 70.06,
    "l": 67.255
  },
  "oklch": {
    "l": 0.61705,
    "c": 0.17092,
    "h": 285.3
  },
  "luminance": 0.21959
}

Semantic roles & 50–950 ramp

primary
#7E71E6
secondary
#E8ECC7
accent
#D213BD
background
#FAF9FE
surface
#F4F2FD
border
#CECCD5
text
#100E16
muted
#7F7E84

Preview Lab

Preview with #7E71E6

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

Preview Lab → · Contrast checker → · Palette generator →

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