#7874FA#7874FA

#7874FA is a light, vivid blue. Relative luminance 0.234; OKLCH L 63.1% C 0.194 H 280.6°. Best body text is #000000 at 5.68:1 contrast (WCAG AA passes).

Color values

HEX#7874FA
RGBrgb(120, 116, 250)
HSLhsl(242, 93%, 72%)
HSVhsv(242, 54%, 98%)
CMYKcmyk(52%, 53.6%, 0%, 2%)
CIE-LABlab(55.47, 37.02, -66.74)
CIE-LCHlch(55.47, 76.32, 299.02°)
OKLaboklab(63.09% 0.0357 -0.1908)
OKLCHoklch(63.09% 0.194 280.6)
XYZxyz(31.2411, 23.3841, 93.2913)
Luminance0.2339 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7874FA #F6FA74
analogous
#74B3FA #7874FA #BB74FA
triadic
#7874FA #FA7874 #74FA78
tetradic
#7874FA #FA74B3 #F6FA74 #74FABB
square
#7874FA #FA74B3 #F6FA74 #74FABB
split-complementary
#7874FA #FABB74 #B3FA74
monochromatic
#0F08EB #3F39F8 #7874FA #B1AFFC #E2E1FE

Accessibility & contrast

On white

3.70
#7874FA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.68
#7874FA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7874FA
5.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7874FA#FFFFFF#000000##000000
##7874FA1.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)
#238AFF
Deuteranopia (green-blind)
#0580F7
Tritanopia (blue-blind)
#4092AC
Achromatopsia (no color)
#858585

Design tokens & code

CSS
--color: #7874fa;
/* rgb */ color: rgb(120, 116, 250);
/* oklch */ color: oklch(63.1% 0.194 280.6);
Tailwind
colors: {
  custom: {
    50: '#a89cfd',
    500: '#7874fa',
    950: '#000000',
  },
}
SCSS
$custom: #7874fa;
$custom-light: #a89cfd;
$custom-dark: #000000;
JSON
{
  "hex": "#7874fa",
  "rgb": {
    "r": 120,
    "g": 116,
    "b": 250
  },
  "hsl": {
    "h": 241.791,
    "s": 93.056,
    "l": 71.765
  },
  "oklch": {
    "l": 0.63094,
    "c": 0.19413,
    "h": 280.6
  },
  "luminance": 0.23386
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #7874FA

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

Preview Lab → · Contrast checker → · Palette generator →

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