#7873F4#7873F4

#7873F4 is a light, vivid blue. Relative luminance 0.228; OKLCH L 62.5% C 0.188 H 281.2°. Best body text is #000000 at 5.56:1 contrast (WCAG AA passes).

Color values

HEX#7873F4
RGBrgb(120, 115, 244)
HSLhsl(242, 85%, 70%)
HSVhsv(242, 53%, 96%)
CMYKcmyk(50.8%, 52.9%, 0%, 4.3%)
CIE-LABlab(54.85, 35.80, -64.41)
CIE-LCHlch(54.85, 73.69, 299.07°)
OKLaboklab(62.51% 0.0366 -0.1839)
OKLCHoklch(62.51% 0.188 281.2)
XYZxyz(30.2006, 22.7845, 88.3769)
Luminance0.2279 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7873F4 #EFF473
analogous
#73AEF4 #7873F4 #B973F4
triadic
#7873F4 #F47873 #73F478
tetradic
#7873F4 #F473AE #EFF473 #73F4B9
square
#7873F4 #F473AE #EFF473 #73F4B9
split-complementary
#7873F4 #F4B973 #AEF473
monochromatic
#1911DB #413AF0 #7873F4 #AFACF8 #E4E3FD

Accessibility & contrast

On white

3.78
#7873F4 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.56
#7873F4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7873F4
5.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7873F4#FFFFFF#000000##000000
##7873F41.003.785.565.56
#FFFFFF3.781.0021.0021.00
#0000005.5621.001.001.00
##0000005.5621.001.001.00

Color blindness preview

Protanopia (red-blind)
#2B88F8
Deuteranopia (green-blind)
#1A7FF1
Tritanopia (blue-blind)
#4690A9
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #7873f4;
/* rgb */ color: rgb(120, 115, 244);
/* oklch */ color: oklch(62.5% 0.188 281.2);
Tailwind
colors: {
  custom: {
    50: '#a79bf8',
    500: '#7873f4',
    950: '#000000',
  },
}
SCSS
$custom: #7873f4;
$custom-light: #a79bf8;
$custom-dark: #000000;
JSON
{
  "hex": "#7873f4",
  "rgb": {
    "r": 120,
    "g": 115,
    "b": 244
  },
  "hsl": {
    "h": 242.326,
    "s": 85.43,
    "l": 70.392
  },
  "oklch": {
    "l": 0.62513,
    "c": 0.18755,
    "h": 281.2
  },
  "luminance": 0.22786
}

Semantic roles & 50–950 ramp

primary
#7873F4
secondary
#F2F3D0
accent
#E204D9
background
#FAF9FF
surface
#F4F2FF
border
#CECCD7
text
#100E17
muted
#7F7E85

Preview Lab

Preview with #7873F4

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

Preview Lab → · Contrast checker → · Palette generator →

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