#7874FC#7874FC

#7874FC is a light, vivid blue. Relative luminance 0.235; OKLCH L 63.2% C 0.197 H 280.5°. Best body text is #000000 at 5.70:1 contrast (WCAG AA passes).

Color values

HEX#7874FC
RGBrgb(120, 116, 252)
HSLhsl(242, 96%, 72%)
HSVhsv(242, 54%, 99%)
CMYKcmyk(52.4%, 54%, 0%, 1.2%)
CIE-LABlab(55.59, 37.63, -67.64)
CIE-LCHlch(55.59, 77.40, 299.09°)
OKLaboklab(63.23% 0.0358 -0.1935)
OKLCHoklch(63.23% 0.197 280.5)
XYZxyz(31.5564, 23.5102, 94.9517)
Luminance0.2351 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7874FC #F8FC74
analogous
#74B4FC #7874FC #BC74FC
triadic
#7874FC #FC7874 #74FC78
tetradic
#7874FC #FC74B4 #F8FC74 #74FCBC
square
#7874FC #FC74B4 #F8FC74 #74FCBC
split-complementary
#7874FC #FCBC74 #B4FC74
monochromatic
#0C05F0 #3E38FB #7874FC #B2B0FD #E2E1FE

Accessibility & contrast

On white

3.68
#7874FC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.70
#7874FC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7874FC
5.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7874FC#FFFFFF#000000##000000
##7874FC1.003.685.705.70
#FFFFFF3.681.0021.0021.00
#0000005.7021.001.001.00
##0000005.7021.001.001.00

Color blindness preview

Protanopia (red-blind)
#1E8AFF
Deuteranopia (green-blind)
#0080F9
Tritanopia (blue-blind)
#3E93AD
Achromatopsia (no color)
#858585

Design tokens & code

CSS
--color: #7874fc;
/* rgb */ color: rgb(120, 116, 252);
/* oklch */ color: oklch(63.2% 0.197 280.5);
Tailwind
colors: {
  custom: {
    50: '#a89cfe',
    500: '#7874fc',
    950: '#000000',
  },
}
SCSS
$custom: #7874fc;
$custom-light: #a89cfe;
$custom-dark: #000000;
JSON
{
  "hex": "#7874fc",
  "rgb": {
    "r": 120,
    "g": 116,
    "b": 252
  },
  "hsl": {
    "h": 241.765,
    "s": 95.775,
    "l": 72.157
  },
  "oklch": {
    "l": 0.63231,
    "c": 0.19675,
    "h": 280.5
  },
  "luminance": 0.23512
}

Semantic roles & 50–950 ramp

primary
#7874FC
secondary
#F6F7D4
accent
#E600DF
background
#FAF9FF
surface
#F5F2FF
border
#CFCCD7
text
#110E18
muted
#807E86

Preview Lab

Preview with #7874FC

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

Preview Lab → · Contrast checker → · Palette generator →

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