#7873FE#7873FE

#7873FE is a light, highly saturated blue. Relative luminance 0.234; OKLCH L 63.2% C 0.201 H 280.6°. Best body text is #000000 at 5.68:1 contrast (WCAG AA passes).

Color values

HEX#7873FE
RGBrgb(120, 115, 254)
HSLhsl(242, 99%, 72%)
HSVhsv(242, 55%, 100%)
CMYKcmyk(52.8%, 54.7%, 0%, 0.4%)
CIE-LABlab(55.49, 38.82, -68.91)
CIE-LCHlch(55.49, 79.09, 299.39°)
OKLaboklab(63.2% 0.0369 -0.1972)
OKLCHoklch(63.2% 0.201 280.6)
XYZxyz(31.7603, 23.4084, 96.5914)
Luminance0.2341 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7873FE #F9FE73
analogous
#73B4FE #7873FE #BD73FE
triadic
#7873FE #FE7873 #73FE78
tetradic
#7873FE #FE73B4 #F9FE73 #73FEBD
square
#7873FE #FE73B4 #F9FE73 #73FEBD
split-complementary
#7873FE #FEBD73 #B4FE73
monochromatic
#0A02F5 #3D36FE #7873FE #B3B0FE #E2E1FF

Accessibility & contrast

On white

3.70
#7873FE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.68
#7873FE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7873FE
5.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7873FE#FFFFFF#000000##000000
##7873FE1.003.705.685.68
#FFFFFF3.701.0021.0021.00
#0000005.6821.001.001.00
##0000005.6821.001.001.00

Color blindness preview

Protanopia (red-blind)
#128AFF
Deuteranopia (green-blind)
#0080FB
Tritanopia (blue-blind)
#3C93AE
Achromatopsia (no color)
#858585

Design tokens & code

CSS
--color: #7873fe;
/* rgb */ color: rgb(120, 115, 254);
/* oklch */ color: oklch(63.2% 0.201 280.6);
Tailwind
colors: {
  custom: {
    50: '#a89bff',
    500: '#7873fe',
    950: '#000000',
  },
}
SCSS
$custom: #7873fe;
$custom-light: #a89bff;
$custom-dark: #000000;
JSON
{
  "hex": "#7873fe",
  "rgb": {
    "r": 120,
    "g": 115,
    "b": 254
  },
  "hsl": {
    "h": 242.158,
    "s": 98.582,
    "l": 72.353
  },
  "oklch": {
    "l": 0.63195,
    "c": 0.20063,
    "h": 280.6
  },
  "luminance": 0.2341
}

Semantic roles & 50–950 ramp

primary
#7873FE
secondary
#F6F7D4
accent
#E600DD
background
#FBF9FF
surface
#F6F2FF
border
#D0CCD7
text
#110E18
muted
#807E86

Preview Lab

Preview with #7873FE

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

Preview Lab → · Contrast checker → · Palette generator →

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