#7C72EB#7C72EB

#7C72EB is a light, vivid blue. Relative luminance 0.223; OKLCH L 62.0% C 0.176 H 283.7°. Best body text is #000000 at 5.46:1 contrast (WCAG AA passes).

Color values

HEX#7C72EB
RGBrgb(124, 114, 235)
HSLhsl(245, 75%, 68%)
HSVhsv(245, 51%, 92%)
CMYKcmyk(47.2%, 51.5%, 0%, 7.8%)
CIE-LABlab(54.36, 34.56, -60.16)
CIE-LCHlch(54.36, 69.38, 299.88°)
OKLaboklab(62.05% 0.0419 -0.1714)
OKLCHoklch(62.05% 0.176 283.7)
XYZxyz(29.3204, 22.3165, 81.3437)
Luminance0.2232 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C72EB #E1EB72
analogous
#72A4EB #7C72EB #B872EB
triadic
#7C72EB #EB7C72 #72EB7C
tetradic
#7C72EB #EB72A4 #E1EB72 #72EBB8
square
#7C72EB #EB72A4 #E1EB72 #72EBB8
split-complementary
#7C72EB #EBB872 #A4EB72
monochromatic
#2A1CC6 #4A3CE3 #7C72EB #AEA8F3 #E0DDFA

Accessibility & contrast

On white

3.84
#7C72EB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.46
#7C72EB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7C72EB
5.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C72EB#FFFFFF#000000##000000
##7C72EB1.003.845.465.46
#FFFFFF3.841.0021.0021.00
#0000005.4621.001.001.00
##0000005.4621.001.001.00

Color blindness preview

Protanopia (red-blind)
#3786EF
Deuteranopia (green-blind)
#307EE8
Tritanopia (blue-blind)
#558CA4
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #7c72eb;
/* rgb */ color: rgb(124, 114, 235);
/* oklch */ color: oklch(62.0% 0.176 283.7);
Tailwind
colors: {
  custom: {
    50: '#a89af2',
    500: '#7c72eb',
    950: '#000000',
  },
}
SCSS
$custom: #7c72eb;
$custom-light: #a89af2;
$custom-dark: #000000;
JSON
{
  "hex": "#7c72eb",
  "rgb": {
    "r": 124,
    "g": 114,
    "b": 235
  },
  "hsl": {
    "h": 244.959,
    "s": 75.155,
    "l": 68.431
  },
  "oklch": {
    "l": 0.62046,
    "c": 0.17641,
    "h": 283.7
  },
  "luminance": 0.22318
}

Semantic roles & 50–950 ramp

primary
#7C72EB
secondary
#ECEFCA
accent
#D70EC7
background
#FAF9FE
surface
#F4F2FD
border
#CECCD5
text
#100E17
muted
#7F7E85

Preview Lab

Preview with #7C72EB

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

Preview Lab → · Contrast checker → · Palette generator →

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