#7E71EC#7E71EC

#7E71EC is a light, vivid blue. Relative luminance 0.223; OKLCH L 62.1% C 0.179 H 284.7°. Best body text is #000000 at 5.46:1 contrast (WCAG AA passes).

Color values

HEX#7E71EC
RGBrgb(126, 113, 236)
HSLhsl(246, 76%, 68%)
HSVhsv(246, 52%, 93%)
CMYKcmyk(46.6%, 52.1%, 0%, 7.5%)
CIE-LABlab(54.34, 35.88, -60.74)
CIE-LCHlch(54.34, 70.54, 300.57°)
OKLaboklab(62.09% 0.0454 -0.173)
OKLCHoklch(62.09% 0.179 284.7)
XYZxyz(29.6452, 22.3006, 82.0830)
Luminance0.2230 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E71EC #DFEC71
analogous
#71A1EC #7E71EC #BB71EC
triadic
#7E71EC #EC7E71 #71EC7E
tetradic
#7E71EC #EC71A1 #DFEC71 #71ECBB
square
#7E71EC #EC71A1 #DFEC71 #71ECBB
split-complementary
#7E71EC #ECBB71 #A1EC71
monochromatic
#2D1BC8 #4D3BE5 #7E71EC #AFA7F3 #E0DDFA

Accessibility & contrast

On white

3.85
#7E71EC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.46
#7E71EC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7E71EC
5.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E71EC#FFFFFF#000000##000000
##7E71EC1.003.855.465.46
#FFFFFF3.851.0021.0021.00
#0000005.4621.001.001.00
##0000005.4621.001.001.00

Color blindness preview

Protanopia (red-blind)
#3486F0
Deuteranopia (green-blind)
#2E7EE9
Tritanopia (blue-blind)
#598CA4
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #7e71ec;
/* rgb */ color: rgb(126, 113, 236);
/* oklch */ color: oklch(62.1% 0.179 284.7);
Tailwind
colors: {
  custom: {
    50: '#aa9af3',
    500: '#7e71ec',
    950: '#000000',
  },
}
SCSS
$custom: #7e71ec;
$custom-light: #aa9af3;
$custom-dark: #000000;
JSON
{
  "hex": "#7e71ec",
  "rgb": {
    "r": 126,
    "g": 113,
    "b": 236
  },
  "hsl": {
    "h": 246.341,
    "s": 76.398,
    "l": 68.431
  },
  "oklch": {
    "l": 0.62092,
    "c": 0.17888,
    "h": 284.7
  },
  "luminance": 0.22302
}

Semantic roles & 50–950 ramp

primary
#7E71EC
secondary
#EBEFCA
accent
#D90DC3
background
#FAF9FE
surface
#F5F2FD
border
#CFCCD5
text
#100E17
muted
#7F7E85

Preview Lab

Preview with #7E71EC

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

Preview Lab → · Contrast checker → · Palette generator →

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