#7D71DD#7D71DD

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

Color values

HEX#7D71DD
RGBrgb(125, 113, 221)
HSLhsl(247, 61%, 65%)
HSVhsv(247, 49%, 87%)
CMYKcmyk(43.4%, 48.9%, 0%, 13.3%)
CIE-LABlab(53.37, 31.32, -53.89)
CIE-LCHlch(53.37, 62.32, 300.16°)
OKLaboklab(61.06% 0.0431 -0.1529)
OKLCHoklch(61.06% 0.159 285.7)
XYZxyz(27.4100, 21.3896, 71.0770)
Luminance0.2139 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D71DD #D1DD71
analogous
#719BDD #7D71DD #B371DD
triadic
#7D71DD #DD7D71 #71DD7D
tetradic
#7D71DD #DD719B #D1DD71 #71DDB3
square
#7D71DD #DD719B #D1DD71 #71DDB3
split-complementary
#7D71DD #DDB371 #9BDD71
monochromatic
#3729AB #5040D1 #7D71DD #AAA2E9 #D7D4F5

Accessibility & contrast

On white

3.98
#7D71DD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.28
#7D71DD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7D71DD
5.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D71DD#FFFFFF#000000##000000
##7D71DD1.003.985.285.28
#FFFFFF3.981.0021.0021.00
#0000005.2821.001.001.00
##0000005.2821.001.001.00

Color blindness preview

Protanopia (red-blind)
#4382E1
Deuteranopia (green-blind)
#417CDB
Tritanopia (blue-blind)
#5F889D
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #7d71dd;
/* rgb */ color: rgb(125, 113, 221);
/* oklch */ color: oklch(61.1% 0.159 285.7);
Tailwind
colors: {
  custom: {
    50: '#a89ae8',
    500: '#7d71dd',
    950: '#000000',
  },
}
SCSS
$custom: #7d71dd;
$custom-light: #a89ae8;
$custom-dark: #000000;
JSON
{
  "hex": "#7d71dd",
  "rgb": {
    "r": 125,
    "g": 113,
    "b": 221
  },
  "hsl": {
    "h": 246.667,
    "s": 61.364,
    "l": 65.49
  },
  "oklch": {
    "l": 0.61059,
    "c": 0.15888,
    "h": 285.7
  },
  "luminance": 0.21391
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #7D71DD

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

Preview Lab → · Contrast checker → · Palette generator →

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