#7E71EF#7E71EF

#7E71EF is a light, vivid blue. Relative luminance 0.225; OKLCH L 62.3% C 0.183 H 284.4°. Best body text is #000000 at 5.50:1 contrast (WCAG AA passes).

Color values

HEX#7E71EF
RGBrgb(126, 113, 239)
HSLhsl(246, 80%, 69%)
HSVhsv(246, 53%, 94%)
CMYKcmyk(47.3%, 52.7%, 0%, 6.3%)
CIE-LABlab(54.53, 36.75, -62.12)
CIE-LCHlch(54.53, 72.17, 300.61°)
OKLaboklab(62.29% 0.0456 -0.1771)
OKLCHoklch(62.29% 0.183 284.4)
XYZxyz(30.0847, 22.4764, 84.3978)
Luminance0.2248 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E71EF #E2EF71
analogous
#71A3EF #7E71EF #BD71EF
triadic
#7E71EF #EF7E71 #71EF7E
tetradic
#7E71EF #EF71A3 #E2EF71 #71EFBD
square
#7E71EF #EF71A3 #E2EF71 #71EFBD
split-complementary
#7E71EF #EFBD71 #A3EF71
monochromatic
#2A17CE #4C3AE9 #7E71EF #B0A8F5 #E2DFFB

Accessibility & contrast

On white

3.82
#7E71EF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.50
#7E71EF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7E71EF
5.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E71EF#FFFFFF#000000##000000
##7E71EF1.003.825.505.50
#FFFFFF3.821.0021.0021.00
#0000005.5021.001.001.00
##0000005.5021.001.001.00

Color blindness preview

Protanopia (red-blind)
#2F86F3
Deuteranopia (green-blind)
#297EEC
Tritanopia (blue-blind)
#578DA5
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #7e71ef;
/* rgb */ color: rgb(126, 113, 239);
/* oklch */ color: oklch(62.3% 0.183 284.4);
Tailwind
colors: {
  custom: {
    50: '#aa9af5',
    500: '#7e71ef',
    950: '#000000',
  },
}
SCSS
$custom: #7e71ef;
$custom-light: #aa9af5;
$custom-dark: #000000;
JSON
{
  "hex": "#7e71ef",
  "rgb": {
    "r": 126,
    "g": 113,
    "b": 239
  },
  "hsl": {
    "h": 246.19,
    "s": 79.747,
    "l": 69.02
  },
  "oklch": {
    "l": 0.62289,
    "c": 0.18284,
    "h": 284.4
  },
  "luminance": 0.22478
}

Semantic roles & 50–950 ramp

primary
#7E71EF
secondary
#EDF0CB
accent
#DC09C6
background
#FAF9FF
surface
#F5F2FE
border
#CFCCD6
text
#110E17
muted
#807E85

Preview Lab

Preview with #7E71EF

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

Preview Lab → · Contrast checker → · Palette generator →

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