#7F76EC#7F76EC

#7F76EC is a light, vivid blue. Relative luminance 0.235; OKLCH L 63.1% C 0.172 H 283.8°. Best body text is #000000 at 5.71:1 contrast (WCAG AA passes).

Color values

HEX#7F76EC
RGBrgb(127, 118, 236)
HSLhsl(245, 76%, 69%)
HSVhsv(245, 50%, 93%)
CMYKcmyk(46.2%, 50%, 0%, 7.5%)
CIE-LABlab(55.61, 33.16, -58.71)
CIE-LCHlch(55.61, 67.43, 299.46°)
OKLaboklab(63.06% 0.0409 -0.167)
OKLCHoklch(63.06% 0.172 283.8)
XYZxyz(30.3667, 23.5236, 82.2811)
Luminance0.2352 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F76EC #E3EC76
analogous
#76A8EC #7F76EC #BA76EC
triadic
#7F76EC #EC7F76 #76EC7F
tetradic
#7F76EC #EC76A8 #E3EC76 #76ECBA
square
#7F76EC #EC76A8 #E3EC76 #76ECBA
split-complementary
#7F76EC #ECBA76 #A8EC76
monochromatic
#2A1CCB #4D40E5 #7F76EC #B1ACF3 #E3E1FB

Accessibility & contrast

On white

3.68
#7F76EC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.71
#7F76EC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7F76EC
5.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F76EC#FFFFFF#000000##000000
##7F76EC1.003.685.715.71
#FFFFFF3.681.0021.0021.00
#0000005.7121.001.001.00
##0000005.7121.001.001.00

Color blindness preview

Protanopia (red-blind)
#4089F0
Deuteranopia (green-blind)
#3A81E9
Tritanopia (blue-blind)
#5A8FA6
Achromatopsia (no color)
#858585

Design tokens & code

CSS
--color: #7f76ec;
/* rgb */ color: rgb(127, 118, 236);
/* oklch */ color: oklch(63.1% 0.172 283.8);
Tailwind
colors: {
  custom: {
    50: '#aa9df3',
    500: '#7f76ec',
    950: '#000000',
  },
}
SCSS
$custom: #7f76ec;
$custom-light: #aa9df3;
$custom-dark: #000000;
JSON
{
  "hex": "#7f76ec",
  "rgb": {
    "r": 127,
    "g": 118,
    "b": 236
  },
  "hsl": {
    "h": 244.576,
    "s": 75.641,
    "l": 69.412
  },
  "oklch": {
    "l": 0.63057,
    "c": 0.17193,
    "h": 283.8
  },
  "luminance": 0.23525
}

Semantic roles & 50–950 ramp

primary
#7F76EC
secondary
#EDF0CE
accent
#D80EC8
background
#FAF9FE
surface
#F5F2FD
border
#CFCCD5
text
#100E17
muted
#7F7E85

Preview Lab

Preview with #7F76EC

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

Preview Lab → · Contrast checker → · Palette generator →

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