#7E72BD#7E72BD

#7E72BD is a mid, moderate blue. Relative luminance 0.201; OKLCH L 59.5% C 0.113 H 289.9°. Best body text is #000000 at 5.03:1 contrast (WCAG AA passes).

Color values

HEX#7E72BD
RGBrgb(126, 114, 189)
HSLhsl(250, 36%, 59%)
HSVhsv(250, 40%, 74%)
CMYKcmyk(33.3%, 39.7%, 0%, 25.9%)
CIE-LABlab(52.00, 22.07, -37.85)
CIE-LCHlch(52.00, 43.81, 300.25°)
OKLaboklab(59.49% 0.0383 -0.106)
OKLCHoklch(59.49% 0.113 289.9)
XYZxyz(23.8044, 20.1438, 50.7682)
Luminance0.2014 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E72BD #B1BD72
analogous
#728CBD #7E72BD #A472BD
triadic
#7E72BD #BD7E72 #72BD7E
tetradic
#7E72BD #BD728C #B1BD72 #72BDA4
square
#7E72BD #BD728C #B1BD72 #72BDA4
split-complementary
#7E72BD #BDA472 #8CBD72
monochromatic
#443A7B #5B4DA5 #7E72BD #A49CD1 #CAC5E4

Accessibility & contrast

On white

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

On black

5.03
#7E72BD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7E72BD
5.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E72BD#FFFFFF#000000##000000
##7E72BD1.004.185.035.03
#FFFFFF4.181.0021.0021.00
#0000005.0321.001.001.00
##0000005.0321.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #7e72bd;
/* rgb */ color: rgb(126, 114, 189);
/* oklch */ color: oklch(59.5% 0.113 289.9);
Tailwind
colors: {
  custom: {
    50: '#a59ad1',
    500: '#7e72bd',
    950: '#000000',
  },
}
SCSS
$custom: #7e72bd;
$custom-light: #a59ad1;
$custom-dark: #000000;
JSON
{
  "hex": "#7e72bd",
  "rgb": {
    "r": 126,
    "g": 114,
    "b": 189
  },
  "hsl": {
    "h": 249.6,
    "s": 36.232,
    "l": 59.412
  },
  "oklch": {
    "l": 0.59486,
    "c": 0.11274,
    "h": 289.9
  },
  "luminance": 0.20144
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #7E72BD

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

Preview Lab → · Contrast checker → · Palette generator →

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