#7E72CD#7E72CD

#7E72CD is a mid, vivid blue. Relative luminance 0.209; OKLCH L 60.4% C 0.135 H 287.7°. Best body text is #000000 at 5.18:1 contrast (WCAG AA passes).

Color values

HEX#7E72CD
RGBrgb(126, 114, 205)
HSLhsl(248, 48%, 63%)
HSVhsv(248, 44%, 80%)
CMYKcmyk(38.5%, 44.4%, 0%, 19.6%)
CIE-LABlab(52.81, 26.45, -45.71)
CIE-LCHlch(52.81, 52.81, 300.05°)
OKLaboklab(60.37% 0.0411 -0.1289)
OKLCHoklch(60.37% 0.135 287.7)
XYZxyz(25.6379, 20.8772, 60.4247)
Luminance0.2088 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E72CD #C1CD72
analogous
#7294CD #7E72CD #AB72CD
triadic
#7E72CD #CD7E72 #72CD7E
tetradic
#7E72CD #CD7294 #C1CD72 #72CDAB
square
#7E72CD #CD7294 #C1CD72 #72CDAB
split-complementary
#7E72CD #CDAB72 #94CD72
monochromatic
#403391 #5545BD #7E72CD #A79FDD #D1CCED

Accessibility & contrast

On white

4.06
#7E72CD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.18
#7E72CD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7E72CD
5.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E72CD#FFFFFF#000000##000000
##7E72CD1.004.065.185.18
#FFFFFF4.061.0021.0021.00
#0000005.1821.001.001.00
##0000005.1821.001.001.00

Color blindness preview

Protanopia (red-blind)
#5280D0
Deuteranopia (green-blind)
#517CCB
Tritanopia (blue-blind)
#698496
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #7e72cd;
/* rgb */ color: rgb(126, 114, 205);
/* oklch */ color: oklch(60.4% 0.135 287.7);
Tailwind
colors: {
  custom: {
    50: '#a79add',
    500: '#7e72cd',
    950: '#000000',
  },
}
SCSS
$custom: #7e72cd;
$custom-light: #a79add;
$custom-dark: #000000;
JSON
{
  "hex": "#7e72cd",
  "rgb": {
    "r": 126,
    "g": 114,
    "b": 205
  },
  "hsl": {
    "h": 247.912,
    "s": 47.644,
    "l": 62.549
  },
  "oklch": {
    "l": 0.60371,
    "c": 0.13533,
    "h": 287.7
  },
  "luminance": 0.20878
}

Semantic roles & 50–950 ramp

primary
#7E72CD
secondary
#DADEBD
accent
#BB2BA8
background
#FAF9FD
surface
#F4F2FB
border
#CECCD4
text
#100E15
muted
#7F7E83

Preview Lab

Preview with #7E72CD

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

Preview Lab → · Contrast checker → · Palette generator →

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