#7D71DC#7D71DC

#7D71DC is a mid, vivid blue. Relative luminance 0.213; OKLCH L 61.0% C 0.158 H 285.8°. Best body text is #000000 at 5.27:1 contrast (WCAG AA passes).

Color values

HEX#7D71DC
RGBrgb(125, 113, 220)
HSLhsl(247, 60%, 65%)
HSVhsv(247, 49%, 86%)
CMYKcmyk(43.2%, 48.6%, 0%, 13.7%)
CIE-LABlab(53.32, 31.03, -53.41)
CIE-LCHlch(53.32, 61.77, 300.15°)
OKLaboklab(61% 0.043 -0.1515)
OKLCHoklch(61% 0.158 285.8)
XYZxyz(27.2771, 21.3365, 70.3774)
Luminance0.2134 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D71DC #D0DC71
analogous
#719ADC #7D71DC #B271DC
triadic
#7D71DC #DC7D71 #71DC7D
tetradic
#7D71DC #DC719A #D0DC71 #71DCB2
square
#7D71DC #DC719A #D0DC71 #71DCB2
split-complementary
#7D71DC #DCB271 #9ADC71
monochromatic
#382AA9 #5040D0 #7D71DC #AAA2E8 #D7D3F4

Accessibility & contrast

On white

3.99
#7D71DC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.27
#7D71DC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7D71DC
5.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D71DC#FFFFFF#000000##000000
##7D71DC1.003.995.275.27
#FFFFFF3.991.0021.0021.00
#0000005.2721.001.001.00
##0000005.2721.001.001.00

Color blindness preview

Protanopia (red-blind)
#4482E0
Deuteranopia (green-blind)
#427CDA
Tritanopia (blue-blind)
#60879C
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #7d71dc;
/* rgb */ color: rgb(125, 113, 220);
/* oklch */ color: oklch(61.0% 0.158 285.8);
Tailwind
colors: {
  custom: {
    50: '#a79ae7',
    500: '#7d71dc',
    950: '#000000',
  },
}
SCSS
$custom: #7d71dc;
$custom-light: #a79ae7;
$custom-dark: #000000;
JSON
{
  "hex": "#7d71dc",
  "rgb": {
    "r": 125,
    "g": 113,
    "b": 220
  },
  "hsl": {
    "h": 246.729,
    "s": 60.452,
    "l": 65.294
  },
  "oklch": {
    "l": 0.60997,
    "c": 0.15752,
    "h": 285.8
  },
  "luminance": 0.21338
}

Semantic roles & 50–950 ramp

primary
#7D71DC
secondary
#E2E6C2
accent
#C81DB5
background
#FAF9FE
surface
#F4F2FC
border
#CECCD5
text
#100E16
muted
#7F7E84

Preview Lab

Preview with #7D71DC

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

Preview Lab → · Contrast checker → · Palette generator →

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