#7874EA#7874EA

#7874EA is a light, vivid blue. Relative luminance 0.224; OKLCH L 62.0% C 0.173 H 281.6°. Best body text is #000000 at 5.48:1 contrast (WCAG AA passes).

Color values

HEX#7874EA
RGBrgb(120, 116, 234)
HSLhsl(242, 74%, 69%)
HSVhsv(242, 50%, 92%)
CMYKcmyk(48.7%, 50.4%, 0%, 8.2%)
CIE-LABlab(54.47, 32.22, -59.44)
CIE-LCHlch(54.47, 67.61, 298.46°)
OKLaboklab(62.03% 0.0349 -0.1693)
OKLCHoklch(62.03% 0.173 281.6)
XYZxyz(28.8379, 22.4228, 80.6345)
Luminance0.2242 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7874EA #E6EA74
analogous
#74ABEA #7874EA #B374EA
triadic
#7874EA #EA7874 #74EA78
tetradic
#7874EA #EA74AB #E6EA74 #74EAB3
square
#7874EA #EA74AB #E6EA74 #74EAB3
split-complementary
#7874EA #EAB374 #ABEA74
monochromatic
#241EC6 #443FE2 #7874EA #ACA9F2 #DFDEFA

Accessibility & contrast

On white

3.83
#7874EA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.48
#7874EA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7874EA
5.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7874EA#FFFFFF#000000##000000
##7874EA1.003.835.485.48
#FFFFFF3.831.0021.0021.00
#0000005.4821.001.001.00
##0000005.4821.001.001.00

Color blindness preview

Protanopia (red-blind)
#3B87EE
Deuteranopia (green-blind)
#327EE7
Tritanopia (blue-blind)
#4E8EA4
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #7874ea;
/* rgb */ color: rgb(120, 116, 234);
/* oklch */ color: oklch(62.0% 0.173 281.6);
Tailwind
colors: {
  custom: {
    50: '#a69cf1',
    500: '#7874ea',
    950: '#000000',
  },
}
SCSS
$custom: #7874ea;
$custom-light: #a69cf1;
$custom-dark: #000000;
JSON
{
  "hex": "#7874ea",
  "rgb": {
    "r": 120,
    "g": 116,
    "b": 234
  },
  "hsl": {
    "h": 242.034,
    "s": 73.75,
    "l": 68.627
  },
  "oklch": {
    "l": 0.62034,
    "c": 0.1729,
    "h": 281.6
  },
  "luminance": 0.22424
}

Semantic roles & 50–950 ramp

primary
#7874EA
secondary
#EDEFCB
accent
#D610CF
background
#FAF9FE
surface
#F4F2FD
border
#CECCD5
text
#100E17
muted
#7F7E85

Preview Lab

Preview with #7874EA

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

Preview Lab → · Contrast checker → · Palette generator →

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