#7D71EB#7D71EB

#7D71EB is a mid, vivid blue. Relative luminance 0.222; OKLCH L 61.9% C 0.178 H 284.4°. Best body text is #000000 at 5.43:1 contrast (WCAG AA passes).

Color values

HEX#7D71EB
RGBrgb(125, 113, 235)
HSLhsl(246, 75%, 68%)
HSVhsv(246, 52%, 92%)
CMYKcmyk(46.8%, 51.9%, 0%, 7.8%)
CIE-LABlab(54.20, 35.37, -60.41)
CIE-LCHlch(54.20, 70.00, 300.35°)
OKLaboklab(61.95% 0.0442 -0.1721)
OKLCHoklch(61.95% 0.178 284.4)
XYZxyz(29.3535, 22.1670, 81.3131)
Luminance0.2217 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D71EB #DFEB71
analogous
#71A2EB #7D71EB #BA71EB
triadic
#7D71EB #EB7D71 #71EB7D
tetradic
#7D71EB #EB71A2 #DFEB71 #71EBBA
square
#7D71EB #EB71A2 #DFEB71 #71EBBA
split-complementary
#7D71EB #EBBA71 #A2EB71
monochromatic
#2D1CC6 #4C3BE3 #7D71EB #AEA7F3 #DFDCFA

Accessibility & contrast

On white

3.86
#7D71EB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.43
#7D71EB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7D71EB
5.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D71EB#FFFFFF#000000##000000
##7D71EB1.003.865.435.43
#FFFFFF3.861.0021.0021.00
#0000005.4321.001.001.00
##0000005.4321.001.001.00

Color blindness preview

Protanopia (red-blind)
#3485EF
Deuteranopia (green-blind)
#2F7EE8
Tritanopia (blue-blind)
#578CA3
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #7d71eb;
/* rgb */ color: rgb(125, 113, 235);
/* oklch */ color: oklch(61.9% 0.178 284.4);
Tailwind
colors: {
  custom: {
    50: '#a99af2',
    500: '#7d71eb',
    950: '#000000',
  },
}
SCSS
$custom: #7d71eb;
$custom-light: #a99af2;
$custom-dark: #000000;
JSON
{
  "hex": "#7d71eb",
  "rgb": {
    "r": 125,
    "g": 113,
    "b": 235
  },
  "hsl": {
    "h": 245.902,
    "s": 75.309,
    "l": 68.235
  },
  "oklch": {
    "l": 0.61948,
    "c": 0.17766,
    "h": 284.4
  },
  "luminance": 0.22168
}

Semantic roles & 50–950 ramp

primary
#7D71EB
secondary
#EBEEC9
accent
#D70EC4
background
#FAF9FE
surface
#F4F2FD
border
#CECCD5
text
#100E17
muted
#7F7E85

Preview Lab

Preview with #7D71EB

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

Preview Lab → · Contrast checker → · Palette generator →

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