#7E71DF#7E71DF

#7E71DF is a mid, vivid blue. Relative luminance 0.216; OKLCH L 61.3% C 0.162 H 286.0°. Best body text is #000000 at 5.31:1 contrast (WCAG AA passes).

Color values

HEX#7E71DF
RGBrgb(126, 113, 223)
HSLhsl(247, 63%, 66%)
HSVhsv(247, 49%, 87%)
CMYKcmyk(43.5%, 49.3%, 0%, 12.5%)
CIE-LABlab(53.57, 32.12, -54.69)
CIE-LCHlch(53.57, 63.43, 300.43°)
OKLaboklab(61.26% 0.0445 -0.1553)
OKLCHoklch(61.26% 0.162 286)
XYZxyz(27.8248, 21.5725, 72.4955)
Luminance0.2157 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E71DF #D2DF71
analogous
#719BDF #7E71DF #B571DF
triadic
#7E71DF #DF7E71 #71DF7E
tetradic
#7E71DF #DF719B #D2DF71 #71DFB5
square
#7E71DF #DF719B #D2DF71 #71DFB5
split-complementary
#7E71DF #DFB571 #9BDF71
monochromatic
#3727AE #513FD4 #7E71DF #ABA3EA #D9D5F6

Accessibility & contrast

On white

3.95
#7E71DF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.31
#7E71DF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7E71DF
5.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E71DF#FFFFFF#000000##000000
##7E71DF1.003.955.315.31
#FFFFFF3.951.0021.0021.00
#0000005.3121.001.001.00
##0000005.3121.001.001.00

Color blindness preview

Protanopia (red-blind)
#4283E3
Deuteranopia (green-blind)
#407DDD
Tritanopia (blue-blind)
#60889D
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #7e71df;
/* rgb */ color: rgb(126, 113, 223);
/* oklch */ color: oklch(61.3% 0.162 286.0);
Tailwind
colors: {
  custom: {
    50: '#a89ae9',
    500: '#7e71df',
    950: '#000000',
  },
}
SCSS
$custom: #7e71df;
$custom-light: #a89ae9;
$custom-dark: #000000;
JSON
{
  "hex": "#7e71df",
  "rgb": {
    "r": 126,
    "g": 113,
    "b": 223
  },
  "hsl": {
    "h": 247.091,
    "s": 63.218,
    "l": 65.882
  },
  "oklch": {
    "l": 0.61264,
    "c": 0.16151,
    "h": 286
  },
  "luminance": 0.21574
}

Semantic roles & 50–950 ramp

primary
#7E71DF
secondary
#E4E8C4
accent
#CB1BB6
background
#FAF9FE
surface
#F4F2FD
border
#CECCD5
text
#100E16
muted
#7F7E84

Preview Lab

Preview with #7E71DF

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

Preview Lab → · Contrast checker → · Palette generator →

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