#7E71EA#7E71EA

#7E71EA is a mid, vivid blue. Relative luminance 0.222; OKLCH L 62.0% C 0.176 H 284.9°. Best body text is #000000 at 5.44:1 contrast (WCAG AA passes).

Color values

HEX#7E71EA
RGBrgb(126, 113, 234)
HSLhsl(246, 74%, 68%)
HSVhsv(246, 52%, 92%)
CMYKcmyk(46.2%, 51.7%, 0%, 8.2%)
CIE-LABlab(54.22, 35.29, -59.82)
CIE-LCHlch(54.22, 69.45, 300.54°)
OKLaboklab(61.96% 0.0453 -0.1703)
OKLCHoklch(61.96% 0.176 284.9)
XYZxyz(29.3562, 22.1851, 80.5613)
Luminance0.2219 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E71EA #DDEA71
analogous
#71A0EA #7E71EA #BA71EA
triadic
#7E71EA #EA7E71 #71EA7E
tetradic
#7E71EA #EA71A0 #DDEA71 #71EABA
square
#7E71EA #EA71A0 #DDEA71 #71EABA
split-complementary
#7E71EA #EABA71 #A0EA71
monochromatic
#2F1DC4 #4E3CE2 #7E71EA #AEA6F2 #DFDCFA

Accessibility & contrast

On white

3.86
#7E71EA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.44
#7E71EA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7E71EA
5.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E71EA#FFFFFF#000000##000000
##7E71EA1.003.865.445.44
#FFFFFF3.861.0021.0021.00
#0000005.4421.001.001.00
##0000005.4421.001.001.00

Color blindness preview

Protanopia (red-blind)
#3685EE
Deuteranopia (green-blind)
#317EE7
Tritanopia (blue-blind)
#5A8BA3
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #7e71ea;
/* rgb */ color: rgb(126, 113, 234);
/* oklch */ color: oklch(62.0% 0.176 284.9);
Tailwind
colors: {
  custom: {
    50: '#aa9af1',
    500: '#7e71ea',
    950: '#000000',
  },
}
SCSS
$custom: #7e71ea;
$custom-light: #aa9af1;
$custom-dark: #000000;
JSON
{
  "hex": "#7e71ea",
  "rgb": {
    "r": 126,
    "g": 113,
    "b": 234
  },
  "hsl": {
    "h": 246.446,
    "s": 74.233,
    "l": 68.039
  },
  "oklch": {
    "l": 0.61962,
    "c": 0.17624,
    "h": 284.9
  },
  "luminance": 0.22186
}

Semantic roles & 50–950 ramp

primary
#7E71EA
secondary
#EAEEC9
accent
#D60FC1
background
#FAF9FE
surface
#F4F2FD
border
#CECCD5
text
#100E17
muted
#7F7E85

Preview Lab

Preview with #7E71EA

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

Preview Lab → · Contrast checker → · Palette generator →

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