#7D71EA#7D71EA

#7D71EA is a mid, vivid blue. Relative luminance 0.221; OKLCH L 61.9% C 0.176 H 284.5°. Best body text is #000000 at 5.42:1 contrast (WCAG AA passes).

Color values

HEX#7D71EA
RGBrgb(125, 113, 234)
HSLhsl(246, 74%, 68%)
HSVhsv(246, 52%, 92%)
CMYKcmyk(46.6%, 51.7%, 0%, 8.2%)
CIE-LABlab(54.14, 35.08, -59.95)
CIE-LCHlch(54.14, 69.46, 300.33°)
OKLaboklab(61.88% 0.0441 -0.1707)
OKLCHoklch(61.88% 0.176 284.5)
XYZxyz(29.2095, 22.1094, 80.5544)
Luminance0.2211 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D71EA #DEEA71
analogous
#71A2EA #7D71EA #B971EA
triadic
#7D71EA #EA7D71 #71EA7D
tetradic
#7D71EA #EA71A2 #DEEA71 #71EAB9
square
#7D71EA #EA71A2 #DEEA71 #71EAB9
split-complementary
#7D71EA #EAB971 #A2EA71
monochromatic
#2D1DC4 #4C3CE2 #7D71EA #AEA6F2 #DFDCFA

Accessibility & contrast

On white

3.87
#7D71EA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.42
#7D71EA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7D71EA
5.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D71EA#FFFFFF#000000##000000
##7D71EA1.003.875.425.42
#FFFFFF3.871.0021.0021.00
#0000005.4221.001.001.00
##0000005.4221.001.001.00

Color blindness preview

Protanopia (red-blind)
#3685EE
Deuteranopia (green-blind)
#307EE7
Tritanopia (blue-blind)
#588BA3
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #7d71ea;
/* rgb */ color: rgb(125, 113, 234);
/* oklch */ color: oklch(61.9% 0.176 284.5);
Tailwind
colors: {
  custom: {
    50: '#a99af1',
    500: '#7d71ea',
    950: '#000000',
  },
}
SCSS
$custom: #7d71ea;
$custom-light: #a99af1;
$custom-dark: #000000;
JSON
{
  "hex": "#7d71ea",
  "rgb": {
    "r": 125,
    "g": 113,
    "b": 234
  },
  "hsl": {
    "h": 245.95,
    "s": 74.233,
    "l": 68.039
  },
  "oklch": {
    "l": 0.61883,
    "c": 0.17634,
    "h": 284.5
  },
  "luminance": 0.22111
}

Semantic roles & 50–950 ramp

primary
#7D71EA
secondary
#EAEEC9
accent
#D60FC3
background
#FAF9FE
surface
#F4F2FD
border
#CECCD5
text
#100E17
muted
#7F7E85

Preview Lab

Preview with #7D71EA

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

Preview Lab → · Contrast checker → · Palette generator →

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