#7E72F5#7E72F5

#7E72F5 is a light, vivid blue. Relative luminance 0.231; OKLCH L 62.9% C 0.189 H 283.7°. Best body text is #000000 at 5.61:1 contrast (WCAG AA passes).

Color values

HEX#7E72F5
RGBrgb(126, 114, 245)
HSLhsl(245, 87%, 70%)
HSVhsv(245, 53%, 96%)
CMYKcmyk(48.6%, 53.5%, 0%, 3.9%)
CIE-LABlab(55.14, 37.92, -64.48)
CIE-LCHlch(55.14, 74.80, 300.46°)
OKLaboklab(62.86% 0.0447 -0.184)
OKLCHoklch(62.86% 0.189 283.7)
XYZxyz(31.0980, 23.0613, 89.1812)
Luminance0.2306 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E72F5 #E9F572
analogous
#72A7F5 #7E72F5 #BF72F5
triadic
#7E72F5 #F57E72 #72F57E
tetradic
#7E72F5 #F572A7 #E9F572 #72F5BF
square
#7E72F5 #F572A7 #E9F572 #72F5BF
split-complementary
#7E72F5 #F5BF72 #A7F572
monochromatic
#2210DD #4A39F1 #7E72F5 #B2ABF9 #E5E2FD

Accessibility & contrast

On white

3.74
#7E72F5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.61
#7E72F5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7E72F5
5.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E72F5#FFFFFF#000000##000000
##7E72F51.003.745.615.61
#FFFFFF3.741.0021.0021.00
#0000005.6121.001.001.00
##0000005.6121.001.001.00

Color blindness preview

Protanopia (red-blind)
#2988FA
Deuteranopia (green-blind)
#1E80F2
Tritanopia (blue-blind)
#538FA9
Achromatopsia (no color)
#848484

Design tokens & code

CSS
--color: #7e72f5;
/* rgb */ color: rgb(126, 114, 245);
/* oklch */ color: oklch(62.9% 0.189 283.7);
Tailwind
colors: {
  custom: {
    50: '#ab9bf9',
    500: '#7e72f5',
    950: '#000000',
  },
}
SCSS
$custom: #7e72f5;
$custom-light: #ab9bf9;
$custom-dark: #000000;
JSON
{
  "hex": "#7e72f5",
  "rgb": {
    "r": 126,
    "g": 114,
    "b": 245
  },
  "hsl": {
    "h": 245.496,
    "s": 86.755,
    "l": 70.392
  },
  "oklch": {
    "l": 0.62861,
    "c": 0.18937,
    "h": 283.7
  },
  "luminance": 0.23063
}

Semantic roles & 50–950 ramp

primary
#7E72F5
secondary
#F0F3CF
accent
#E302CF
background
#FBF9FF
surface
#F6F2FF
border
#D0CCD7
text
#110E17
muted
#807E85

Preview Lab

Preview with #7E72F5

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

Preview Lab → · Contrast checker → · Palette generator →

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