#7E72EB#7E72EB

#7E72EB is a light, vivid blue. Relative luminance 0.225; OKLCH L 62.2% C 0.176 H 284.5°. Best body text is #000000 at 5.49:1 contrast (WCAG AA passes).

Color values

HEX#7E72EB
RGBrgb(126, 114, 235)
HSLhsl(246, 75%, 68%)
HSVhsv(246, 51%, 92%)
CMYKcmyk(46.4%, 51.5%, 0%, 7.8%)
CIE-LABlab(54.52, 35.00, -59.90)
CIE-LCHlch(54.52, 69.38, 300.30°)
OKLaboklab(62.2% 0.0442 -0.1705)
OKLCHoklch(62.2% 0.176 284.5)
XYZxyz(29.6125, 22.4670, 81.3574)
Luminance0.2247 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E72EB #DFEB72
analogous
#72A2EB #7E72EB #BA72EB
triadic
#7E72EB #EB7E72 #72EB7E
tetradic
#7E72EB #EB72A2 #DFEB72 #72EBBA
square
#7E72EB #EB72A2 #DFEB72 #72EBBA
split-complementary
#7E72EB #EBBA72 #A2EB72
monochromatic
#2D1CC6 #4D3CE3 #7E72EB #AFA8F3 #E0DDFA

Accessibility & contrast

On white

3.82
#7E72EB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.49
#7E72EB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7E72EB
5.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E72EB#FFFFFF#000000##000000
##7E72EB1.003.825.495.49
#FFFFFF3.821.0021.0021.00
#0000005.4921.001.001.00
##0000005.4921.001.001.00

Color blindness preview

Protanopia (red-blind)
#3786EF
Deuteranopia (green-blind)
#327FE8
Tritanopia (blue-blind)
#598CA4
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #7e72eb;
/* rgb */ color: rgb(126, 114, 235);
/* oklch */ color: oklch(62.2% 0.176 284.5);
Tailwind
colors: {
  custom: {
    50: '#aa9af2',
    500: '#7e72eb',
    950: '#000000',
  },
}
SCSS
$custom: #7e72eb;
$custom-light: #aa9af2;
$custom-dark: #000000;
JSON
{
  "hex": "#7e72eb",
  "rgb": {
    "r": 126,
    "g": 114,
    "b": 235
  },
  "hsl": {
    "h": 245.95,
    "s": 75.155,
    "l": 68.431
  },
  "oklch": {
    "l": 0.62203,
    "c": 0.17619,
    "h": 284.5
  },
  "luminance": 0.22468
}

Semantic roles & 50–950 ramp

primary
#7E72EB
secondary
#EBEFCA
accent
#D70EC3
background
#FAF9FE
surface
#F5F2FD
border
#CFCCD5
text
#100E17
muted
#7F7E85

Preview Lab

Preview with #7E72EB

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

Preview Lab → · Contrast checker → · Palette generator →

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