#7D72EB#7D72EB

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

Color values

HEX#7D72EB
RGBrgb(125, 114, 235)
HSLhsl(245, 75%, 68%)
HSVhsv(245, 51%, 92%)
CMYKcmyk(46.8%, 51.5%, 0%, 7.8%)
CIE-LABlab(54.44, 34.78, -60.03)
CIE-LCHlch(54.44, 69.38, 300.09°)
OKLaboklab(62.12% 0.0431 -0.171)
OKLCHoklch(62.12% 0.176 284.1)
XYZxyz(29.4657, 22.3914, 81.3505)
Luminance0.2239 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D72EB #E0EB72
analogous
#72A3EB #7D72EB #BA72EB
triadic
#7D72EB #EB7D72 #72EB7D
tetradic
#7D72EB #EB72A3 #E0EB72 #72EBBA
square
#7D72EB #EB72A3 #E0EB72 #72EBBA
split-complementary
#7D72EB #EBBA72 #A3EB72
monochromatic
#2C1CC6 #4C3CE3 #7D72EB #AEA8F3 #E0DDFA

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##7D72EB#FFFFFF#000000##000000
##7D72EB1.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)
#3786EF
Deuteranopia (green-blind)
#317EE8
Tritanopia (blue-blind)
#578CA4
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #7d72eb;
/* rgb */ color: rgb(125, 114, 235);
/* oklch */ color: oklch(62.1% 0.176 284.1);
Tailwind
colors: {
  custom: {
    50: '#a99af2',
    500: '#7d72eb',
    950: '#000000',
  },
}
SCSS
$custom: #7d72eb;
$custom-light: #a99af2;
$custom-dark: #000000;
JSON
{
  "hex": "#7d72eb",
  "rgb": {
    "r": 125,
    "g": 114,
    "b": 235
  },
  "hsl": {
    "h": 245.455,
    "s": 75.155,
    "l": 68.431
  },
  "oklch": {
    "l": 0.62124,
    "c": 0.1763,
    "h": 284.1
  },
  "luminance": 0.22393
}

Semantic roles & 50–950 ramp

primary
#7D72EB
secondary
#EBEFCA
accent
#D70EC5
background
#FAF9FE
surface
#F4F2FD
border
#CECCD5
text
#100E17
muted
#7F7E85

Preview Lab

Preview with #7D72EB

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

Preview Lab → · Contrast checker → · Palette generator →

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