#7E71CE#7E71CE

#7E71CE is a mid, vivid blue. Relative luminance 0.207; OKLCH L 60.2% C 0.138 H 287.9°. Best body text is #000000 at 5.14:1 contrast (WCAG AA passes).

Color values

HEX#7E71CE
RGBrgb(126, 113, 206)
HSLhsl(248, 49%, 63%)
HSVhsv(248, 45%, 81%)
CMYKcmyk(38.8%, 45.1%, 0%, 19.2%)
CIE-LABlab(52.62, 27.32, -46.58)
CIE-LCHlch(52.62, 54.00, 300.39°)
OKLaboklab(60.24% 0.0426 -0.1315)
OKLCHoklch(60.24% 0.138 287.9)
XYZxyz(25.6468, 20.7013, 61.0250)
Luminance0.2070 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E71CE #C1CE71
analogous
#7193CE #7E71CE #AC71CE
triadic
#7E71CE #CE7E71 #71CE7E
tetradic
#7E71CE #CE7193 #C1CE71 #71CEAC
square
#7E71CE #CE7193 #C1CE71 #71CEAC
split-complementary
#7E71CE #CEAC71 #93CE71
monochromatic
#403292 #5544BE #7E71CE #A79EDE #D1CCED

Accessibility & contrast

On white

4.09
#7E71CE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.14
#7E71CE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7E71CE
5.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E71CE#FFFFFF#000000##000000
##7E71CE1.004.095.145.14
#FFFFFF4.091.0021.0021.00
#0000005.1421.001.001.00
##0000005.1421.001.001.00

Color blindness preview

Protanopia (red-blind)
#4F80D1
Deuteranopia (green-blind)
#4F7BCC
Tritanopia (blue-blind)
#688395
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #7e71ce;
/* rgb */ color: rgb(126, 113, 206);
/* oklch */ color: oklch(60.2% 0.138 287.9);
Tailwind
colors: {
  custom: {
    50: '#a79add',
    500: '#7e71ce',
    950: '#000000',
  },
}
SCSS
$custom: #7e71ce;
$custom-light: #a79add;
$custom-dark: #000000;
JSON
{
  "hex": "#7e71ce",
  "rgb": {
    "r": 126,
    "g": 113,
    "b": 206
  },
  "hsl": {
    "h": 248.387,
    "s": 48.691,
    "l": 62.549
  },
  "oklch": {
    "l": 0.60242,
    "c": 0.13821,
    "h": 287.9
  },
  "luminance": 0.20702
}

Semantic roles & 50–950 ramp

primary
#7E71CE
secondary
#DADEBC
accent
#BC2AA8
background
#FAF9FD
surface
#F4F2FB
border
#CECCD4
text
#100E15
muted
#7F7E83

Preview Lab

Preview with #7E71CE

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

Preview Lab → · Contrast checker → · Palette generator →

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