#7E73CE#7E73CE

#7E73CE is a mid, vivid blue. Relative luminance 0.212; OKLCH L 60.6% C 0.135 H 287.2°. Best body text is #000000 at 5.23:1 contrast (WCAG AA passes).

Color values

HEX#7E73CE
RGBrgb(126, 115, 206)
HSLhsl(247, 48%, 63%)
HSVhsv(247, 44%, 81%)
CMYKcmyk(38.8%, 44.2%, 0%, 19.2%)
CIE-LABlab(53.12, 26.13, -45.80)
CIE-LCHlch(53.12, 52.73, 299.71°)
OKLaboklab(60.62% 0.04 -0.1292)
OKLCHoklch(60.62% 0.135 287.2)
XYZxyz(25.8724, 21.1525, 61.1002)
Luminance0.2115 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E73CE #C3CE73
analogous
#7395CE #7E73CE #AB73CE
triadic
#7E73CE #CE7E73 #73CE7E
tetradic
#7E73CE #CE7395 #C3CE73 #73CEAB
square
#7E73CE #CE7395 #C3CE73 #73CEAB
split-complementary
#7E73CE #CEAB73 #95CE73
monochromatic
#3F3393 #5446BE #7E73CE #A8A0DE #D2CEEE

Accessibility & contrast

On white

4.01
#7E73CE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.23
#7E73CE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7E73CE
5.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E73CE#FFFFFF#000000##000000
##7E73CE1.004.015.235.23
#FFFFFF4.011.0021.0021.00
#0000005.2321.001.001.00
##0000005.2321.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #7e73ce;
/* rgb */ color: rgb(126, 115, 206);
/* oklch */ color: oklch(60.6% 0.135 287.2);
Tailwind
colors: {
  custom: {
    50: '#a79bdd',
    500: '#7e73ce',
    950: '#000000',
  },
}
SCSS
$custom: #7e73ce;
$custom-light: #a79bdd;
$custom-dark: #000000;
JSON
{
  "hex": "#7e73ce",
  "rgb": {
    "r": 126,
    "g": 115,
    "b": 206
  },
  "hsl": {
    "h": 247.253,
    "s": 48.148,
    "l": 62.941
  },
  "oklch": {
    "l": 0.60616,
    "c": 0.13524,
    "h": 287.2
  },
  "luminance": 0.21153
}

Semantic roles & 50–950 ramp

primary
#7E73CE
secondary
#DBDFBE
accent
#BB2AAA
background
#FAF9FD
surface
#F4F2FB
border
#CECCD4
text
#100E15
muted
#7F7E83

Preview Lab

Preview with #7E73CE

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

Preview Lab → · Contrast checker → · Palette generator →

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