#7C71FB#7C71FB

#7C71FB is a light, vivid blue. Relative luminance 0.231; OKLCH L 62.9% C 0.199 H 282.7°. Best body text is #000000 at 5.61:1 contrast (WCAG AA passes).

Color values

HEX#7C71FB
RGBrgb(124, 113, 251)
HSLhsl(245, 95%, 71%)
HSVhsv(245, 55%, 98%)
CMYKcmyk(50.6%, 55%, 0%, 1.6%)
CIE-LABlab(55.13, 39.86, -67.82)
CIE-LCHlch(55.13, 78.67, 300.45°)
OKLaboklab(62.94% 0.0436 -0.1939)
OKLCHoklch(62.94% 0.199 282.7)
XYZxyz(31.6246, 23.0586, 94.0325)
Luminance0.2306 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C71FB #F0FB71
analogous
#71ABFB #7C71FB #C171FB
triadic
#7C71FB #FB7C71 #71FB7C
tetradic
#7C71FB #FB71AB #F0FB71 #71FBC1
square
#7C71FB #FB71AB #F0FB71 #71FBC1
split-complementary
#7C71FB #FBC171 #ABFB71
monochromatic
#1907EB #4535F9 #7C71FB #B3ADFD #E4E1FE

Accessibility & contrast

On white

3.74
#7C71FB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.61
#7C71FB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7C71FB
5.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C71FB#FFFFFF#000000##000000
##7C71FB1.003.745.615.61
#FFFFFF3.741.0021.0021.00
#0000005.6121.001.001.00
##0000005.6121.001.001.00

Color blindness preview

Protanopia (red-blind)
#1489FF
Deuteranopia (green-blind)
#007FF8
Tritanopia (blue-blind)
#4A90AB
Achromatopsia (no color)
#848484

Design tokens & code

CSS
--color: #7c71fb;
/* rgb */ color: rgb(124, 113, 251);
/* oklch */ color: oklch(62.9% 0.199 282.7);
Tailwind
colors: {
  custom: {
    50: '#aa9afd',
    500: '#7c71fb',
    950: '#000000',
  },
}
SCSS
$custom: #7c71fb;
$custom-light: #aa9afd;
$custom-dark: #000000;
JSON
{
  "hex": "#7c71fb",
  "rgb": {
    "r": 124,
    "g": 113,
    "b": 251
  },
  "hsl": {
    "h": 244.783,
    "s": 94.521,
    "l": 71.373
  },
  "oklch": {
    "l": 0.62942,
    "c": 0.19873,
    "h": 282.7
  },
  "luminance": 0.2306
}

Semantic roles & 50–950 ramp

primary
#7C71FB
secondary
#F3F6D2
accent
#E600D3
background
#FBF9FF
surface
#F6F2FF
border
#D0CCD7
text
#110E18
muted
#807E86

Preview Lab

Preview with #7C71FB

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

Preview Lab → · Contrast checker → · Palette generator →

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