#7F71F6#7F71F6

#7F71F6 is a light, vivid blue. Relative luminance 0.230; OKLCH L 62.8% C 0.192 H 284.2°. Best body text is #000000 at 5.60:1 contrast (WCAG AA passes).

Color values

HEX#7F71F6
RGBrgb(127, 113, 246)
HSLhsl(246, 88%, 70%)
HSVhsv(246, 54%, 96%)
CMYKcmyk(48.4%, 54.1%, 0%, 3.5%)
CIE-LABlab(55.05, 39.00, -65.17)
CIE-LCHlch(55.05, 75.95, 300.90°)
OKLaboklab(62.83% 0.047 -0.186)
OKLCHoklch(62.83% 0.192 284.2)
XYZxyz(31.2871, 22.9746, 89.9569)
Luminance0.2298 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F71F6 #E8F671
analogous
#71A5F6 #7F71F6 #C271F6
triadic
#7F71F6 #F67F71 #71F67F
tetradic
#7F71F6 #F671A5 #E8F671 #71F6C2
square
#7F71F6 #F671A5 #E8F671 #71F6C2
split-complementary
#7F71F6 #F6C271 #A5F671
monochromatic
#240EDE #4B37F2 #7F71F6 #B3ABFA #E5E2FD

Accessibility & contrast

On white

3.75
#7F71F6 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.60
#7F71F6 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7F71F6
5.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F71F6#FFFFFF#000000##000000
##7F71F61.003.755.605.60
#FFFFFF3.751.0021.0021.00
#0000005.6021.001.001.00
##0000005.6021.001.001.00

Color blindness preview

Protanopia (red-blind)
#2488FB
Deuteranopia (green-blind)
#1980F3
Tritanopia (blue-blind)
#548FA9
Achromatopsia (no color)
#848484

Design tokens & code

CSS
--color: #7f71f6;
/* rgb */ color: rgb(127, 113, 246);
/* oklch */ color: oklch(62.8% 0.192 284.2);
Tailwind
colors: {
  custom: {
    50: '#ac9afa',
    500: '#7f71f6',
    950: '#000000',
  },
}
SCSS
$custom: #7f71f6;
$custom-light: #ac9afa;
$custom-dark: #000000;
JSON
{
  "hex": "#7f71f6",
  "rgb": {
    "r": 127,
    "g": 113,
    "b": 246
  },
  "hsl": {
    "h": 246.316,
    "s": 88.079,
    "l": 70.392
  },
  "oklch": {
    "l": 0.62834,
    "c": 0.19188,
    "h": 284.2
  },
  "luminance": 0.22976
}

Semantic roles & 50–950 ramp

primary
#7F71F6
secondary
#F0F4CF
accent
#E501CD
background
#FBF9FF
surface
#F6F2FF
border
#D0CCD7
text
#110E17
muted
#807E85

Preview Lab

Preview with #7F71F6

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

Preview Lab → · Contrast checker → · Palette generator →

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