#7F71EA#7F71EA

#7F71EA is a light, vivid blue. Relative luminance 0.223; OKLCH L 62.0% C 0.176 H 285.3°. Best body text is #000000 at 5.45:1 contrast (WCAG AA passes).

Color values

HEX#7F71EA
RGBrgb(127, 113, 234)
HSLhsl(247, 74%, 68%)
HSVhsv(247, 52%, 92%)
CMYKcmyk(45.7%, 51.7%, 0%, 8.2%)
CIE-LABlab(54.30, 35.52, -59.68)
CIE-LCHlch(54.30, 69.45, 300.76°)
OKLaboklab(62.04% 0.0465 -0.1699)
OKLCHoklch(62.04% 0.176 285.3)
XYZxyz(29.5045, 22.2615, 80.5682)
Luminance0.2226 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F71EA #DCEA71
analogous
#719FEA #7F71EA #BB71EA
triadic
#7F71EA #EA7F71 #71EA7F
tetradic
#7F71EA #EA719F #DCEA71 #71EABB
square
#7F71EA #EA719F #DCEA71 #71EABB
split-complementary
#7F71EA #EABB71 #9FEA71
monochromatic
#301DC4 #4F3CE2 #7F71EA #AFA6F2 #DFDCFA

Accessibility & contrast

On white

3.85
#7F71EA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.45
#7F71EA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7F71EA
5.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F71EA#FFFFFF#000000##000000
##7F71EA1.003.855.455.45
#FFFFFF3.851.0021.0021.00
#0000005.4521.001.001.00
##0000005.4521.001.001.00

Color blindness preview

Protanopia (red-blind)
#3785EE
Deuteranopia (green-blind)
#337EE7
Tritanopia (blue-blind)
#5C8BA3
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #7f71ea;
/* rgb */ color: rgb(127, 113, 234);
/* oklch */ color: oklch(62.0% 0.176 285.3);
Tailwind
colors: {
  custom: {
    50: '#aa9af1',
    500: '#7f71ea',
    950: '#000000',
  },
}
SCSS
$custom: #7f71ea;
$custom-light: #aa9af1;
$custom-dark: #000000;
JSON
{
  "hex": "#7f71ea",
  "rgb": {
    "r": 127,
    "g": 113,
    "b": 234
  },
  "hsl": {
    "h": 246.942,
    "s": 74.233,
    "l": 68.039
  },
  "oklch": {
    "l": 0.62043,
    "c": 0.17614,
    "h": 285.3
  },
  "luminance": 0.22263
}

Semantic roles & 50–950 ramp

primary
#7F71EA
secondary
#EAEEC9
accent
#D60FBF
background
#FAF9FE
surface
#F5F2FD
border
#CFCCD5
text
#110E17
muted
#807E85

Preview Lab

Preview with #7F71EA

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

Preview Lab → · Contrast checker → · Palette generator →

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