#7E71CD#7E71CD

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

Color values

HEX#7E71CD
RGBrgb(126, 113, 205)
HSLhsl(248, 48%, 62%)
HSVhsv(248, 45%, 80%)
CMYKcmyk(38.5%, 44.9%, 0%, 19.6%)
CIE-LABlab(52.57, 27.04, -46.10)
CIE-LCHlch(52.57, 53.45, 300.39°)
OKLaboklab(60.18% 0.0424 -0.1301)
OKLCHoklch(60.18% 0.137 288.1)
XYZxyz(25.5257, 20.6529, 60.3873)
Luminance0.2065 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E71CD #C0CD71
analogous
#7192CD #7E71CD #AC71CD
triadic
#7E71CD #CD7E71 #71CD7E
tetradic
#7E71CD #CD7192 #C0CD71 #71CDAC
square
#7E71CD #CD7192 #C0CD71 #71CDAC
split-complementary
#7E71CD #CDAC71 #92CD71
monochromatic
#403391 #5544BD #7E71CD #A79EDD #D0CCED

Accessibility & contrast

On white

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

On black

5.13
#7E71CD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7E71CD
5.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E71CD#FFFFFF#000000##000000
##7E71CD1.004.095.135.13
#FFFFFF4.091.0021.0021.00
#0000005.1321.001.001.00
##0000005.1321.001.001.00

Color blindness preview

Protanopia (red-blind)
#5080D0
Deuteranopia (green-blind)
#507BCB
Tritanopia (blue-blind)
#698395
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #7e71cd;
/* rgb */ color: rgb(126, 113, 205);
/* oklch */ color: oklch(60.2% 0.137 288.1);
Tailwind
colors: {
  custom: {
    50: '#a79add',
    500: '#7e71cd',
    950: '#000000',
  },
}
SCSS
$custom: #7e71cd;
$custom-light: #a79add;
$custom-dark: #000000;
JSON
{
  "hex": "#7e71cd",
  "rgb": {
    "r": 126,
    "g": 113,
    "b": 205
  },
  "hsl": {
    "h": 248.478,
    "s": 47.917,
    "l": 62.353
  },
  "oklch": {
    "l": 0.60184,
    "c": 0.13683,
    "h": 288.1
  },
  "luminance": 0.20654
}

Semantic roles & 50–950 ramp

primary
#7E71CD
secondary
#D9DEBC
accent
#BB2AA7
background
#FAF9FD
surface
#F4F2FB
border
#CECCD4
text
#100E15
muted
#7F7E83

Preview Lab

Preview with #7E71CD

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

Preview Lab → · Contrast checker → · Palette generator →

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