#7E71F8#7E71F8

#7E71F8 is a light, vivid blue. Relative luminance 0.230; OKLCH L 62.9% C 0.195 H 283.6°. Best body text is #000000 at 5.60:1 contrast (WCAG AA passes).

Color values

HEX#7E71F8
RGBrgb(126, 113, 248)
HSLhsl(246, 91%, 71%)
HSVhsv(246, 54%, 97%)
CMYKcmyk(49.2%, 54.4%, 0%, 2.7%)
CIE-LABlab(55.09, 39.38, -66.21)
CIE-LCHlch(55.09, 77.04, 300.74°)
OKLaboklab(62.89% 0.0459 -0.1891)
OKLCHoklch(62.89% 0.195 283.6)
XYZxyz(31.4475, 23.0216, 91.5753)
Luminance0.2302 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E71F8 #EBF871
analogous
#71A7F8 #7E71F8 #C171F8
triadic
#7E71F8 #F87E71 #71F87E
tetradic
#7E71F8 #F871A7 #EBF871 #71F8C1
square
#7E71F8 #F871A7 #EBF871 #71F8C1
split-complementary
#7E71F8 #F8C171 #A7F871
monochromatic
#200BE3 #4937F5 #7E71F8 #B3ABFB #E5E2FE

Accessibility & contrast

On white

3.75
#7E71F8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.60
#7E71F8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7E71F8
5.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E71F8#FFFFFF#000000##000000
##7E71F81.003.755.605.60
#FFFFFF3.751.0021.0021.00
#0000005.6021.001.001.00
##0000005.6021.001.001.00

Color blindness preview

Protanopia (red-blind)
#1E88FD
Deuteranopia (green-blind)
#0F7FF5
Tritanopia (blue-blind)
#518FAA
Achromatopsia (no color)
#848484

Design tokens & code

CSS
--color: #7e71f8;
/* rgb */ color: rgb(126, 113, 248);
/* oklch */ color: oklch(62.9% 0.195 283.6);
Tailwind
colors: {
  custom: {
    50: '#ab9afb',
    500: '#7e71f8',
    950: '#000000',
  },
}
SCSS
$custom: #7e71f8;
$custom-light: #ab9afb;
$custom-dark: #000000;
JSON
{
  "hex": "#7e71f8",
  "rgb": {
    "r": 126,
    "g": 113,
    "b": 248
  },
  "hsl": {
    "h": 245.778,
    "s": 90.604,
    "l": 70.784
  },
  "oklch": {
    "l": 0.62891,
    "c": 0.19459,
    "h": 283.6
  },
  "luminance": 0.23023
}

Semantic roles & 50–950 ramp

primary
#7E71F8
secondary
#F1F5D0
accent
#E600CF
background
#FBF9FF
surface
#F6F2FF
border
#D0CCD7
text
#110E17
muted
#807E85

Preview Lab

Preview with #7E71F8

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

Preview Lab → · Contrast checker → · Palette generator →

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