#7E72EA#7E72EA

#7E72EA is a light, vivid blue. Relative luminance 0.224; OKLCH L 62.1% C 0.175 H 284.6°. Best body text is #000000 at 5.48:1 contrast (WCAG AA passes).

Color values

HEX#7E72EA
RGBrgb(126, 114, 234)
HSLhsl(246, 74%, 68%)
HSVhsv(246, 51%, 92%)
CMYKcmyk(46.2%, 51.3%, 0%, 8.2%)
CIE-LABlab(54.46, 34.71, -59.44)
CIE-LCHlch(54.46, 68.83, 300.28°)
OKLaboklab(62.14% 0.0442 -0.1692)
OKLCHoklch(62.14% 0.175 284.6)
XYZxyz(29.4684, 22.4094, 80.5987)
Luminance0.2241 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E72EA #DEEA72
analogous
#72A2EA #7E72EA #BA72EA
triadic
#7E72EA #EA7E72 #72EA7E
tetradic
#7E72EA #EA72A2 #DEEA72 #72EABA
square
#7E72EA #EA72A2 #DEEA72 #72EABA
split-complementary
#7E72EA #EABA72 #A2EA72
monochromatic
#2E1DC4 #4D3DE2 #7E72EA #AFA7F2 #DFDDFA

Accessibility & contrast

On white

3.83
#7E72EA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.48
#7E72EA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7E72EA
5.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E72EA#FFFFFF#000000##000000
##7E72EA1.003.835.485.48
#FFFFFF3.831.0021.0021.00
#0000005.4821.001.001.00
##0000005.4821.001.001.00

Color blindness preview

Protanopia (red-blind)
#3986EE
Deuteranopia (green-blind)
#347FE7
Tritanopia (blue-blind)
#5A8CA3
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #7e72ea;
/* rgb */ color: rgb(126, 114, 234);
/* oklch */ color: oklch(62.1% 0.175 284.6);
Tailwind
colors: {
  custom: {
    50: '#aa9af1',
    500: '#7e72ea',
    950: '#000000',
  },
}
SCSS
$custom: #7e72ea;
$custom-light: #aa9af1;
$custom-dark: #000000;
JSON
{
  "hex": "#7e72ea",
  "rgb": {
    "r": 126,
    "g": 114,
    "b": 234
  },
  "hsl": {
    "h": 246,
    "s": 74.074,
    "l": 68.235
  },
  "oklch": {
    "l": 0.62139,
    "c": 0.17486,
    "h": 284.6
  },
  "luminance": 0.22411
}

Semantic roles & 50–950 ramp

primary
#7E72EA
secondary
#EAEECA
accent
#D60FC2
background
#FAF9FE
surface
#F4F2FD
border
#CECCD5
text
#100E17
muted
#7F7E85

Preview Lab

Preview with #7E72EA

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

Preview Lab → · Contrast checker → · Palette generator →

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