#7F71F8#7F71F8

#7F71F8 is a light, vivid blue. Relative luminance 0.231; OKLCH L 63.0% C 0.194 H 284.0°. Best body text is #000000 at 5.62:1 contrast (WCAG AA passes).

Color values

HEX#7F71F8
RGBrgb(127, 113, 248)
HSLhsl(246, 91%, 71%)
HSVhsv(246, 54%, 97%)
CMYKcmyk(48.8%, 54.4%, 0%, 2.7%)
CIE-LABlab(55.17, 39.58, -66.08)
CIE-LCHlch(55.17, 77.03, 300.92°)
OKLaboklab(62.97% 0.0471 -0.1887)
OKLCHoklch(62.97% 0.194 284)
XYZxyz(31.5957, 23.0980, 91.5823)
Luminance0.2310 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F71F8 #EAF871
analogous
#71A6F8 #7F71F8 #C271F8
triadic
#7F71F8 #F87F71 #71F87F
tetradic
#7F71F8 #F871A6 #EAF871 #71F8C2
square
#7F71F8 #F871A6 #EAF871 #71F8C2
split-complementary
#7F71F8 #F8C271 #A6F871
monochromatic
#220BE3 #4A37F5 #7F71F8 #B4ABFB #E5E2FE

Accessibility & contrast

On white

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

On black

5.62
#7F71F8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7F71F8
5.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F71F8#FFFFFF#000000##000000
##7F71F81.003.745.625.62
#FFFFFF3.741.0021.0021.00
#0000005.6221.001.001.00
##0000005.6221.001.001.00

Color blindness preview

Protanopia (red-blind)
#1F88FD
Deuteranopia (green-blind)
#1280F5
Tritanopia (blue-blind)
#538FAA
Achromatopsia (no color)
#848484

Design tokens & code

CSS
--color: #7f71f8;
/* rgb */ color: rgb(127, 113, 248);
/* oklch */ color: oklch(63.0% 0.194 284.0);
Tailwind
colors: {
  custom: {
    50: '#ac9afb',
    500: '#7f71f8',
    950: '#000000',
  },
}
SCSS
$custom: #7f71f8;
$custom-light: #ac9afb;
$custom-dark: #000000;
JSON
{
  "hex": "#7f71f8",
  "rgb": {
    "r": 127,
    "g": 113,
    "b": 248
  },
  "hsl": {
    "h": 246.222,
    "s": 90.604,
    "l": 70.784
  },
  "oklch": {
    "l": 0.62969,
    "c": 0.19447,
    "h": 284
  },
  "luminance": 0.231
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #7F71F8

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

Preview Lab → · Contrast checker → · Palette generator →

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