#7E71F2#7E71F2

#7E71F2 is a light, vivid blue. Relative luminance 0.227; OKLCH L 62.5% C 0.187 H 284.2°. Best body text is #000000 at 5.53:1 contrast (WCAG AA passes).

Color values

HEX#7E71F2
RGBrgb(126, 113, 242)
HSLhsl(246, 83%, 70%)
HSVhsv(246, 53%, 95%)
CMYKcmyk(47.9%, 53.3%, 0%, 5.1%)
CIE-LABlab(54.72, 37.62, -63.49)
CIE-LCHlch(54.72, 73.80, 300.65°)
OKLaboklab(62.49% 0.0457 -0.1811)
OKLCHoklch(62.49% 0.187 284.2)
XYZxyz(30.5316, 22.6552, 86.7513)
Luminance0.2266 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E71F2 #E5F271
analogous
#71A4F2 #7E71F2 #BF71F2
triadic
#7E71F2 #F27E71 #71F27E
tetradic
#7E71F2 #F271A4 #E5F271 #71F2BF
square
#7E71F2 #F271A4 #E5F271 #71F2BF
split-complementary
#7E71F2 #F2BF71 #A4F271
monochromatic
#2714D5 #4B39ED #7E71F2 #B1A9F7 #E4E1FC

Accessibility & contrast

On white

3.80
#7E71F2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.53
#7E71F2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7E71F2
5.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E71F2#FFFFFF#000000##000000
##7E71F21.003.805.535.53
#FFFFFF3.801.0021.0021.00
#0000005.5321.001.001.00
##0000005.5321.001.001.00

Color blindness preview

Protanopia (red-blind)
#2B87F6
Deuteranopia (green-blind)
#227FEF
Tritanopia (blue-blind)
#558DA7
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #7e71f2;
/* rgb */ color: rgb(126, 113, 242);
/* oklch */ color: oklch(62.5% 0.187 284.2);
Tailwind
colors: {
  custom: {
    50: '#aa9af7',
    500: '#7e71f2',
    950: '#000000',
  },
}
SCSS
$custom: #7e71f2;
$custom-light: #aa9af7;
$custom-dark: #000000;
JSON
{
  "hex": "#7e71f2",
  "rgb": {
    "r": 126,
    "g": 113,
    "b": 242
  },
  "hsl": {
    "h": 246.047,
    "s": 83.226,
    "l": 69.608
  },
  "oklch": {
    "l": 0.62488,
    "c": 0.18678,
    "h": 284.2
  },
  "luminance": 0.22657
}

Semantic roles & 50–950 ramp

primary
#7E71F2
secondary
#EEF2CD
accent
#E006CA
background
#FBF9FF
surface
#F6F2FF
border
#D0CCD7
text
#110E17
muted
#807E85

Preview Lab

Preview with #7E71F2

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

Preview Lab → · Contrast checker → · Palette generator →

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