#7E73CD#7E73CD

#7E73CD is a mid, vivid blue. Relative luminance 0.211; OKLCH L 60.6% C 0.134 H 287.3°. Best body text is #000000 at 5.22:1 contrast (WCAG AA passes).

Color values

HEX#7E73CD
RGBrgb(126, 115, 205)
HSLhsl(247, 47%, 63%)
HSVhsv(247, 44%, 80%)
CMYKcmyk(38.5%, 43.9%, 0%, 19.6%)
CIE-LABlab(53.06, 25.85, -45.31)
CIE-LCHlch(53.06, 52.17, 299.70°)
OKLaboklab(60.56% 0.0398 -0.1278)
OKLCHoklch(60.56% 0.134 287.3)
XYZxyz(25.7513, 21.1040, 60.4625)
Luminance0.2110 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E73CD #C2CD73
analogous
#7395CD #7E73CD #AB73CD
triadic
#7E73CD #CD7E73 #73CD7E
tetradic
#7E73CD #CD7395 #C2CD73 #73CDAB
square
#7E73CD #CD7395 #C2CD73 #73CDAB
split-complementary
#7E73CD #CDAB73 #95CD73
monochromatic
#3F3492 #5446BD #7E73CD #A8A0DD #D1CDED

Accessibility & contrast

On white

4.02
#7E73CD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.22
#7E73CD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7E73CD
5.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E73CD#FFFFFF#000000##000000
##7E73CD1.004.025.225.22
#FFFFFF4.021.0021.0021.00
#0000005.2221.001.001.00
##0000005.2221.001.001.00

Color blindness preview

Protanopia (red-blind)
#5381D0
Deuteranopia (green-blind)
#527CCB
Tritanopia (blue-blind)
#688596
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #7e73cd;
/* rgb */ color: rgb(126, 115, 205);
/* oklch */ color: oklch(60.6% 0.134 287.3);
Tailwind
colors: {
  custom: {
    50: '#a79bdd',
    500: '#7e73cd',
    950: '#000000',
  },
}
SCSS
$custom: #7e73cd;
$custom-light: #a79bdd;
$custom-dark: #000000;
JSON
{
  "hex": "#7e73cd",
  "rgb": {
    "r": 126,
    "g": 115,
    "b": 205
  },
  "hsl": {
    "h": 247.333,
    "s": 47.368,
    "l": 62.745
  },
  "oklch": {
    "l": 0.60559,
    "c": 0.13383,
    "h": 287.3
  },
  "luminance": 0.21105
}

Semantic roles & 50–950 ramp

primary
#7E73CD
secondary
#DADEBE
accent
#BB2BA9
background
#FAF9FD
surface
#F4F2FB
border
#CECCD4
text
#100E15
muted
#7F7E83

Preview Lab

Preview with #7E73CD

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

Preview Lab → · Contrast checker → · Palette generator →

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