#7873FA#7873FA

#7873FA is a light, vivid blue. Relative luminance 0.232; OKLCH L 62.9% C 0.195 H 280.8°. Best body text is #000000 at 5.63:1 contrast (WCAG AA passes).

Color values

HEX#7873FA
RGBrgb(120, 115, 250)
HSLhsl(242, 93%, 72%)
HSVhsv(242, 54%, 98%)
CMYKcmyk(52%, 54%, 0%, 2%)
CIE-LABlab(55.23, 37.61, -67.12)
CIE-LCHlch(55.23, 76.94, 299.26°)
OKLaboklab(62.92% 0.0368 -0.1919)
OKLCHoklch(62.92% 0.195 280.8)
XYZxyz(31.1265, 23.1548, 93.2531)
Luminance0.2316 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7873FA #F5FA73
analogous
#73B2FA #7873FA #BC73FA
triadic
#7873FA #FA7873 #73FA78
tetradic
#7873FA #FA73B2 #F5FA73 #73FABC
square
#7873FA #FA73B2 #F5FA73 #73FABC
split-complementary
#7873FA #FABC73 #B2FA73
monochromatic
#1108EA #3F38F8 #7873FA #B1AEFC #E3E1FE

Accessibility & contrast

On white

3.73
#7873FA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.63
#7873FA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7873FA
5.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7873FA#FFFFFF#000000##000000
##7873FA1.003.735.635.63
#FFFFFF3.731.0021.0021.00
#0000005.6321.001.001.00
##0000005.6321.001.001.00

Color blindness preview

Protanopia (red-blind)
#1E89FF
Deuteranopia (green-blind)
#007FF7
Tritanopia (blue-blind)
#4092AC
Achromatopsia (no color)
#848484

Design tokens & code

CSS
--color: #7873fa;
/* rgb */ color: rgb(120, 115, 250);
/* oklch */ color: oklch(62.9% 0.195 280.8);
Tailwind
colors: {
  custom: {
    50: '#a89bfd',
    500: '#7873fa',
    950: '#000000',
  },
}
SCSS
$custom: #7873fa;
$custom-light: #a89bfd;
$custom-dark: #000000;
JSON
{
  "hex": "#7873fa",
  "rgb": {
    "r": 120,
    "g": 115,
    "b": 250
  },
  "hsl": {
    "h": 242.222,
    "s": 93.103,
    "l": 71.569
  },
  "oklch": {
    "l": 0.6292,
    "c": 0.19542,
    "h": 280.8
  },
  "luminance": 0.23157
}

Semantic roles & 50–950 ramp

primary
#7873FA
secondary
#F4F6D3
accent
#E600DD
background
#FAF9FF
surface
#F5F2FF
border
#CFCCD7
text
#110E18
muted
#807E86

Preview Lab

Preview with #7873FA

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

Preview Lab → · Contrast checker → · Palette generator →

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