#7E72CC#7E72CC

#7E72CC is a mid, vivid blue. Relative luminance 0.208; OKLCH L 60.3% C 0.134 H 287.8°. Best body text is #000000 at 5.17:1 contrast (WCAG AA passes).

Color values

HEX#7E72CC
RGBrgb(126, 114, 204)
HSLhsl(248, 47%, 62%)
HSVhsv(248, 44%, 80%)
CMYKcmyk(38.2%, 44.1%, 0%, 20%)
CIE-LABlab(52.76, 26.17, -45.22)
CIE-LCHlch(52.76, 52.25, 300.06°)
OKLaboklab(60.31% 0.041 -0.1275)
OKLCHoklch(60.31% 0.134 287.8)
XYZxyz(25.5176, 20.8291, 59.7910)
Luminance0.2083 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E72CC #C0CC72
analogous
#7293CC #7E72CC #AB72CC
triadic
#7E72CC #CC7E72 #72CC7E
tetradic
#7E72CC #CC7293 #C0CC72 #72CCAB
square
#7E72CC #CC7293 #C0CC72 #72CCAB
split-complementary
#7E72CC #CCAB72 #93CC72
monochromatic
#403490 #5545BC #7E72CC #A79FDC #D0CCED

Accessibility & contrast

On white

4.07
#7E72CC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.17
#7E72CC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7E72CC
5.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E72CC#FFFFFF#000000##000000
##7E72CC1.004.075.175.17
#FFFFFF4.071.0021.0021.00
#0000005.1721.001.001.00
##0000005.1721.001.001.00

Color blindness preview

Protanopia (red-blind)
#5280CF
Deuteranopia (green-blind)
#527CCA
Tritanopia (blue-blind)
#698495
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #7e72cc;
/* rgb */ color: rgb(126, 114, 204);
/* oklch */ color: oklch(60.3% 0.134 287.8);
Tailwind
colors: {
  custom: {
    50: '#a79adc',
    500: '#7e72cc',
    950: '#000000',
  },
}
SCSS
$custom: #7e72cc;
$custom-light: #a79adc;
$custom-dark: #000000;
JSON
{
  "hex": "#7e72cc",
  "rgb": {
    "r": 126,
    "g": 114,
    "b": 204
  },
  "hsl": {
    "h": 248,
    "s": 46.875,
    "l": 62.353
  },
  "oklch": {
    "l": 0.60314,
    "c": 0.13393,
    "h": 287.8
  },
  "luminance": 0.2083
}

Semantic roles & 50–950 ramp

primary
#7E72CC
secondary
#D9DDBC
accent
#BA2BA7
background
#FAF9FD
surface
#F4F2FB
border
#CECCD4
text
#100E15
muted
#7F7E83

Preview Lab

Preview with #7E72CC

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

Preview Lab → · Contrast checker → · Palette generator →

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