#7E72C8#7E72C8

#7E72C8 is a mid, vivid blue. Relative luminance 0.206; OKLCH L 60.1% C 0.128 H 288.3°. Best body text is #000000 at 5.13:1 contrast (WCAG AA passes).

Color values

HEX#7E72C8
RGBrgb(126, 114, 200)
HSLhsl(248, 44%, 62%)
HSVhsv(248, 43%, 78%)
CMYKcmyk(37%, 43%, 0%, 21.6%)
CIE-LABlab(52.55, 25.06, -43.27)
CIE-LCHlch(52.55, 50.01, 300.08°)
OKLaboklab(60.09% 0.0403 -0.1218)
OKLCHoklch(60.09% 0.128 288.3)
XYZxyz(25.0440, 20.6397, 57.2967)
Luminance0.2064 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E72C8 #BCC872
analogous
#7291C8 #7E72C8 #A972C8
triadic
#7E72C8 #C87E72 #72C87E
tetradic
#7E72C8 #C87291 #BCC872 #72C8A9
square
#7E72C8 #C87291 #BCC872 #72C8A9
split-complementary
#7E72C8 #C8A972 #91C872
monochromatic
#41368A #5647B6 #7E72C8 #A69ED9 #CFCAEA

Accessibility & contrast

On white

4.10
#7E72C8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.13
#7E72C8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7E72C8
5.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E72C8#FFFFFF#000000##000000
##7E72C81.004.105.135.13
#FFFFFF4.101.0021.0021.00
#0000005.1321.001.001.00
##0000005.1321.001.001.00

Color blindness preview

Protanopia (red-blind)
#557FCB
Deuteranopia (green-blind)
#557BC6
Tritanopia (blue-blind)
#6B8393
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #7e72c8;
/* rgb */ color: rgb(126, 114, 200);
/* oklch */ color: oklch(60.1% 0.128 288.3);
Tailwind
colors: {
  custom: {
    50: '#a69ad9',
    500: '#7e72c8',
    950: '#000000',
  },
}
SCSS
$custom: #7e72c8;
$custom-light: #a69ad9;
$custom-dark: #000000;
JSON
{
  "hex": "#7e72c8",
  "rgb": {
    "r": 126,
    "g": 114,
    "b": 200
  },
  "hsl": {
    "h": 248.372,
    "s": 43.878,
    "l": 61.569
  },
  "oklch": {
    "l": 0.60087,
    "c": 0.12833,
    "h": 288.3
  },
  "luminance": 0.2064
}

Semantic roles & 50–950 ramp

primary
#7E72C8
secondary
#D6DBBB
accent
#B72EA4
background
#FAF9FD
surface
#F4F2FA
border
#CECCD3
text
#100E14
muted
#7F7E83

Preview Lab

Preview with #7E72C8

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

Preview Lab → · Contrast checker → · Palette generator →

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