#7E71DB#7E71DB

#7E71DB is a mid, vivid blue. Relative luminance 0.214; OKLCH L 61.0% C 0.156 H 286.4°. Best body text is #000000 at 5.27:1 contrast (WCAG AA passes).

Color values

HEX#7E71DB
RGBrgb(126, 113, 219)
HSLhsl(247, 60%, 65%)
HSVhsv(247, 48%, 86%)
CMYKcmyk(42.5%, 48.4%, 0%, 14.1%)
CIE-LABlab(53.34, 30.98, -52.81)
CIE-LCHlch(53.34, 61.22, 300.40°)
OKLaboklab(61.02% 0.0441 -0.1497)
OKLCHoklch(61.02% 0.156 286.4)
XYZxyz(27.2918, 21.3593, 69.6889)
Luminance0.2136 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E71DB #CEDB71
analogous
#7199DB #7E71DB #B371DB
triadic
#7E71DB #DB7E71 #71DB7E
tetradic
#7E71DB #DB7199 #CEDB71 #71DBB3
square
#7E71DB #DB7199 #CEDB71 #71DBB3
split-complementary
#7E71DB #DBB371 #99DB71
monochromatic
#3A2AA7 #5240CF #7E71DB #AAA2E7 #D7D3F4

Accessibility & contrast

On white

3.98
#7E71DB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.27
#7E71DB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7E71DB
5.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E71DB#FFFFFF#000000##000000
##7E71DB1.003.985.275.27
#FFFFFF3.981.0021.0021.00
#0000005.2721.001.001.00
##0000005.2721.001.001.00

Color blindness preview

Protanopia (red-blind)
#4682DF
Deuteranopia (green-blind)
#447CD9
Tritanopia (blue-blind)
#62879C
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #7e71db;
/* rgb */ color: rgb(126, 113, 219);
/* oklch */ color: oklch(61.0% 0.156 286.4);
Tailwind
colors: {
  custom: {
    50: '#a89ae7',
    500: '#7e71db',
    950: '#000000',
  },
}
SCSS
$custom: #7e71db;
$custom-light: #a89ae7;
$custom-dark: #000000;
JSON
{
  "hex": "#7e71db",
  "rgb": {
    "r": 126,
    "g": 113,
    "b": 219
  },
  "hsl": {
    "h": 247.358,
    "s": 59.551,
    "l": 65.098
  },
  "oklch": {
    "l": 0.61017,
    "c": 0.15609,
    "h": 286.4
  },
  "luminance": 0.2136
}

Semantic roles & 50–950 ramp

primary
#7E71DB
secondary
#E1E6C2
accent
#C71EB2
background
#FAF9FE
surface
#F4F2FC
border
#CECCD5
text
#100E16
muted
#7F7E84

Preview Lab

Preview with #7E71DB

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

Preview Lab → · Contrast checker → · Palette generator →

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