#7873F0#7873F0

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

Color values

HEX#7873F0
RGBrgb(120, 115, 240)
HSLhsl(242, 81%, 70%)
HSVhsv(242, 52%, 94%)
CMYKcmyk(50%, 52.1%, 0%, 5.9%)
CIE-LABlab(54.60, 34.60, -62.58)
CIE-LCHlch(54.60, 71.51, 298.94°)
OKLaboklab(62.25% 0.0364 -0.1786)
OKLCHoklch(62.25% 0.182 281.5)
XYZxyz(29.5998, 22.5442, 85.2129)
Luminance0.2255 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7873F0 #EBF073
analogous
#73ADF0 #7873F0 #B773F0
triadic
#7873F0 #F07873 #73F078
tetradic
#7873F0 #F073AD #EBF073 #73F0B7
square
#7873F0 #F073AD #EBF073 #73F0B7
split-complementary
#7873F0 #F0B773 #ADF073
monochromatic
#1E17D2 #433CEA #7873F0 #ADAAF6 #E3E2FC

Accessibility & contrast

On white

3.81
#7873F0 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.51
#7873F0 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7873F0
5.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7873F0#FFFFFF#000000##000000
##7873F01.003.815.515.51
#FFFFFF3.811.0021.0021.00
#0000005.5121.001.001.00
##0000005.5121.001.001.00

Color blindness preview

Protanopia (red-blind)
#3187F4
Deuteranopia (green-blind)
#247EED
Tritanopia (blue-blind)
#498FA7
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #7873f0;
/* rgb */ color: rgb(120, 115, 240);
/* oklch */ color: oklch(62.2% 0.182 281.5);
Tailwind
colors: {
  custom: {
    50: '#a79bf6',
    500: '#7873f0',
    950: '#000000',
  },
}
SCSS
$custom: #7873f0;
$custom-light: #a79bf6;
$custom-dark: #000000;
JSON
{
  "hex": "#7873f0",
  "rgb": {
    "r": 120,
    "g": 115,
    "b": 240
  },
  "hsl": {
    "h": 242.4,
    "s": 80.645,
    "l": 69.608
  },
  "oklch": {
    "l": 0.62246,
    "c": 0.18225,
    "h": 281.5
  },
  "luminance": 0.22546
}

Semantic roles & 50–950 ramp

primary
#7873F0
secondary
#F0F1CE
accent
#DD09D4
background
#FAF9FF
surface
#F4F2FE
border
#CECCD6
text
#100E17
muted
#7F7E85

Preview Lab

Preview with #7873F0

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

Preview Lab → · Contrast checker → · Palette generator →

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