#7D71E5#7D71E5

#7D71E5 is a mid, vivid blue. Relative luminance 0.218; OKLCH L 61.6% C 0.170 H 285.0°. Best body text is #000000 at 5.37:1 contrast (WCAG AA passes).

Color values

HEX#7D71E5
RGBrgb(125, 113, 229)
HSLhsl(246, 69%, 67%)
HSVhsv(246, 51%, 90%)
CMYKcmyk(45.4%, 50.7%, 0%, 10.2%)
CIE-LABlab(53.84, 33.62, -57.63)
CIE-LCHlch(53.84, 66.72, 300.26°)
OKLaboklab(61.56% 0.0438 -0.1639)
OKLCHoklch(61.56% 0.17 285)
XYZxyz(28.5013, 21.8261, 76.8247)
Luminance0.2183 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D71E5 #D9E571
analogous
#719FE5 #7D71E5 #B771E5
triadic
#7D71E5 #E57D71 #71E57D
tetradic
#7D71E5 #E5719F #D9E571 #71E5B7
square
#7D71E5 #E5719F #D9E571 #71E5B7
split-complementary
#7D71E5 #E5B771 #9FE571
monochromatic
#3222BA #4E3DDC #7D71E5 #ACA5EE #DCD8F8

Accessibility & contrast

On white

3.91
#7D71E5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.37
#7D71E5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7D71E5
5.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D71E5#FFFFFF#000000##000000
##7D71E51.003.915.375.37
#FFFFFF3.911.0021.0021.00
#0000005.3721.001.001.00
##0000005.3721.001.001.00

Color blindness preview

Protanopia (red-blind)
#3C84E9
Deuteranopia (green-blind)
#377DE2
Tritanopia (blue-blind)
#5B8AA0
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #7d71e5;
/* rgb */ color: rgb(125, 113, 229);
/* oklch */ color: oklch(61.6% 0.170 285.0);
Tailwind
colors: {
  custom: {
    50: '#a89aee',
    500: '#7d71e5',
    950: '#000000',
  },
}
SCSS
$custom: #7d71e5;
$custom-light: #a89aee;
$custom-dark: #000000;
JSON
{
  "hex": "#7d71e5",
  "rgb": {
    "r": 125,
    "g": 113,
    "b": 229
  },
  "hsl": {
    "h": 246.207,
    "s": 69.048,
    "l": 67.059
  },
  "oklch": {
    "l": 0.61561,
    "c": 0.16967,
    "h": 285
  },
  "luminance": 0.21827
}

Semantic roles & 50–950 ramp

primary
#7D71E5
secondary
#E8EBC6
accent
#D114BE
background
#FAF9FE
surface
#F4F2FD
border
#CECCD5
text
#100E16
muted
#7F7E84

Preview Lab

Preview with #7D71E5

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

Preview Lab → · Contrast checker → · Palette generator →

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