#7C71EB#7C71EB

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

Color values

HEX#7C71EB
RGBrgb(124, 113, 235)
HSLhsl(245, 75%, 68%)
HSVhsv(245, 52%, 92%)
CMYKcmyk(47.2%, 51.9%, 0%, 7.8%)
CIE-LABlab(54.12, 35.15, -60.54)
CIE-LCHlch(54.12, 70.01, 300.14°)
OKLaboklab(61.87% 0.043 -0.1725)
OKLCHoklch(61.87% 0.178 284)
XYZxyz(29.2083, 22.0921, 81.3063)
Luminance0.2209 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C71EB #E0EB71
analogous
#71A3EB #7C71EB #B971EB
triadic
#7C71EB #EB7C71 #71EB7C
tetradic
#7C71EB #EB71A3 #E0EB71 #71EBB9
square
#7C71EB #EB71A3 #E0EB71 #71EBB9
split-complementary
#7C71EB #EBB971 #A3EB71
monochromatic
#2B1CC6 #4B3BE3 #7C71EB #ADA7F3 #DFDCFA

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##7C71EB#FFFFFF#000000##000000
##7C71EB1.003.885.425.42
#FFFFFF3.881.0021.0021.00
#0000005.4221.001.001.00
##0000005.4221.001.001.00

Color blindness preview

Protanopia (red-blind)
#3485EF
Deuteranopia (green-blind)
#2D7EE8
Tritanopia (blue-blind)
#558CA3
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #7c71eb;
/* rgb */ color: rgb(124, 113, 235);
/* oklch */ color: oklch(61.9% 0.178 284.0);
Tailwind
colors: {
  custom: {
    50: '#a89af2',
    500: '#7c71eb',
    950: '#000000',
  },
}
SCSS
$custom: #7c71eb;
$custom-light: #a89af2;
$custom-dark: #000000;
JSON
{
  "hex": "#7c71eb",
  "rgb": {
    "r": 124,
    "g": 113,
    "b": 235
  },
  "hsl": {
    "h": 245.41,
    "s": 75.309,
    "l": 68.235
  },
  "oklch": {
    "l": 0.61869,
    "c": 0.17778,
    "h": 284
  },
  "luminance": 0.22093
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #7C71EB

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

Preview Lab → · Contrast checker → · Palette generator →

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