#7E76E2#7E76E2

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

Color values

HEX#7E76E2
RGBrgb(126, 118, 226)
HSLhsl(244, 65%, 67%)
HSVhsv(244, 48%, 89%)
CMYKcmyk(44.2%, 47.8%, 0%, 11.4%)
CIE-LABlab(54.95, 30.03, -54.17)
CIE-LCHlch(54.95, 61.94, 299.00°)
OKLaboklab(62.36% 0.0388 -0.1537)
OKLCHoklch(62.36% 0.159 284.2)
XYZxyz(28.8061, 22.8822, 74.8357)
Luminance0.2288 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E76E2 #DAE276
analogous
#76A4E2 #7E76E2 #B476E2
triadic
#7E76E2 #E27E76 #76E27E
tetradic
#7E76E2 #E276A4 #DAE276 #76E2B4
square
#7E76E2 #E276A4 #DAE276 #76E2B4
split-complementary
#7E76E2 #E2B476 #A4E276
monochromatic
#3127B7 #4E43D7 #7E76E2 #AEA9ED #DDDBF7

Accessibility & contrast

On white

3.77
#7E76E2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##7E76E2#FFFFFF#000000##000000
##7E76E21.003.775.585.58
#FFFFFF3.771.0021.0021.00
#0000005.5821.001.001.00
##0000005.5821.001.001.00

Color blindness preview

Protanopia (red-blind)
#4987E6
Deuteranopia (green-blind)
#4580E0
Tritanopia (blue-blind)
#5E8DA1
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #7e76e2;
/* rgb */ color: rgb(126, 118, 226);
/* oklch */ color: oklch(62.4% 0.159 284.2);
Tailwind
colors: {
  custom: {
    50: '#a89dec',
    500: '#7e76e2',
    950: '#000000',
  },
}
SCSS
$custom: #7e76e2;
$custom-light: #a89dec;
$custom-dark: #000000;
JSON
{
  "hex": "#7e76e2",
  "rgb": {
    "r": 126,
    "g": 118,
    "b": 226
  },
  "hsl": {
    "h": 244.444,
    "s": 65.06,
    "l": 67.451
  },
  "oklch": {
    "l": 0.62357,
    "c": 0.15853,
    "h": 284.2
  },
  "luminance": 0.22883
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #7E76E2

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

Preview Lab → · Contrast checker → · Palette generator →

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