#7E71DD#7E71DD

#7E71DD is a mid, vivid blue. Relative luminance 0.215; OKLCH L 61.1% C 0.159 H 286.2°. Best body text is #000000 at 5.29:1 contrast (WCAG AA passes).

Color values

HEX#7E71DD
RGBrgb(126, 113, 221)
HSLhsl(247, 61%, 65%)
HSVhsv(247, 49%, 87%)
CMYKcmyk(43%, 48.9%, 0%, 13.3%)
CIE-LABlab(53.45, 31.55, -53.75)
CIE-LCHlch(53.45, 62.33, 300.41°)
OKLaboklab(61.14% 0.0443 -0.1525)
OKLCHoklch(61.14% 0.159 286.2)
XYZxyz(27.5567, 21.4653, 71.0838)
Luminance0.2147 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E71DD #D0DD71
analogous
#719ADD #7E71DD #B471DD
triadic
#7E71DD #DD7E71 #71DD7E
tetradic
#7E71DD #DD719A #D0DD71 #71DDB4
square
#7E71DD #DD719A #D0DD71 #71DDB4
split-complementary
#7E71DD #DDB471 #9ADD71
monochromatic
#3929AB #5140D1 #7E71DD #ABA2E9 #D8D4F5

Accessibility & contrast

On white

3.97
#7E71DD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.29
#7E71DD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7E71DD
5.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E71DD#FFFFFF#000000##000000
##7E71DD1.003.975.295.29
#FFFFFF3.971.0021.0021.00
#0000005.2921.001.001.00
##0000005.2921.001.001.00

Color blindness preview

Protanopia (red-blind)
#4483E1
Deuteranopia (green-blind)
#427DDB
Tritanopia (blue-blind)
#61879D
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #7e71dd;
/* rgb */ color: rgb(126, 113, 221);
/* oklch */ color: oklch(61.1% 0.159 286.2);
Tailwind
colors: {
  custom: {
    50: '#a89ae8',
    500: '#7e71dd',
    950: '#000000',
  },
}
SCSS
$custom: #7e71dd;
$custom-light: #a89ae8;
$custom-dark: #000000;
JSON
{
  "hex": "#7e71dd",
  "rgb": {
    "r": 126,
    "g": 113,
    "b": 221
  },
  "hsl": {
    "h": 247.222,
    "s": 61.364,
    "l": 65.49
  },
  "oklch": {
    "l": 0.6114,
    "c": 0.1588,
    "h": 286.2
  },
  "luminance": 0.21466
}

Semantic roles & 50–950 ramp

primary
#7E71DD
secondary
#E3E7C3
accent
#C91CB4
background
#FAF9FE
surface
#F4F2FD
border
#CECCD5
text
#100E16
muted
#7F7E84

Preview Lab

Preview with #7E71DD

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

Preview Lab → · Contrast checker → · Palette generator →

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