#7F71F7#7F71F7

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

Color values

HEX#7F71F7
RGBrgb(127, 113, 247)
HSLhsl(246, 89%, 71%)
HSVhsv(246, 54%, 97%)
CMYKcmyk(48.6%, 54.3%, 0%, 3.1%)
CIE-LABlab(55.11, 39.29, -65.63)
CIE-LCHlch(55.11, 76.49, 300.91°)
OKLaboklab(62.9% 0.0471 -0.1874)
OKLCHoklch(62.9% 0.193 284.1)
XYZxyz(31.4410, 23.0361, 90.7674)
Luminance0.2304 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F71F7 #E9F771
analogous
#71A6F7 #7F71F7 #C271F7
triadic
#7F71F7 #F77F71 #71F77F
tetradic
#7F71F7 #F771A6 #E9F771 #71F7C2
square
#7F71F7 #F771A6 #E9F771 #71F7C2
split-complementary
#7F71F7 #F7C271 #A6F771
monochromatic
#230DE1 #4B37F4 #7F71F7 #B3ABFA #E5E2FD

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##7F71F7#FFFFFF#000000##000000
##7F71F71.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)
#2188FC
Deuteranopia (green-blind)
#1680F4
Tritanopia (blue-blind)
#538FA9
Achromatopsia (no color)
#848484

Design tokens & code

CSS
--color: #7f71f7;
/* rgb */ color: rgb(127, 113, 247);
/* oklch */ color: oklch(62.9% 0.193 284.1);
Tailwind
colors: {
  custom: {
    50: '#ac9afb',
    500: '#7f71f7',
    950: '#000000',
  },
}
SCSS
$custom: #7f71f7;
$custom-light: #ac9afb;
$custom-dark: #000000;
JSON
{
  "hex": "#7f71f7",
  "rgb": {
    "r": 127,
    "g": 113,
    "b": 247
  },
  "hsl": {
    "h": 246.269,
    "s": 89.333,
    "l": 70.588
  },
  "oklch": {
    "l": 0.62901,
    "c": 0.19318,
    "h": 284.1
  },
  "luminance": 0.23038
}

Semantic roles & 50–950 ramp

primary
#7F71F7
secondary
#F0F4D0
accent
#E600CE
background
#FBF9FF
surface
#F6F2FF
border
#D0CCD7
text
#110E17
muted
#807E85

Preview Lab

Preview with #7F71F7

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

Preview Lab → · Contrast checker → · Palette generator →

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