#7D71E1#7D71E1

#7D71E1 is a mid, vivid blue. Relative luminance 0.216; OKLCH L 61.3% C 0.164 H 285.3°. Best body text is #000000 at 5.32:1 contrast (WCAG AA passes).

Color values

HEX#7D71E1
RGBrgb(125, 113, 225)
HSLhsl(246, 65%, 66%)
HSVhsv(246, 50%, 88%)
CMYKcmyk(44.4%, 49.8%, 0%, 11.8%)
CIE-LABlab(53.61, 32.47, -55.77)
CIE-LCHlch(53.61, 64.53, 300.21°)
OKLaboklab(61.31% 0.0435 -0.1584)
OKLCHoklch(61.31% 0.164 285.3)
XYZxyz(27.9492, 21.6053, 73.9171)
Luminance0.2161 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D71E1 #D5E171
analogous
#719DE1 #7D71E1 #B571E1
triadic
#7D71E1 #E17D71 #71E17D
tetradic
#7D71E1 #E1719D #D5E171 #71E1B5
square
#7D71E1 #E1719D #D5E171 #71E1B5
split-complementary
#7D71E1 #E1B571 #9DE171
monochromatic
#3526B2 #4F3ED6 #7D71E1 #ABA4EC #DAD6F6

Accessibility & contrast

On white

3.95
#7D71E1 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.32
#7D71E1 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7D71E1
5.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D71E1#FFFFFF#000000##000000
##7D71E11.003.955.325.32
#FFFFFF3.951.0021.0021.00
#0000005.3221.001.001.00
##0000005.3221.001.001.00

Color blindness preview

Protanopia (red-blind)
#4083E5
Deuteranopia (green-blind)
#3C7DDE
Tritanopia (blue-blind)
#5D899E
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #7d71e1;
/* rgb */ color: rgb(125, 113, 225);
/* oklch */ color: oklch(61.3% 0.164 285.3);
Tailwind
colors: {
  custom: {
    50: '#a89aeb',
    500: '#7d71e1',
    950: '#000000',
  },
}
SCSS
$custom: #7d71e1;
$custom-light: #a89aeb;
$custom-dark: #000000;
JSON
{
  "hex": "#7d71e1",
  "rgb": {
    "r": 125,
    "g": 113,
    "b": 225
  },
  "hsl": {
    "h": 246.429,
    "s": 65.116,
    "l": 66.275
  },
  "oklch": {
    "l": 0.61308,
    "c": 0.16429,
    "h": 285.3
  },
  "luminance": 0.21606
}

Semantic roles & 50–950 ramp

primary
#7D71E1
secondary
#E5E9C5
accent
#CD19BA
background
#FAF9FE
surface
#F4F2FD
border
#CECCD5
text
#100E16
muted
#7F7E84

Preview Lab

Preview with #7D71E1

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

Preview Lab → · Contrast checker → · Palette generator →

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