#7E73EB#7E73EB

#7E73EB is a light, vivid blue. Relative luminance 0.227; OKLCH L 62.4% C 0.175 H 284.3°. Best body text is #000000 at 5.54:1 contrast (WCAG AA passes).

Color values

HEX#7E73EB
RGBrgb(126, 115, 235)
HSLhsl(246, 75%, 69%)
HSVhsv(246, 51%, 92%)
CMYKcmyk(46.4%, 51.1%, 0%, 7.8%)
CIE-LABlab(54.76, 34.41, -59.52)
CIE-LCHlch(54.76, 68.75, 300.03°)
OKLaboklab(62.38% 0.0431 -0.1694)
OKLCHoklch(62.38% 0.175 284.3)
XYZxyz(29.7259, 22.6939, 81.3952)
Luminance0.2270 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E73EB #E0EB73
analogous
#73A4EB #7E73EB #BA73EB
triadic
#7E73EB #EB7E73 #73EB7E
tetradic
#7E73EB #EB73A4 #E0EB73 #73EBBA
square
#7E73EB #EB73A4 #E0EB73 #73EBBA
split-complementary
#7E73EB #EBBA73 #A4EB73
monochromatic
#2C1CC7 #4D3DE3 #7E73EB #AFA9F3 #E1DEFA

Accessibility & contrast

On white

3.79
#7E73EB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.54
#7E73EB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7E73EB
5.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E73EB#FFFFFF#000000##000000
##7E73EB1.003.795.545.54
#FFFFFF3.791.0021.0021.00
#0000005.5421.001.001.00
##0000005.5421.001.001.00

Color blindness preview

Protanopia (red-blind)
#3A87EF
Deuteranopia (green-blind)
#347FE8
Tritanopia (blue-blind)
#598DA4
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #7e73eb;
/* rgb */ color: rgb(126, 115, 235);
/* oklch */ color: oklch(62.4% 0.175 284.3);
Tailwind
colors: {
  custom: {
    50: '#aa9bf2',
    500: '#7e73eb',
    950: '#000000',
  },
}
SCSS
$custom: #7e73eb;
$custom-light: #aa9bf2;
$custom-dark: #000000;
JSON
{
  "hex": "#7e73eb",
  "rgb": {
    "r": 126,
    "g": 115,
    "b": 235
  },
  "hsl": {
    "h": 245.5,
    "s": 75,
    "l": 68.627
  },
  "oklch": {
    "l": 0.6238,
    "c": 0.17482,
    "h": 284.3
  },
  "luminance": 0.22695
}

Semantic roles & 50–950 ramp

primary
#7E73EB
secondary
#ECEFCB
accent
#D70EC5
background
#FAF9FE
surface
#F4F2FD
border
#CECCD5
text
#100E17
muted
#7F7E85

Preview Lab

Preview with #7E73EB

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

Preview Lab → · Contrast checker → · Palette generator →

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