#7E72BB#7E72BB

#7E72BB is a mid, moderate blue. Relative luminance 0.201; OKLCH L 59.4% C 0.110 H 290.2°. Best body text is #000000 at 5.01:1 contrast (WCAG AA passes).

Color values

HEX#7E72BB
RGBrgb(126, 114, 187)
HSLhsl(250, 35%, 59%)
HSVhsv(250, 39%, 73%)
CMYKcmyk(32.6%, 39%, 0%, 26.7%)
CIE-LABlab(51.90, 21.53, -36.85)
CIE-LCHlch(51.90, 42.68, 300.30°)
OKLaboklab(59.38% 0.0379 -0.1031)
OKLCHoklch(59.38% 0.11 290.2)
XYZxyz(23.5888, 20.0576, 49.6328)
Luminance0.2006 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E72BB #AFBB72
analogous
#728BBB #7E72BB #A372BB
triadic
#7E72BB #BB7E72 #72BB7E
tetradic
#7E72BB #BB728B #AFBB72 #72BBA3
square
#7E72BB #BB728B #AFBB72 #72BBA3
split-complementary
#7E72BB #BBA372 #8BBB72
monochromatic
#443A78 #5C4EA2 #7E72BB #A49BCF #CAC5E3

Accessibility & contrast

On white

4.19
#7E72BB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.01
#7E72BB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7E72BB
5.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E72BB#FFFFFF#000000##000000
##7E72BB1.004.195.015.01
#FFFFFF4.191.0021.0021.00
#0000005.0121.001.001.00
##0000005.0121.001.001.00

Color blindness preview

Protanopia (red-blind)
#5C7DBE
Deuteranopia (green-blind)
#5C7AB9
Tritanopia (blue-blind)
#6F7F8D
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #7e72bb;
/* rgb */ color: rgb(126, 114, 187);
/* oklch */ color: oklch(59.4% 0.110 290.2);
Tailwind
colors: {
  custom: {
    50: '#a59ad0',
    500: '#7e72bb',
    950: '#000000',
  },
}
SCSS
$custom: #7e72bb;
$custom-light: #a59ad0;
$custom-dark: #000000;
JSON
{
  "hex": "#7e72bb",
  "rgb": {
    "r": 126,
    "g": 114,
    "b": 187
  },
  "hsl": {
    "h": 249.863,
    "s": 34.928,
    "l": 59.02
  },
  "oklch": {
    "l": 0.5938,
    "c": 0.10988,
    "h": 290.2
  },
  "luminance": 0.20058
}

Semantic roles & 50–950 ramp

primary
#7E72BB
secondary
#CED3B6
accent
#CB5DB9
background
#FAF9FC
surface
#F4F2F9
border
#CECCD2
text
#0F0E14
muted
#7F7E82

Preview Lab

Preview with #7E72BB

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

Preview Lab → · Contrast checker → · Palette generator →

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