#7F71EB#7F71EB

#7F71EB is a light, vivid blue. Relative luminance 0.223; OKLCH L 62.1% C 0.177 H 285.2°. Best body text is #000000 at 5.46:1 contrast (WCAG AA passes).

Color values

HEX#7F71EB
RGBrgb(127, 113, 235)
HSLhsl(247, 75%, 68%)
HSVhsv(247, 52%, 92%)
CMYKcmyk(46%, 51.9%, 0%, 7.8%)
CIE-LABlab(54.36, 35.80, -60.15)
CIE-LCHlch(54.36, 70.00, 300.77°)
OKLaboklab(62.11% 0.0466 -0.1713)
OKLCHoklch(62.11% 0.177 285.2)
XYZxyz(29.6485, 22.3191, 81.3270)
Luminance0.2232 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F71EB #DDEB71
analogous
#71A0EB #7F71EB #BC71EB
triadic
#7F71EB #EB7F71 #71EB7F
tetradic
#7F71EB #EB71A0 #DDEB71 #71EBBC
square
#7F71EB #EB71A0 #DDEB71 #71EBBC
split-complementary
#7F71EB #EBBC71 #A0EB71
monochromatic
#2F1CC6 #4F3BE3 #7F71EB #AFA7F3 #E0DCFA

Accessibility & contrast

On white

3.84
#7F71EB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.46
#7F71EB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7F71EB
5.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F71EB#FFFFFF#000000##000000
##7F71EB1.003.845.465.46
#FFFFFF3.841.0021.0021.00
#0000005.4621.001.001.00
##0000005.4621.001.001.00

Color blindness preview

Protanopia (red-blind)
#3586EF
Deuteranopia (green-blind)
#317EE8
Tritanopia (blue-blind)
#5B8BA3
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #7f71eb;
/* rgb */ color: rgb(127, 113, 235);
/* oklch */ color: oklch(62.1% 0.177 285.2);
Tailwind
colors: {
  custom: {
    50: '#aa9af2',
    500: '#7f71eb',
    950: '#000000',
  },
}
SCSS
$custom: #7f71eb;
$custom-light: #aa9af2;
$custom-dark: #000000;
JSON
{
  "hex": "#7f71eb",
  "rgb": {
    "r": 127,
    "g": 113,
    "b": 235
  },
  "hsl": {
    "h": 246.885,
    "s": 75.309,
    "l": 68.235
  },
  "oklch": {
    "l": 0.62107,
    "c": 0.17747,
    "h": 285.2
  },
  "luminance": 0.2232
}

Semantic roles & 50–950 ramp

primary
#7F71EB
secondary
#EAEEC9
accent
#D70EC0
background
#FAF9FE
surface
#F5F2FD
border
#CFCCD5
text
#110E17
muted
#807E85

Preview Lab

Preview with #7F71EB

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

Preview Lab → · Contrast checker → · Palette generator →

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