#7E73CC#7E73CC

#7E73CC is a mid, vivid blue. Relative luminance 0.211; OKLCH L 60.5% C 0.132 H 287.4°. Best body text is #000000 at 5.21:1 contrast (WCAG AA passes).

Color values

HEX#7E73CC
RGBrgb(126, 115, 204)
HSLhsl(247, 47%, 63%)
HSVhsv(247, 44%, 80%)
CMYKcmyk(38.2%, 43.6%, 0%, 20%)
CIE-LABlab(53.01, 25.57, -44.83)
CIE-LCHlch(53.01, 51.61, 299.70°)
OKLaboklab(60.5% 0.0397 -0.1264)
OKLCHoklch(60.5% 0.132 287.4)
XYZxyz(25.6310, 21.0559, 59.8288)
Luminance0.2106 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E73CC #C1CC73
analogous
#7394CC #7E73CC #AB73CC
triadic
#7E73CC #CC7E73 #73CC7E
tetradic
#7E73CC #CC7394 #C1CC73 #73CCAB
square
#7E73CC #CC7394 #C1CC73 #73CCAB
split-complementary
#7E73CC #CCAB73 #94CC73
monochromatic
#403490 #5546BC #7E73CC #A7A0DC #D1CDED

Accessibility & contrast

On white

4.03
#7E73CC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.21
#7E73CC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7E73CC
5.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E73CC#FFFFFF#000000##000000
##7E73CC1.004.035.215.21
#FFFFFF4.031.0021.0021.00
#0000005.2121.001.001.00
##0000005.2121.001.001.00

Color blindness preview

Protanopia (red-blind)
#5481CF
Deuteranopia (green-blind)
#537CCA
Tritanopia (blue-blind)
#698496
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #7e73cc;
/* rgb */ color: rgb(126, 115, 204);
/* oklch */ color: oklch(60.5% 0.132 287.4);
Tailwind
colors: {
  custom: {
    50: '#a79bdc',
    500: '#7e73cc',
    950: '#000000',
  },
}
SCSS
$custom: #7e73cc;
$custom-light: #a79bdc;
$custom-dark: #000000;
JSON
{
  "hex": "#7e73cc",
  "rgb": {
    "r": 126,
    "g": 115,
    "b": 204
  },
  "hsl": {
    "h": 247.416,
    "s": 46.597,
    "l": 62.549
  },
  "oklch": {
    "l": 0.60502,
    "c": 0.13243,
    "h": 287.4
  },
  "luminance": 0.21057
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #7E73CC

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

Preview Lab → · Contrast checker → · Palette generator →

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