#7E72EF#7E72EF

#7E72EF is a light, vivid blue. Relative luminance 0.227; OKLCH L 62.5% C 0.181 H 284.2°. Best body text is #000000 at 5.54:1 contrast (WCAG AA passes).

Color values

HEX#7E72EF
RGBrgb(126, 114, 239)
HSLhsl(246, 80%, 69%)
HSVhsv(246, 52%, 94%)
CMYKcmyk(47.3%, 52.3%, 0%, 6.3%)
CIE-LABlab(54.76, 36.16, -61.74)
CIE-LCHlch(54.76, 71.55, 300.36°)
OKLaboklab(62.46% 0.0445 -0.176)
OKLCHoklch(62.46% 0.181 284.2)
XYZxyz(30.1969, 22.7008, 84.4352)
Luminance0.2270 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E72EF #E3EF72
analogous
#72A5EF #7E72EF #BD72EF
triadic
#7E72EF #EF7E72 #72EF7E
tetradic
#7E72EF #EF72A5 #E3EF72 #72EFBD
square
#7E72EF #EF72A5 #E3EF72 #72EFBD
split-complementary
#7E72EF #EFBD72 #A5EF72
monochromatic
#2918CF #4C3BE9 #7E72EF #B0A9F5 #E3E0FB

Accessibility & contrast

On white

3.79
#7E72EF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.54
#7E72EF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7E72EF
5.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E72EF#FFFFFF#000000##000000
##7E72EF1.003.795.545.54
#FFFFFF3.791.0021.0021.00
#0000005.5421.001.001.00
##0000005.5421.001.001.00

Color blindness preview

Protanopia (red-blind)
#3287F3
Deuteranopia (green-blind)
#2C7FEC
Tritanopia (blue-blind)
#578DA6
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #7e72ef;
/* rgb */ color: rgb(126, 114, 239);
/* oklch */ color: oklch(62.5% 0.181 284.2);
Tailwind
colors: {
  custom: {
    50: '#aa9bf5',
    500: '#7e72ef',
    950: '#000000',
  },
}
SCSS
$custom: #7e72ef;
$custom-light: #aa9bf5;
$custom-dark: #000000;
JSON
{
  "hex": "#7e72ef",
  "rgb": {
    "r": 126,
    "g": 114,
    "b": 239
  },
  "hsl": {
    "h": 245.76,
    "s": 79.618,
    "l": 69.216
  },
  "oklch": {
    "l": 0.62464,
    "c": 0.18149,
    "h": 284.2
  },
  "luminance": 0.22702
}

Semantic roles & 50–950 ramp

primary
#7E72EF
secondary
#EDF1CC
accent
#DC0AC8
background
#FAF9FF
surface
#F5F2FE
border
#CFCCD6
text
#110E17
muted
#807E85

Preview Lab

Preview with #7E72EF

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

Preview Lab → · Contrast checker → · Palette generator →

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