#7E71FA#7E71FA

#7E71FA is a light, vivid blue. Relative luminance 0.231; OKLCH L 63.0% C 0.197 H 283.5°. Best body text is #000000 at 5.63:1 contrast (WCAG AA passes).

Color values

HEX#7E71FA
RGBrgb(126, 113, 250)
HSLhsl(246, 93%, 71%)
HSVhsv(246, 55%, 98%)
CMYKcmyk(49.6%, 54.8%, 0%, 2%)
CIE-LABlab(55.22, 39.97, -67.11)
CIE-LCHlch(55.22, 78.11, 300.78°)
OKLaboklab(63.03% 0.0459 -0.1917)
OKLCHoklch(63.03% 0.197 283.5)
XYZxyz(31.7594, 23.1463, 93.2182)
Luminance0.2315 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E71FA #EDFA71
analogous
#71A8FA #7E71FA #C271FA
triadic
#7E71FA #FA7E71 #71FA7E
tetradic
#7E71FA #FA71A8 #EDFA71 #71FAC2
square
#7E71FA #FA71A8 #EDFA71 #71FAC2
split-complementary
#7E71FA #FAC271 #A8FA71
monochromatic
#1D08E8 #4836F8 #7E71FA #B4ACFC #E4E1FE

Accessibility & contrast

On white

3.73
#7E71FA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.63
#7E71FA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7E71FA
5.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E71FA#FFFFFF#000000##000000
##7E71FA1.003.735.635.63
#FFFFFF3.731.0021.0021.00
#0000005.6321.001.001.00
##0000005.6321.001.001.00

Color blindness preview

Protanopia (red-blind)
#1989FF
Deuteranopia (green-blind)
#0380F7
Tritanopia (blue-blind)
#4F90AB
Achromatopsia (no color)
#848484

Design tokens & code

CSS
--color: #7e71fa;
/* rgb */ color: rgb(126, 113, 250);
/* oklch */ color: oklch(63.0% 0.197 283.5);
Tailwind
colors: {
  custom: {
    50: '#ab9afd',
    500: '#7e71fa',
    950: '#000000',
  },
}
SCSS
$custom: #7e71fa;
$custom-light: #ab9afd;
$custom-dark: #000000;
JSON
{
  "hex": "#7e71fa",
  "rgb": {
    "r": 126,
    "g": 113,
    "b": 250
  },
  "hsl": {
    "h": 245.693,
    "s": 93.197,
    "l": 71.176
  },
  "oklch": {
    "l": 0.63027,
    "c": 0.19717,
    "h": 283.5
  },
  "luminance": 0.23148
}

Semantic roles & 50–950 ramp

primary
#7E71FA
secondary
#F2F5D1
accent
#E600D0
background
#FBF9FF
surface
#F6F2FF
border
#D0CCD7
text
#110E18
muted
#807E86

Preview Lab

Preview with #7E71FA

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

Preview Lab → · Contrast checker → · Palette generator →

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