#7E72BF#7E72BF

#7E72BF is a mid, moderate blue. Relative luminance 0.202; OKLCH L 59.6% C 0.116 H 289.6°. Best body text is #000000 at 5.05:1 contrast (WCAG AA passes).

Color values

HEX#7E72BF
RGBrgb(126, 114, 191)
HSLhsl(249, 38%, 60%)
HSVhsv(249, 40%, 75%)
CMYKcmyk(34%, 40.3%, 0%, 25.1%)
CIE-LABlab(52.10, 22.61, -38.84)
CIE-LCHlch(52.10, 44.94, 300.20°)
OKLaboklab(59.59% 0.0387 -0.1089)
OKLCHoklch(59.59% 0.116 289.6)
XYZxyz(24.0230, 20.2312, 51.9194)
Luminance0.2023 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E72BF #B3BF72
analogous
#728CBF #7E72BF #A572BF
triadic
#7E72BF #BF7E72 #72BF7E
tetradic
#7E72BF #BF728C #B3BF72 #72BFA5
square
#7E72BF #BF728C #B3BF72 #72BFA5
split-complementary
#7E72BF #BFA572 #8CBF72
monochromatic
#44397E #5A4CA8 #7E72BF #A59CD2 #CBC6E5

Accessibility & contrast

On white

4.16
#7E72BF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.05
#7E72BF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7E72BF
5.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E72BF#FFFFFF#000000##000000
##7E72BF1.004.165.055.05
#FFFFFF4.161.0021.0021.00
#0000005.0521.001.001.00
##0000005.0521.001.001.00

Color blindness preview

Protanopia (red-blind)
#5A7EC2
Deuteranopia (green-blind)
#5A7ABD
Tritanopia (blue-blind)
#6E808F
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #7e72bf;
/* rgb */ color: rgb(126, 114, 191);
/* oklch */ color: oklch(59.6% 0.116 289.6);
Tailwind
colors: {
  custom: {
    50: '#a69ad2',
    500: '#7e72bf',
    950: '#000000',
  },
}
SCSS
$custom: #7e72bf;
$custom-light: #a69ad2;
$custom-dark: #000000;
JSON
{
  "hex": "#7e72bf",
  "rgb": {
    "r": 126,
    "g": 114,
    "b": 191
  },
  "hsl": {
    "h": 249.351,
    "s": 37.561,
    "l": 59.804
  },
  "oklch": {
    "l": 0.59593,
    "c": 0.11559,
    "h": 289.6
  },
  "luminance": 0.20232
}

Semantic roles & 50–950 ramp

primary
#7E72BF
secondary
#D1D5B8
accent
#CE5ABC
background
#FAF9FC
surface
#F4F2F9
border
#CECCD2
text
#0F0E14
muted
#7F7E82

Preview Lab

Preview with #7E72BF

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

Preview Lab → · Contrast checker → · Palette generator →

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