#7874F9#7874F9

#7874F9 is a light, vivid blue. Relative luminance 0.233; OKLCH L 63.0% C 0.193 H 280.7°. Best body text is #000000 at 5.66:1 contrast (WCAG AA passes).

Color values

HEX#7874F9
RGBrgb(120, 116, 249)
HSLhsl(242, 92%, 72%)
HSVhsv(242, 53%, 98%)
CMYKcmyk(51.8%, 53.4%, 0%, 2.4%)
CIE-LABlab(55.40, 36.72, -66.29)
CIE-LCHlch(55.40, 75.78, 298.98°)
OKLaboklab(63.03% 0.0357 -0.1895)
OKLCHoklch(63.03% 0.193 280.7)
XYZxyz(31.0847, 23.3216, 92.4677)
Luminance0.2332 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7874F9 #F5F974
analogous
#74B2F9 #7874F9 #BB74F9
triadic
#7874F9 #F97874 #74F978
tetradic
#7874F9 #F974B2 #F5F974 #74F9BB
square
#7874F9 #F974B2 #F5F974 #74F9BB
split-complementary
#7874F9 #F9BB74 #B2F974
monochromatic
#110AE9 #3F39F6 #7874F9 #B1AFFC #E3E2FE

Accessibility & contrast

On white

3.71
#7874F9 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.66
#7874F9 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7874F9
5.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7874F9#FFFFFF#000000##000000
##7874F91.003.715.665.66
#FFFFFF3.711.0021.0021.00
#0000005.6621.001.001.00
##0000005.6621.001.001.00

Color blindness preview

Protanopia (red-blind)
#258AFE
Deuteranopia (green-blind)
#0B80F6
Tritanopia (blue-blind)
#4192AB
Achromatopsia (no color)
#858585

Design tokens & code

CSS
--color: #7874f9;
/* rgb */ color: rgb(120, 116, 249);
/* oklch */ color: oklch(63.0% 0.193 280.7);
Tailwind
colors: {
  custom: {
    50: '#a89cfc',
    500: '#7874f9',
    950: '#000000',
  },
}
SCSS
$custom: #7874f9;
$custom-light: #a89cfc;
$custom-dark: #000000;
JSON
{
  "hex": "#7874f9",
  "rgb": {
    "r": 120,
    "g": 116,
    "b": 249
  },
  "hsl": {
    "h": 241.805,
    "s": 91.724,
    "l": 71.569
  },
  "oklch": {
    "l": 0.63026,
    "c": 0.19283,
    "h": 280.7
  },
  "luminance": 0.23323
}

Semantic roles & 50–950 ramp

primary
#7874F9
secondary
#F4F5D3
accent
#E600DF
background
#FAF9FF
surface
#F4F2FF
border
#CECCD7
text
#100E18
muted
#7F7E86

Preview Lab

Preview with #7874F9

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

Preview Lab → · Contrast checker → · Palette generator →

#7874F9 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva