#7E73DD#7E73DD

#7E73DD is a mid, vivid blue. Relative luminance 0.219; OKLCH L 61.5% C 0.156 H 285.6°. Best body text is #000000 at 5.38:1 contrast (WCAG AA passes).

Color values

HEX#7E73DD
RGBrgb(126, 115, 221)
HSLhsl(246, 61%, 66%)
HSVhsv(246, 48%, 87%)
CMYKcmyk(43%, 48%, 0%, 13.3%)
CIE-LABlab(53.94, 30.37, -52.98)
CIE-LCHlch(53.94, 61.07, 299.82°)
OKLaboklab(61.5% 0.0419 -0.1502)
OKLCHoklch(61.5% 0.156 285.6)
XYZxyz(27.7823, 21.9164, 71.1590)
Luminance0.2192 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E73DD #D2DD73
analogous
#739DDD #7E73DD #B373DD
triadic
#7E73DD #DD7E73 #73DD7E
tetradic
#7E73DD #DD739D #D2DD73 #73DDB3
square
#7E73DD #DD739D #D2DD73 #73DDB3
split-complementary
#7E73DD #DDB373 #9DDD73
monochromatic
#372AAC #5142D1 #7E73DD #ABA4E9 #D9D5F5

Accessibility & contrast

On white

3.90
#7E73DD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.38
#7E73DD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7E73DD
5.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E73DD#FFFFFF#000000##000000
##7E73DD1.003.905.385.38
#FFFFFF3.901.0021.0021.00
#0000005.3821.001.001.00
##0000005.3821.001.001.00

Color blindness preview

Protanopia (red-blind)
#4884E1
Deuteranopia (green-blind)
#457EDB
Tritanopia (blue-blind)
#61899D
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #7e73dd;
/* rgb */ color: rgb(126, 115, 221);
/* oklch */ color: oklch(61.5% 0.156 285.6);
Tailwind
colors: {
  custom: {
    50: '#a89be8',
    500: '#7e73dd',
    950: '#000000',
  },
}
SCSS
$custom: #7e73dd;
$custom-light: #a89be8;
$custom-dark: #000000;
JSON
{
  "hex": "#7e73dd",
  "rgb": {
    "r": 126,
    "g": 115,
    "b": 221
  },
  "hsl": {
    "h": 246.226,
    "s": 60.92,
    "l": 65.882
  },
  "oklch": {
    "l": 0.61503,
    "c": 0.15595,
    "h": 285.6
  },
  "luminance": 0.21918
}

Semantic roles & 50–950 ramp

primary
#7E73DD
secondary
#E4E7C4
accent
#C91DB7
background
#FAF9FE
surface
#F4F2FD
border
#CECCD5
text
#100E16
muted
#7F7E84

Preview Lab

Preview with #7E73DD

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

Preview Lab → · Contrast checker → · Palette generator →

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