#7E73DC#7E73DC

#7E73DC is a mid, vivid blue. Relative luminance 0.219; OKLCH L 61.4% C 0.155 H 285.7°. Best body text is #000000 at 5.37:1 contrast (WCAG AA passes).

Color values

HEX#7E73DC
RGBrgb(126, 115, 220)
HSLhsl(246, 60%, 66%)
HSVhsv(246, 48%, 86%)
CMYKcmyk(42.7%, 47.7%, 0%, 13.7%)
CIE-LABlab(53.88, 30.08, -52.51)
CIE-LCHlch(53.88, 60.51, 299.81°)
OKLaboklab(61.44% 0.0418 -0.1488)
OKLCHoklch(61.44% 0.155 285.7)
XYZxyz(27.6495, 21.8633, 70.4595)
Luminance0.2186 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E73DC #D1DC73
analogous
#739CDC #7E73DC #B273DC
triadic
#7E73DC #DC7E73 #73DC7E
tetradic
#7E73DC #DC739C #D1DC73 #73DCB2
square
#7E73DC #DC739C #D1DC73 #73DCB2
split-complementary
#7E73DC #DCB273 #9CDC73
monochromatic
#382BAA #5142D0 #7E73DC #ABA4E8 #D8D5F4

Accessibility & contrast

On white

3.91
#7E73DC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.37
#7E73DC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7E73DC
5.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E73DC#FFFFFF#000000##000000
##7E73DC1.003.915.375.37
#FFFFFF3.911.0021.0021.00
#0000005.3721.001.001.00
##0000005.3721.001.001.00

Color blindness preview

Protanopia (red-blind)
#4884E0
Deuteranopia (green-blind)
#467EDA
Tritanopia (blue-blind)
#62899D
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #7e73dc;
/* rgb */ color: rgb(126, 115, 220);
/* oklch */ color: oklch(61.4% 0.155 285.7);
Tailwind
colors: {
  custom: {
    50: '#a89be7',
    500: '#7e73dc',
    950: '#000000',
  },
}
SCSS
$custom: #7e73dc;
$custom-light: #a89be7;
$custom-dark: #000000;
JSON
{
  "hex": "#7e73dc",
  "rgb": {
    "r": 126,
    "g": 115,
    "b": 220
  },
  "hsl": {
    "h": 246.286,
    "s": 60,
    "l": 65.686
  },
  "oklch": {
    "l": 0.61443,
    "c": 0.15458,
    "h": 285.7
  },
  "luminance": 0.21864
}

Semantic roles & 50–950 ramp

primary
#7E73DC
secondary
#E3E7C4
accent
#C81EB6
background
#FAF9FE
surface
#F4F2FC
border
#CECCD5
text
#100E16
muted
#7F7E84

Preview Lab

Preview with #7E73DC

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

Preview Lab → · Contrast checker → · Palette generator →

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