#7873F7#7873F7

#7873F7 is a light, vivid blue. Relative luminance 0.230; OKLCH L 62.7% C 0.192 H 281.0°. Best body text is #000000 at 5.59:1 contrast (WCAG AA passes).

Color values

HEX#7873F7
RGBrgb(120, 115, 247)
HSLhsl(242, 89%, 71%)
HSVhsv(242, 53%, 97%)
CMYKcmyk(51.4%, 53.4%, 0%, 3.1%)
CIE-LABlab(55.04, 36.71, -65.77)
CIE-LCHlch(55.04, 75.32, 299.17°)
OKLaboklab(62.72% 0.0367 -0.1879)
OKLCHoklch(62.72% 0.192 281)
XYZxyz(30.6598, 22.9682, 90.7954)
Luminance0.2297 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7873F7 #F2F773
analogous
#73B0F7 #7873F7 #BA73F7
triadic
#7873F7 #F77873 #73F778
tetradic
#7873F7 #F773B0 #F2F773 #73F7BA
square
#7873F7 #F773B0 #F2F773 #73F7BA
split-complementary
#7873F7 #F7BA73 #B0F773
monochromatic
#150DE3 #4039F4 #7873F7 #B0ADFA #E3E2FD

Accessibility & contrast

On white

3.75
#7873F7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.59
#7873F7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7873F7
5.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7873F7#FFFFFF#000000##000000
##7873F71.003.755.595.59
#FFFFFF3.751.0021.0021.00
#0000005.5921.001.001.00
##0000005.5921.001.001.00

Color blindness preview

Protanopia (red-blind)
#2589FC
Deuteranopia (green-blind)
#0E7FF4
Tritanopia (blue-blind)
#4391AA
Achromatopsia (no color)
#848484

Design tokens & code

CSS
--color: #7873f7;
/* rgb */ color: rgb(120, 115, 247);
/* oklch */ color: oklch(62.7% 0.192 281.0);
Tailwind
colors: {
  custom: {
    50: '#a79bfb',
    500: '#7873f7',
    950: '#000000',
  },
}
SCSS
$custom: #7873f7;
$custom-light: #a79bfb;
$custom-dark: #000000;
JSON
{
  "hex": "#7873f7",
  "rgb": {
    "r": 120,
    "g": 115,
    "b": 247
  },
  "hsl": {
    "h": 242.273,
    "s": 89.189,
    "l": 70.98
  },
  "oklch": {
    "l": 0.62715,
    "c": 0.1915,
    "h": 281
  },
  "luminance": 0.2297
}

Semantic roles & 50–950 ramp

primary
#7873F7
secondary
#F3F4D1
accent
#E600DD
background
#FAF9FF
surface
#F4F2FF
border
#CECCD7
text
#100E17
muted
#7F7E85

Preview Lab

Preview with #7873F7

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

Preview Lab → · Contrast checker → · Palette generator →

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