#7E71FB#7E71FB

#7E71FB is a light, vivid blue. Relative luminance 0.232; OKLCH L 63.1% C 0.198 H 283.4°. Best body text is #000000 at 5.64:1 contrast (WCAG AA passes).

Color values

HEX#7E71FB
RGBrgb(126, 113, 251)
HSLhsl(246, 95%, 71%)
HSVhsv(246, 55%, 98%)
CMYKcmyk(49.8%, 55%, 0%, 1.6%)
CIE-LABlab(55.29, 40.26, -67.56)
CIE-LCHlch(55.29, 78.65, 300.79°)
OKLaboklab(63.1% 0.046 -0.1931)
OKLCHoklch(63.1% 0.198 283.4)
XYZxyz(31.9167, 23.2092, 94.0461)
Luminance0.2321 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E71FB #EEFB71
analogous
#71A9FB #7E71FB #C371FB
triadic
#7E71FB #FB7E71 #71FB7E
tetradic
#7E71FB #FB71A9 #EEFB71 #71FBC3
square
#7E71FB #FB71A9 #EEFB71 #71FBC3
split-complementary
#7E71FB #FBC371 #A9FB71
monochromatic
#1C07EB #4835F9 #7E71FB #B4ADFD #E4E1FE

Accessibility & contrast

On white

3.72
#7E71FB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.64
#7E71FB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7E71FB
5.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E71FB#FFFFFF#000000##000000
##7E71FB1.003.725.645.64
#FFFFFF3.721.0021.0021.00
#0000005.6421.001.001.00
##0000005.6421.001.001.00

Color blindness preview

Protanopia (red-blind)
#1689FF
Deuteranopia (green-blind)
#0080F8
Tritanopia (blue-blind)
#4E90AB
Achromatopsia (no color)
#848484

Design tokens & code

CSS
--color: #7e71fb;
/* rgb */ color: rgb(126, 113, 251);
/* oklch */ color: oklch(63.1% 0.198 283.4);
Tailwind
colors: {
  custom: {
    50: '#ac9afd',
    500: '#7e71fb',
    950: '#000000',
  },
}
SCSS
$custom: #7e71fb;
$custom-light: #ac9afd;
$custom-dark: #000000;
JSON
{
  "hex": "#7e71fb",
  "rgb": {
    "r": 126,
    "g": 113,
    "b": 251
  },
  "hsl": {
    "h": 245.652,
    "s": 94.521,
    "l": 71.373
  },
  "oklch": {
    "l": 0.63095,
    "c": 0.19847,
    "h": 283.4
  },
  "luminance": 0.23211
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #7E71FB

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

Preview Lab → · Contrast checker → · Palette generator →

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