#7C71EC#7C71EC

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

Color values

HEX#7C71EC
RGBrgb(124, 113, 236)
HSLhsl(245, 76%, 68%)
HSVhsv(245, 52%, 93%)
CMYKcmyk(47.5%, 52.1%, 0%, 7.5%)
CIE-LABlab(54.19, 35.44, -61.00)
CIE-LCHlch(54.19, 70.55, 300.16°)
OKLaboklab(61.93% 0.0431 -0.1738)
OKLCHoklch(61.93% 0.179 283.9)
XYZxyz(29.3531, 22.1501, 82.0693)
Luminance0.2215 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C71EC #E1EC71
analogous
#71A3EC #7C71EC #B971EC
triadic
#7C71EC #EC7C71 #71EC7C
tetradic
#7C71EC #EC71A3 #E1EC71 #71ECB9
square
#7C71EC #EC71A3 #E1EC71 #71ECB9
split-complementary
#7C71EC #ECB971 #A3EC71
monochromatic
#2A1BC8 #4A3BE5 #7C71EC #AEA7F3 #E0DDFA

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##7C71EC#FFFFFF#000000##000000
##7C71EC1.003.875.435.43
#FFFFFF3.871.0021.0021.00
#0000005.4321.001.001.00
##0000005.4321.001.001.00

Color blindness preview

Protanopia (red-blind)
#3385F0
Deuteranopia (green-blind)
#2C7EE9
Tritanopia (blue-blind)
#558CA4
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #7c71ec;
/* rgb */ color: rgb(124, 113, 236);
/* oklch */ color: oklch(61.9% 0.179 283.9);
Tailwind
colors: {
  custom: {
    50: '#a99af3',
    500: '#7c71ec',
    950: '#000000',
  },
}
SCSS
$custom: #7c71ec;
$custom-light: #a99af3;
$custom-dark: #000000;
JSON
{
  "hex": "#7c71ec",
  "rgb": {
    "r": 124,
    "g": 113,
    "b": 236
  },
  "hsl": {
    "h": 245.366,
    "s": 76.398,
    "l": 68.431
  },
  "oklch": {
    "l": 0.61935,
    "c": 0.1791,
    "h": 283.9
  },
  "luminance": 0.22151
}

Semantic roles & 50–950 ramp

primary
#7C71EC
secondary
#ECEFCA
accent
#D90DC6
background
#FAF9FE
surface
#F4F2FD
border
#CECCD5
text
#100E17
muted
#7F7E85

Preview Lab

Preview with #7C71EC

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

Preview Lab → · Contrast checker → · Palette generator →

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