#7873EE#7873EE

#7873EE is a light, vivid blue. Relative luminance 0.224; OKLCH L 62.1% C 0.180 H 281.6°. Best body text is #000000 at 5.49:1 contrast (WCAG AA passes).

Color values

HEX#7873EE
RGBrgb(120, 115, 238)
HSLhsl(242, 78%, 69%)
HSVhsv(242, 52%, 93%)
CMYKcmyk(49.6%, 51.7%, 0%, 6.7%)
CIE-LABlab(54.48, 34.00, -61.67)
CIE-LCHlch(54.48, 70.42, 298.87°)
OKLaboklab(62.11% 0.0362 -0.1759)
OKLCHoklch(62.11% 0.18 281.6)
XYZxyz(29.3044, 22.4260, 83.6569)
Luminance0.2243 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7873EE #E9EE73
analogous
#73ACEE #7873EE #B673EE
triadic
#7873EE #EE7873 #73EE78
tetradic
#7873EE #EE73AC #E9EE73 #73EEB6
square
#7873EE #EE73AC #E9EE73 #73EEB6
split-complementary
#7873EE #EEB673 #ACEE73
monochromatic
#2019CE #433CE7 #7873EE #ADAAF5 #E1E0FB

Accessibility & contrast

On white

3.83
#7873EE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.49
#7873EE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7873EE
5.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7873EE#FFFFFF#000000##000000
##7873EE1.003.835.495.49
#FFFFFF3.831.0021.0021.00
#0000005.4921.001.001.00
##0000005.4921.001.001.00

Color blindness preview

Protanopia (red-blind)
#3487F2
Deuteranopia (green-blind)
#287EEB
Tritanopia (blue-blind)
#4B8EA6
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #7873ee;
/* rgb */ color: rgb(120, 115, 238);
/* oklch */ color: oklch(62.1% 0.180 281.6);
Tailwind
colors: {
  custom: {
    50: '#a69bf4',
    500: '#7873ee',
    950: '#000000',
  },
}
SCSS
$custom: #7873ee;
$custom-light: #a69bf4;
$custom-dark: #000000;
JSON
{
  "hex": "#7873ee",
  "rgb": {
    "r": 120,
    "g": 115,
    "b": 238
  },
  "hsl": {
    "h": 242.439,
    "s": 78.344,
    "l": 69.216
  },
  "oklch": {
    "l": 0.62114,
    "c": 0.17959,
    "h": 281.6
  },
  "luminance": 0.22428
}

Semantic roles & 50–950 ramp

primary
#7873EE
secondary
#EFF0CD
accent
#DB0BD2
background
#FAF9FF
surface
#F4F2FE
border
#CECCD6
text
#100E17
muted
#7F7E85

Preview Lab

Preview with #7873EE

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

Preview Lab → · Contrast checker → · Palette generator →

#7873EE Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva