#7E71F5#7E71F5

#7E71F5 is a light, vivid blue. Relative luminance 0.228; OKLCH L 62.7% C 0.191 H 283.9°. Best body text is #000000 at 5.57:1 contrast (WCAG AA passes).

Color values

HEX#7E71F5
RGBrgb(126, 113, 245)
HSLhsl(246, 87%, 70%)
HSVhsv(246, 54%, 96%)
CMYKcmyk(48.6%, 53.9%, 0%, 3.9%)
CIE-LABlab(54.90, 38.50, -64.85)
CIE-LCHlch(54.90, 75.42, 300.70°)
OKLaboklab(62.69% 0.0458 -0.1851)
OKLCHoklch(62.69% 0.191 283.9)
XYZxyz(30.9858, 22.8369, 89.1438)
Luminance0.2284 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E71F5 #E8F571
analogous
#71A6F5 #7E71F5 #C071F5
triadic
#7E71F5 #F57E71 #71F57E
tetradic
#7E71F5 #F571A6 #E8F571 #71F5C0
square
#7E71F5 #F571A6 #E8F571 #71F5C0
split-complementary
#7E71F5 #F5C071 #A6F571
monochromatic
#2410DC #4A38F1 #7E71F5 #B2AAF9 #E5E2FD

Accessibility & contrast

On white

3.77
#7E71F5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.57
#7E71F5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7E71F5
5.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E71F5#FFFFFF#000000##000000
##7E71F51.003.775.575.57
#FFFFFF3.771.0021.0021.00
#0000005.5721.001.001.00
##0000005.5721.001.001.00

Color blindness preview

Protanopia (red-blind)
#2588FA
Deuteranopia (green-blind)
#1A7FF2
Tritanopia (blue-blind)
#538EA8
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #7e71f5;
/* rgb */ color: rgb(126, 113, 245);
/* oklch */ color: oklch(62.7% 0.191 283.9);
Tailwind
colors: {
  custom: {
    50: '#ab9af9',
    500: '#7e71f5',
    950: '#000000',
  },
}
SCSS
$custom: #7e71f5;
$custom-light: #ab9af9;
$custom-dark: #000000;
JSON
{
  "hex": "#7e71f5",
  "rgb": {
    "r": 126,
    "g": 113,
    "b": 245
  },
  "hsl": {
    "h": 245.909,
    "s": 86.842,
    "l": 70.196
  },
  "oklch": {
    "l": 0.62688,
    "c": 0.19069,
    "h": 283.9
  },
  "luminance": 0.22838
}

Semantic roles & 50–950 ramp

primary
#7E71F5
secondary
#F0F3CF
accent
#E302CD
background
#FBF9FF
surface
#F6F2FF
border
#D0CCD7
text
#110E17
muted
#807E85

Preview Lab

Preview with #7E71F5

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

Preview Lab → · Contrast checker → · Palette generator →

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