#7E72F8#7E72F8

#7E72F8 is a light, vivid blue. Relative luminance 0.232; OKLCH L 63.1% C 0.193 H 283.4°. Best body text is #000000 at 5.65:1 contrast (WCAG AA passes).

Color values

HEX#7E72F8
RGBrgb(126, 114, 248)
HSLhsl(245, 91%, 71%)
HSVhsv(245, 54%, 97%)
CMYKcmyk(49.2%, 54%, 0%, 2.7%)
CIE-LABlab(55.32, 38.80, -65.84)
CIE-LCHlch(55.32, 76.42, 300.51°)
OKLaboklab(63.06% 0.0448 -0.188)
OKLCHoklch(63.06% 0.193 283.4)
XYZxyz(31.5597, 23.2459, 91.6127)
Luminance0.2325 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E72F8 #ECF872
analogous
#72A9F8 #7E72F8 #C172F8
triadic
#7E72F8 #F87E72 #72F87E
tetradic
#7E72F8 #F872A9 #ECF872 #72F8C1
square
#7E72F8 #F872A9 #ECF872 #72F8C1
split-complementary
#7E72F8 #F8C172 #A9F872
monochromatic
#1F0BE4 #4938F5 #7E72F8 #B3ACFB #E4E2FE

Accessibility & contrast

On white

3.72
#7E72F8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.65
#7E72F8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7E72F8
5.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E72F8#FFFFFF#000000##000000
##7E72F81.003.725.655.65
#FFFFFF3.721.0021.0021.00
#0000005.6521.001.001.00
##0000005.6521.001.001.00

Color blindness preview

Protanopia (red-blind)
#2389FD
Deuteranopia (green-blind)
#1580F5
Tritanopia (blue-blind)
#5090AA
Achromatopsia (no color)
#848484

Design tokens & code

CSS
--color: #7e72f8;
/* rgb */ color: rgb(126, 114, 248);
/* oklch */ color: oklch(63.1% 0.193 283.4);
Tailwind
colors: {
  custom: {
    50: '#ab9bfb',
    500: '#7e72f8',
    950: '#000000',
  },
}
SCSS
$custom: #7e72f8;
$custom-light: #ab9bfb;
$custom-dark: #000000;
JSON
{
  "hex": "#7e72f8",
  "rgb": {
    "r": 126,
    "g": 114,
    "b": 248
  },
  "hsl": {
    "h": 245.373,
    "s": 90.541,
    "l": 70.98
  },
  "oklch": {
    "l": 0.63062,
    "c": 0.19328,
    "h": 283.4
  },
  "luminance": 0.23248
}

Semantic roles & 50–950 ramp

primary
#7E72F8
secondary
#F2F5D1
accent
#E600D1
background
#FBF9FF
surface
#F6F2FF
border
#D0CCD7
text
#110E17
muted
#807E85

Preview Lab

Preview with #7E72F8

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

Preview Lab → · Contrast checker → · Palette generator →

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