#7C71EA#7C71EA

#7C71EA is a mid, vivid blue. Relative luminance 0.220; OKLCH L 61.8% C 0.176 H 284.1°. Best body text is #000000 at 5.41:1 contrast (WCAG AA passes).

Color values

HEX#7C71EA
RGBrgb(124, 113, 234)
HSLhsl(245, 74%, 68%)
HSVhsv(245, 52%, 92%)
CMYKcmyk(47%, 51.7%, 0%, 8.2%)
CIE-LABlab(54.06, 34.86, -60.08)
CIE-LCHlch(54.06, 69.46, 300.12°)
OKLaboklab(61.8% 0.0429 -0.1711)
OKLCHoklch(61.8% 0.176 284.1)
XYZxyz(29.0642, 22.0345, 80.5476)
Luminance0.2204 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C71EA #DFEA71
analogous
#71A2EA #7C71EA #B971EA
triadic
#7C71EA #EA7C71 #71EA7C
tetradic
#7C71EA #EA71A2 #DFEA71 #71EAB9
square
#7C71EA #EA71A2 #DFEA71 #71EAB9
split-complementary
#7C71EA #EAB971 #A2EA71
monochromatic
#2C1DC4 #4B3CE2 #7C71EA #ADA6F2 #DEDCFA

Accessibility & contrast

On white

3.88
#7C71EA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.41
#7C71EA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7C71EA
5.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C71EA#FFFFFF#000000##000000
##7C71EA1.003.885.415.41
#FFFFFF3.881.0021.0021.00
#0000005.4121.001.001.00
##0000005.4121.001.001.00

Color blindness preview

Protanopia (red-blind)
#3585EE
Deuteranopia (green-blind)
#2F7DE7
Tritanopia (blue-blind)
#568BA3
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #7c71ea;
/* rgb */ color: rgb(124, 113, 234);
/* oklch */ color: oklch(61.8% 0.176 284.1);
Tailwind
colors: {
  custom: {
    50: '#a89af1',
    500: '#7c71ea',
    950: '#000000',
  },
}
SCSS
$custom: #7c71ea;
$custom-light: #a89af1;
$custom-dark: #000000;
JSON
{
  "hex": "#7c71ea",
  "rgb": {
    "r": 124,
    "g": 113,
    "b": 234
  },
  "hsl": {
    "h": 245.455,
    "s": 74.233,
    "l": 68.039
  },
  "oklch": {
    "l": 0.61804,
    "c": 0.17644,
    "h": 284.1
  },
  "luminance": 0.22036
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #7C71EA

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

Preview Lab → · Contrast checker → · Palette generator →

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