#7F76E2#7F76E2

#7F76E2 is a light, vivid blue. Relative luminance 0.230; OKLCH L 62.4% C 0.158 H 284.6°. Best body text is #000000 at 5.59:1 contrast (WCAG AA passes).

Color values

HEX#7F76E2
RGBrgb(127, 118, 226)
HSLhsl(245, 65%, 67%)
HSVhsv(245, 48%, 89%)
CMYKcmyk(43.8%, 47.8%, 0%, 11.4%)
CIE-LABlab(55.03, 30.27, -54.04)
CIE-LCHlch(55.03, 61.94, 299.25°)
OKLaboklab(62.44% 0.04 -0.1533)
OKLCHoklch(62.44% 0.158 284.6)
XYZxyz(28.9543, 22.9587, 74.8426)
Luminance0.2296 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F76E2 #D9E276
analogous
#76A3E2 #7F76E2 #B576E2
triadic
#7F76E2 #E27F76 #76E27F
tetradic
#7F76E2 #E276A3 #D9E276 #76E2B5
square
#7F76E2 #E276A3 #D9E276 #76E2B5
split-complementary
#7F76E2 #E2B576 #A3E276
monochromatic
#3327B7 #5043D7 #7F76E2 #AEA9ED #DDDBF7

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##7F76E2#FFFFFF#000000##000000
##7F76E21.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)
#4987E6
Deuteranopia (green-blind)
#4680E0
Tritanopia (blue-blind)
#608CA1
Achromatopsia (no color)
#848484

Design tokens & code

CSS
--color: #7f76e2;
/* rgb */ color: rgb(127, 118, 226);
/* oklch */ color: oklch(62.4% 0.158 284.6);
Tailwind
colors: {
  custom: {
    50: '#a99dec',
    500: '#7f76e2',
    950: '#000000',
  },
}
SCSS
$custom: #7f76e2;
$custom-light: #a99dec;
$custom-dark: #000000;
JSON
{
  "hex": "#7f76e2",
  "rgb": {
    "r": 127,
    "g": 118,
    "b": 226
  },
  "hsl": {
    "h": 245,
    "s": 65.06,
    "l": 67.451
  },
  "oklch": {
    "l": 0.62436,
    "c": 0.15842,
    "h": 284.6
  },
  "luminance": 0.2296
}

Semantic roles & 50–950 ramp

primary
#7F76E2
secondary
#E8EBC9
accent
#CD19BE
background
#FAF9FE
surface
#F4F2FD
border
#CECCD5
text
#100E16
muted
#7F7E84

Preview Lab

Preview with #7F76E2

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

Preview Lab → · Contrast checker → · Palette generator →

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