#7F71F4#7F71F4

#7F71F4 is a light, vivid blue. Relative luminance 0.229; OKLCH L 62.7% C 0.189 H 284.4°. Best body text is #000000 at 5.57:1 contrast (WCAG AA passes).

Color values

HEX#7F71F4
RGBrgb(127, 113, 244)
HSLhsl(246, 86%, 70%)
HSVhsv(246, 54%, 96%)
CMYKcmyk(48%, 53.7%, 0%, 4.3%)
CIE-LABlab(54.92, 38.42, -64.27)
CIE-LCHlch(54.92, 74.87, 300.87°)
OKLaboklab(62.7% 0.047 -0.1834)
OKLCHoklch(62.7% 0.189 284.4)
XYZxyz(30.9818, 22.8524, 88.3489)
Luminance0.2285 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F71F4 #E6F471
analogous
#71A5F4 #7F71F4 #C071F4
triadic
#7F71F4 #F47F71 #71F47F
tetradic
#7F71F4 #F471A5 #E6F471 #71F4C0
square
#7F71F4 #F471A5 #E6F471 #71F4C0
split-complementary
#7F71F4 #F4C071 #A5F471
monochromatic
#2611DA #4C38F0 #7F71F4 #B2AAF8 #E5E3FD

Accessibility & contrast

On white

3.77
#7F71F4 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.57
#7F71F4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7F71F4
5.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F71F4#FFFFFF#000000##000000
##7F71F41.003.775.575.57
#FFFFFF3.771.0021.0021.00
#0000005.5721.001.001.00
##0000005.5721.001.001.00

Color blindness preview

Protanopia (red-blind)
#2887F8
Deuteranopia (green-blind)
#1F7FF1
Tritanopia (blue-blind)
#568EA8
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #7f71f4;
/* rgb */ color: rgb(127, 113, 244);
/* oklch */ color: oklch(62.7% 0.189 284.4);
Tailwind
colors: {
  custom: {
    50: '#ab9af8',
    500: '#7f71f4',
    950: '#000000',
  },
}
SCSS
$custom: #7f71f4;
$custom-light: #ab9af8;
$custom-dark: #000000;
JSON
{
  "hex": "#7f71f4",
  "rgb": {
    "r": 127,
    "g": 113,
    "b": 244
  },
  "hsl": {
    "h": 246.412,
    "s": 85.621,
    "l": 70
  },
  "oklch": {
    "l": 0.627,
    "c": 0.18928,
    "h": 284.4
  },
  "luminance": 0.22854
}

Semantic roles & 50–950 ramp

primary
#7F71F4
secondary
#EFF3CE
accent
#E203CA
background
#FBF9FF
surface
#F6F2FF
border
#D0CCD7
text
#110E17
muted
#807E85

Preview Lab

Preview with #7F71F4

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

Preview Lab → · Contrast checker → · Palette generator →

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