#7873EF#7873EF

#7873EF is a light, vivid blue. Relative luminance 0.225; OKLCH L 62.2% C 0.181 H 281.6°. Best body text is #000000 at 5.50:1 contrast (WCAG AA passes).

Color values

HEX#7873EF
RGBrgb(120, 115, 239)
HSLhsl(242, 79%, 69%)
HSVhsv(242, 52%, 94%)
CMYKcmyk(49.8%, 51.9%, 0%, 6.3%)
CIE-LABlab(54.54, 34.30, -62.13)
CIE-LCHlch(54.54, 70.97, 298.91°)
OKLaboklab(62.18% 0.0363 -0.1772)
OKLCHoklch(62.18% 0.181 281.6)
XYZxyz(29.4517, 22.4849, 84.4328)
Luminance0.2249 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7873EF #EAEF73
analogous
#73ACEF #7873EF #B673EF
triadic
#7873EF #EF7873 #73EF78
tetradic
#7873EF #EF73AC #EAEF73 #73EFB6
square
#7873EF #EF73AC #EAEF73 #73EFB6
split-complementary
#7873EF #EFB673 #ACEF73
monochromatic
#1F18D0 #433CE9 #7873EF #ADAAF5 #E2E1FC

Accessibility & contrast

On white

3.82
#7873EF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.50
#7873EF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7873EF
5.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7873EF#FFFFFF#000000##000000
##7873EF1.003.825.505.50
#FFFFFF3.821.0021.0021.00
#0000005.5021.001.001.00
##0000005.5021.001.001.00

Color blindness preview

Protanopia (red-blind)
#3287F3
Deuteranopia (green-blind)
#267EEC
Tritanopia (blue-blind)
#4A8EA6
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #7873ef;
/* rgb */ color: rgb(120, 115, 239);
/* oklch */ color: oklch(62.2% 0.181 281.6);
Tailwind
colors: {
  custom: {
    50: '#a69bf5',
    500: '#7873ef',
    950: '#000000',
  },
}
SCSS
$custom: #7873ef;
$custom-light: #a69bf5;
$custom-dark: #000000;
JSON
{
  "hex": "#7873ef",
  "rgb": {
    "r": 120,
    "g": 115,
    "b": 239
  },
  "hsl": {
    "h": 242.419,
    "s": 79.487,
    "l": 69.412
  },
  "oklch": {
    "l": 0.6218,
    "c": 0.18093,
    "h": 281.6
  },
  "luminance": 0.22487
}

Semantic roles & 50–950 ramp

primary
#7873EF
secondary
#EFF1CD
accent
#DC0AD3
background
#FAF9FF
surface
#F4F2FE
border
#CECCD6
text
#100E17
muted
#7F7E85

Preview Lab

Preview with #7873EF

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

Preview Lab → · Contrast checker → · Palette generator →

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