#7D72EC#7D72EC

#7D72EC is a light, vivid blue. Relative luminance 0.225; OKLCH L 62.2% C 0.178 H 284.0°. Best body text is #000000 at 5.49:1 contrast (WCAG AA passes).

Color values

HEX#7D72EC
RGBrgb(125, 114, 236)
HSLhsl(245, 76%, 69%)
HSVhsv(245, 52%, 93%)
CMYKcmyk(47%, 51.7%, 0%, 7.5%)
CIE-LABlab(54.50, 35.07, -60.49)
CIE-LCHlch(54.50, 69.92, 300.10°)
OKLaboklab(62.19% 0.0431 -0.1723)
OKLCHoklch(62.19% 0.178 284)
XYZxyz(29.6106, 22.4493, 82.1135)
Luminance0.2245 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D72EC #E1EC72
analogous
#72A4EC #7D72EC #BA72EC
triadic
#7D72EC #EC7D72 #72EC7D
tetradic
#7D72EC #EC72A4 #E1EC72 #72ECBA
square
#7D72EC #EC72A4 #E1EC72 #72ECBA
split-complementary
#7D72EC #ECBA72 #A4EC72
monochromatic
#2B1BC9 #4B3CE5 #7D72EC #AFA8F3 #E0DEFB

Accessibility & contrast

On white

3.82
#7D72EC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.49
#7D72EC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7D72EC
5.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D72EC#FFFFFF#000000##000000
##7D72EC1.003.825.495.49
#FFFFFF3.821.0021.0021.00
#0000005.4921.001.001.00
##0000005.4921.001.001.00

Color blindness preview

Protanopia (red-blind)
#3686F0
Deuteranopia (green-blind)
#2F7EE9
Tritanopia (blue-blind)
#578DA4
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #7d72ec;
/* rgb */ color: rgb(125, 114, 236);
/* oklch */ color: oklch(62.2% 0.178 284.0);
Tailwind
colors: {
  custom: {
    50: '#a99af3',
    500: '#7d72ec',
    950: '#000000',
  },
}
SCSS
$custom: #7d72ec;
$custom-light: #a99af3;
$custom-dark: #000000;
JSON
{
  "hex": "#7d72ec",
  "rgb": {
    "r": 125,
    "g": 114,
    "b": 236
  },
  "hsl": {
    "h": 245.41,
    "s": 76.25,
    "l": 68.627
  },
  "oklch": {
    "l": 0.62189,
    "c": 0.17763,
    "h": 284
  },
  "luminance": 0.22451
}

Semantic roles & 50–950 ramp

primary
#7D72EC
secondary
#ECEFCB
accent
#D80DC6
background
#FAF9FE
surface
#F4F2FD
border
#CECCD5
text
#100E17
muted
#7F7E85

Preview Lab

Preview with #7D72EC

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

Preview Lab → · Contrast checker → · Palette generator →

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