#7D71F8#7D71F8

#7D71F8 is a light, vivid blue. Relative luminance 0.229; OKLCH L 62.8% C 0.195 H 283.3°. Best body text is #000000 at 5.59:1 contrast (WCAG AA passes).

Color values

HEX#7D71F8
RGBrgb(125, 113, 248)
HSLhsl(245, 91%, 71%)
HSVhsv(245, 54%, 97%)
CMYKcmyk(49.6%, 54.4%, 0%, 2.7%)
CIE-LABlab(55.02, 39.18, -66.34)
CIE-LCHlch(55.02, 77.04, 300.56°)
OKLaboklab(62.81% 0.0447 -0.1895)
OKLCHoklch(62.81% 0.195 283.3)
XYZxyz(31.3007, 22.9459, 91.5684)
Luminance0.2295 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D71F8 #ECF871
analogous
#71A8F8 #7D71F8 #C071F8
triadic
#7D71F8 #F87D71 #71F87D
tetradic
#7D71F8 #F871A8 #ECF871 #71F8C0
square
#7D71F8 #F871A8 #ECF871 #71F8C0
split-complementary
#7D71F8 #F8C071 #A8F871
monochromatic
#1E0BE3 #4837F5 #7D71F8 #B2ABFB #E4E2FE

Accessibility & contrast

On white

3.76
#7D71F8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.59
#7D71F8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7D71F8
5.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D71F8#FFFFFF#000000##000000
##7D71F81.003.765.595.59
#FFFFFF3.761.0021.0021.00
#0000005.5921.001.001.00
##0000005.5921.001.001.00

Color blindness preview

Protanopia (red-blind)
#1E88FD
Deuteranopia (green-blind)
#0B7FF5
Tritanopia (blue-blind)
#4E8FAA
Achromatopsia (no color)
#848484

Design tokens & code

CSS
--color: #7d71f8;
/* rgb */ color: rgb(125, 113, 248);
/* oklch */ color: oklch(62.8% 0.195 283.3);
Tailwind
colors: {
  custom: {
    50: '#ab9afb',
    500: '#7d71f8',
    950: '#000000',
  },
}
SCSS
$custom: #7d71f8;
$custom-light: #ab9afb;
$custom-dark: #000000;
JSON
{
  "hex": "#7d71f8",
  "rgb": {
    "r": 125,
    "g": 113,
    "b": 248
  },
  "hsl": {
    "h": 245.333,
    "s": 90.604,
    "l": 70.784
  },
  "oklch": {
    "l": 0.62814,
    "c": 0.19471,
    "h": 283.3
  },
  "luminance": 0.22948
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #7D71F8

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

Preview Lab → · Contrast checker → · Palette generator →

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