#7874FE#7874FE

#7874FE is a light, vivid blue. Relative luminance 0.236; OKLCH L 63.4% C 0.199 H 280.4°. Best body text is #000000 at 5.73:1 contrast (WCAG AA passes).

Color values

HEX#7874FE
RGBrgb(120, 116, 254)
HSLhsl(242, 99%, 73%)
HSVhsv(242, 54%, 100%)
CMYKcmyk(52.8%, 54.3%, 0%, 0.4%)
CIE-LABlab(55.72, 38.23, -68.54)
CIE-LCHlch(55.72, 78.48, 299.15°)
OKLaboklab(63.37% 0.0359 -0.1961)
OKLCHoklch(63.37% 0.199 280.4)
XYZxyz(31.8750, 23.6377, 96.6296)
Luminance0.2364 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7874FE #FAFE74
analogous
#74B5FE #7874FE #BD74FE
triadic
#7874FE #FE7874 #74FE78
tetradic
#7874FE #FE74B5 #FAFE74 #74FEBD
square
#7874FE #FE74B5 #FAFE74 #74FEBD
split-complementary
#7874FE #FEBD74 #B5FE74
monochromatic
#0902F6 #3D37FE #7874FE #B3B1FE #E1E1FF

Accessibility & contrast

On white

3.67
#7874FE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.73
#7874FE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7874FE
5.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7874FE#FFFFFF#000000##000000
##7874FE1.003.675.735.73
#FFFFFF3.671.0021.0021.00
#0000005.7321.001.001.00
##0000005.7321.001.001.00

Color blindness preview

Protanopia (red-blind)
#188BFF
Deuteranopia (green-blind)
#0080FB
Tritanopia (blue-blind)
#3C94AE
Achromatopsia (no color)
#858585

Design tokens & code

CSS
--color: #7874fe;
/* rgb */ color: rgb(120, 116, 254);
/* oklch */ color: oklch(63.4% 0.199 280.4);
Tailwind
colors: {
  custom: {
    50: '#a89cff',
    500: '#7874fe',
    950: '#000000',
  },
}
SCSS
$custom: #7874fe;
$custom-light: #a89cff;
$custom-dark: #000000;
JSON
{
  "hex": "#7874fe",
  "rgb": {
    "r": 120,
    "g": 116,
    "b": 254
  },
  "hsl": {
    "h": 241.739,
    "s": 98.571,
    "l": 72.549
  },
  "oklch": {
    "l": 0.63368,
    "c": 0.19934,
    "h": 280.4
  },
  "luminance": 0.2364
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #7874FE

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

Preview Lab → · Contrast checker → · Palette generator →

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