#7E72BC#7E72BC

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

Color values

HEX#7E72BC
RGBrgb(126, 114, 188)
HSLhsl(250, 36%, 59%)
HSVhsv(250, 39%, 74%)
CMYKcmyk(33%, 39.4%, 0%, 26.3%)
CIE-LABlab(51.95, 21.80, -37.35)
CIE-LCHlch(51.95, 43.24, 300.27°)
OKLaboklab(59.43% 0.0381 -0.1046)
OKLCHoklch(59.43% 0.111 290)
XYZxyz(23.6962, 20.1005, 50.1985)
Luminance0.2010 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E72BC #B0BC72
analogous
#728BBC #7E72BC #A372BC
triadic
#7E72BC #BC7E72 #72BC7E
tetradic
#7E72BC #BC728B #B0BC72 #72BCA3
square
#7E72BC #BC728B #B0BC72 #72BCA3
split-complementary
#7E72BC #BCA372 #8BBC72
monochromatic
#443A7A #5B4EA3 #7E72BC #A49BD0 #CAC5E3

Accessibility & contrast

On white

4.18
#7E72BC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.02
#7E72BC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7E72BC
5.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E72BC#FFFFFF#000000##000000
##7E72BC1.004.185.025.02
#FFFFFF4.181.0021.0021.00
#0000005.0221.001.001.00
##0000005.0221.001.001.00

Color blindness preview

Protanopia (red-blind)
#5C7DBF
Deuteranopia (green-blind)
#5C7ABA
Tritanopia (blue-blind)
#6F808E
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #7e72bc;
/* rgb */ color: rgb(126, 114, 188);
/* oklch */ color: oklch(59.4% 0.111 290.0);
Tailwind
colors: {
  custom: {
    50: '#a59ad0',
    500: '#7e72bc',
    950: '#000000',
  },
}
SCSS
$custom: #7e72bc;
$custom-light: #a59ad0;
$custom-dark: #000000;
JSON
{
  "hex": "#7e72bc",
  "rgb": {
    "r": 126,
    "g": 114,
    "b": 188
  },
  "hsl": {
    "h": 249.73,
    "s": 35.577,
    "l": 59.216
  },
  "oklch": {
    "l": 0.59433,
    "c": 0.11131,
    "h": 290
  },
  "luminance": 0.20101
}

Semantic roles & 50–950 ramp

primary
#7E72BC
secondary
#CFD3B6
accent
#CC5CBA
background
#FAF9FC
surface
#F4F2F9
border
#CECCD2
text
#0F0E14
muted
#7F7E82

Preview Lab

Preview with #7E72BC

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

Preview Lab → · Contrast checker → · Palette generator →

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