#7E72BE#7E72BE

#7E72BE is a mid, moderate blue. Relative luminance 0.202; OKLCH L 59.5% C 0.114 H 289.7°. Best body text is #000000 at 5.04:1 contrast (WCAG AA passes).

Color values

HEX#7E72BE
RGBrgb(126, 114, 190)
HSLhsl(249, 37%, 60%)
HSVhsv(249, 40%, 75%)
CMYKcmyk(33.7%, 40%, 0%, 25.5%)
CIE-LABlab(52.05, 22.34, -38.34)
CIE-LCHlch(52.05, 44.37, 300.22°)
OKLaboklab(59.54% 0.0385 -0.1075)
OKLCHoklch(59.54% 0.114 289.7)
XYZxyz(23.9133, 20.1874, 51.3418)
Luminance0.2019 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E72BE #B2BE72
analogous
#728CBE #7E72BE #A472BE
triadic
#7E72BE #BE7E72 #72BE7E
tetradic
#7E72BE #BE728C #B2BE72 #72BEA4
square
#7E72BE #BE728C #B2BE72 #72BEA4
split-complementary
#7E72BE #BEA472 #8CBE72
monochromatic
#44397C #5B4DA6 #7E72BE #A49CD1 #CBC6E5

Accessibility & contrast

On white

4.17
#7E72BE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.04
#7E72BE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7E72BE
5.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E72BE#FFFFFF#000000##000000
##7E72BE1.004.175.045.04
#FFFFFF4.171.0021.0021.00
#0000005.0421.001.001.00
##0000005.0421.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #7e72be;
/* rgb */ color: rgb(126, 114, 190);
/* oklch */ color: oklch(59.5% 0.114 289.7);
Tailwind
colors: {
  custom: {
    50: '#a59ad2',
    500: '#7e72be',
    950: '#000000',
  },
}
SCSS
$custom: #7e72be;
$custom-light: #a59ad2;
$custom-dark: #000000;
JSON
{
  "hex": "#7e72be",
  "rgb": {
    "r": 126,
    "g": 114,
    "b": 190
  },
  "hsl": {
    "h": 249.474,
    "s": 36.893,
    "l": 59.608
  },
  "oklch": {
    "l": 0.59539,
    "c": 0.11416,
    "h": 289.7
  },
  "luminance": 0.20188
}

Semantic roles & 50–950 ramp

primary
#7E72BE
secondary
#D0D5B7
accent
#CD5BBB
background
#FAF9FC
surface
#F4F2F9
border
#CECCD2
text
#0F0E14
muted
#7F7E82

Preview Lab

Preview with #7E72BE

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

Preview Lab → · Contrast checker → · Palette generator →

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