#7F76E1#7F76E1

#7F76E1 is a light, vivid blue. Relative luminance 0.229; OKLCH L 62.4% C 0.157 H 284.7°. Best body text is #000000 at 5.58:1 contrast (WCAG AA passes).

Color values

HEX#7F76E1
RGBrgb(127, 118, 225)
HSLhsl(245, 64%, 67%)
HSVhsv(245, 48%, 88%)
CMYKcmyk(43.6%, 47.6%, 0%, 11.8%)
CIE-LABlab(54.97, 29.98, -53.57)
CIE-LCHlch(54.97, 61.39, 299.23°)
OKLaboklab(62.38% 0.0398 -0.1519)
OKLCHoklch(62.38% 0.157 284.7)
XYZxyz(28.8175, 22.9039, 74.1221)
Luminance0.2291 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F76E1 #D8E176
analogous
#76A2E1 #7F76E1 #B576E1
triadic
#7F76E1 #E17F76 #76E17F
tetradic
#7F76E1 #E176A2 #D8E176 #76E1B5
square
#7F76E1 #E176A2 #D8E176 #76E1B5
split-complementary
#7F76E1 #E1B576 #A2E176
monochromatic
#3428B5 #5044D6 #7F76E1 #AEA8EC #DDDAF7

Accessibility & contrast

On white

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

On black

5.58
#7F76E1 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7F76E1
5.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F76E1#FFFFFF#000000##000000
##7F76E11.003.765.585.58
#FFFFFF3.761.0021.0021.00
#0000005.5821.001.001.00
##0000005.5821.001.001.00

Color blindness preview

Protanopia (red-blind)
#4A87E5
Deuteranopia (green-blind)
#4780DF
Tritanopia (blue-blind)
#608CA1
Achromatopsia (no color)
#848484

Design tokens & code

CSS
--color: #7f76e1;
/* rgb */ color: rgb(127, 118, 225);
/* oklch */ color: oklch(62.4% 0.157 284.7);
Tailwind
colors: {
  custom: {
    50: '#a99deb',
    500: '#7f76e1',
    950: '#000000',
  },
}
SCSS
$custom: #7f76e1;
$custom-light: #a99deb;
$custom-dark: #000000;
JSON
{
  "hex": "#7f76e1",
  "rgb": {
    "r": 127,
    "g": 118,
    "b": 225
  },
  "hsl": {
    "h": 245.047,
    "s": 64.072,
    "l": 67.255
  },
  "oklch": {
    "l": 0.62376,
    "c": 0.15706,
    "h": 284.7
  },
  "luminance": 0.22905
}

Semantic roles & 50–950 ramp

primary
#7F76E1
secondary
#E7EAC9
accent
#CC1ABD
background
#FAF9FE
surface
#F4F2FD
border
#CECCD5
text
#100E16
muted
#7F7E84

Preview Lab

Preview with #7F76E1

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

Preview Lab → · Contrast checker → · Palette generator →

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