#7E72FE#7E72FE

#7E72FE is a light, highly saturated blue. Relative luminance 0.236; OKLCH L 63.5% C 0.201 H 282.9°. Best body text is #000000 at 5.73:1 contrast (WCAG AA passes).

Color values

HEX#7E72FE
RGBrgb(126, 114, 254)
HSLhsl(245, 99%, 72%)
HSVhsv(245, 55%, 100%)
CMYKcmyk(50.4%, 55.1%, 0%, 0.4%)
CIE-LABlab(55.71, 40.56, -68.54)
CIE-LCHlch(55.71, 79.64, 300.62°)
OKLaboklab(63.47% 0.0449 -0.1959)
OKLCHoklch(63.47% 0.201 282.9)
XYZxyz(32.5055, 23.6242, 96.5939)
Luminance0.2363 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E72FE #F2FE72
analogous
#72ACFE #7E72FE #C472FE
triadic
#7E72FE #FE7E72 #72FE7E
tetradic
#7E72FE #FE72AC #F2FE72 #72FEC4
square
#7E72FE #FE72AC #F2FE72 #72FEC4
split-complementary
#7E72FE #FEC472 #ACFE72
monochromatic
#1602F4 #4635FE #7E72FE #B6AFFE #E3E1FF

Accessibility & contrast

On white

3.67
#7E72FE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.73
#7E72FE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7E72FE
5.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E72FE#FFFFFF#000000##000000
##7E72FE1.003.675.735.73
#FFFFFF3.671.0021.0021.00
#0000005.7321.001.001.00
##0000005.7321.001.001.00

Color blindness preview

Protanopia (red-blind)
#128AFF
Deuteranopia (green-blind)
#0081FB
Tritanopia (blue-blind)
#4C92AD
Achromatopsia (no color)
#858585

Design tokens & code

CSS
--color: #7e72fe;
/* rgb */ color: rgb(126, 114, 254);
/* oklch */ color: oklch(63.5% 0.201 282.9);
Tailwind
colors: {
  custom: {
    50: '#ac9bff',
    500: '#7e72fe',
    950: '#000000',
  },
}
SCSS
$custom: #7e72fe;
$custom-light: #ac9bff;
$custom-dark: #000000;
JSON
{
  "hex": "#7e72fe",
  "rgb": {
    "r": 126,
    "g": 114,
    "b": 254
  },
  "hsl": {
    "h": 245.143,
    "s": 98.592,
    "l": 72.157
  },
  "oklch": {
    "l": 0.6347,
    "c": 0.20103,
    "h": 282.9
  },
  "luminance": 0.23626
}

Semantic roles & 50–950 ramp

primary
#7E72FE
secondary
#F4F7D4
accent
#E600D2
background
#FBF9FF
surface
#F6F2FF
border
#D0CCD7
text
#110E18
muted
#807E86

Preview Lab

Preview with #7E72FE

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

Preview Lab → · Contrast checker → · Palette generator →

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