#7C72EA#7C72EA

#7C72EA is a mid, vivid blue. Relative luminance 0.223; OKLCH L 62.0% C 0.175 H 283.8°. Best body text is #000000 at 5.45:1 contrast (WCAG AA passes).

Color values

HEX#7C72EA
RGBrgb(124, 114, 234)
HSLhsl(245, 74%, 68%)
HSVhsv(245, 51%, 92%)
CMYKcmyk(47%, 51.3%, 0%, 8.2%)
CIE-LABlab(54.30, 34.27, -59.70)
CIE-LCHlch(54.30, 68.84, 299.86°)
OKLaboklab(61.98% 0.0418 -0.17)
OKLCHoklch(61.98% 0.175 283.8)
XYZxyz(29.1764, 22.2588, 80.5850)
Luminance0.2226 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C72EA #E0EA72
analogous
#72A4EA #7C72EA #B872EA
triadic
#7C72EA #EA7C72 #72EA7C
tetradic
#7C72EA #EA72A4 #E0EA72 #72EAB8
square
#7C72EA #EA72A4 #E0EA72 #72EAB8
split-complementary
#7C72EA #EAB872 #A4EA72
monochromatic
#2B1DC4 #4B3DE2 #7C72EA #ADA7F2 #DFDDFA

Accessibility & contrast

On white

3.85
#7C72EA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.45
#7C72EA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7C72EA
5.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C72EA#FFFFFF#000000##000000
##7C72EA1.003.855.455.45
#FFFFFF3.851.0021.0021.00
#0000005.4521.001.001.00
##0000005.4521.001.001.00

Color blindness preview

Protanopia (red-blind)
#3886EE
Deuteranopia (green-blind)
#317EE7
Tritanopia (blue-blind)
#568CA3
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #7c72ea;
/* rgb */ color: rgb(124, 114, 234);
/* oklch */ color: oklch(62.0% 0.175 283.8);
Tailwind
colors: {
  custom: {
    50: '#a89af1',
    500: '#7c72ea',
    950: '#000000',
  },
}
SCSS
$custom: #7c72ea;
$custom-light: #a89af1;
$custom-dark: #000000;
JSON
{
  "hex": "#7c72ea",
  "rgb": {
    "r": 124,
    "g": 114,
    "b": 234
  },
  "hsl": {
    "h": 245,
    "s": 74.074,
    "l": 68.235
  },
  "oklch": {
    "l": 0.61981,
    "c": 0.17508,
    "h": 283.8
  },
  "luminance": 0.2226
}

Semantic roles & 50–950 ramp

primary
#7C72EA
secondary
#EBEECA
accent
#D60FC6
background
#FAF9FE
surface
#F4F2FD
border
#CECCD5
text
#100E17
muted
#7F7E85

Preview Lab

Preview with #7C72EA

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

Preview Lab → · Contrast checker → · Palette generator →

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