#7874F7#7874F7

#7874F7 is a light, vivid blue. Relative luminance 0.232; OKLCH L 62.9% C 0.190 H 280.8°. Best body text is #000000 at 5.64:1 contrast (WCAG AA passes).

Color values

HEX#7874F7
RGBrgb(120, 116, 247)
HSLhsl(242, 89%, 71%)
HSVhsv(242, 53%, 97%)
CMYKcmyk(51.4%, 53%, 0%, 3.1%)
CIE-LABlab(55.28, 36.12, -65.39)
CIE-LCHlch(55.28, 74.70, 298.91°)
OKLaboklab(62.89% 0.0356 -0.1868)
OKLCHoklch(62.89% 0.19 280.8)
XYZxyz(30.7744, 23.1975, 90.8336)
Luminance0.2320 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7874F7 #F3F774
analogous
#74B1F7 #7874F7 #B974F7
triadic
#7874F7 #F77874 #74F778
tetradic
#7874F7 #F774B1 #F3F774 #74F7B9
square
#7874F7 #F774B1 #F3F774 #74F7B9
split-complementary
#7874F7 #F7B974 #B1F774
monochromatic
#140DE4 #403AF4 #7874F7 #B0AEFA #E3E2FD

Accessibility & contrast

On white

3.72
#7874F7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.64
#7874F7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7874F7
5.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7874F7#FFFFFF#000000##000000
##7874F71.003.725.645.64
#FFFFFF3.721.0021.0021.00
#0000005.6421.001.001.00
##0000005.6421.001.001.00

Color blindness preview

Protanopia (red-blind)
#2989FC
Deuteranopia (green-blind)
#1580F4
Tritanopia (blue-blind)
#4391AA
Achromatopsia (no color)
#848484

Design tokens & code

CSS
--color: #7874f7;
/* rgb */ color: rgb(120, 116, 247);
/* oklch */ color: oklch(62.9% 0.190 280.8);
Tailwind
colors: {
  custom: {
    50: '#a79cfb',
    500: '#7874f7',
    950: '#000000',
  },
}
SCSS
$custom: #7874f7;
$custom-light: #a79cfb;
$custom-dark: #000000;
JSON
{
  "hex": "#7874f7",
  "rgb": {
    "r": 120,
    "g": 116,
    "b": 247
  },
  "hsl": {
    "h": 241.832,
    "s": 89.116,
    "l": 71.176
  },
  "oklch": {
    "l": 0.62891,
    "c": 0.1902,
    "h": 280.8
  },
  "luminance": 0.23199
}

Semantic roles & 50–950 ramp

primary
#7874F7
secondary
#F4F5D2
accent
#E600DE
background
#FAF9FF
surface
#F4F2FF
border
#CECCD7
text
#100E17
muted
#7F7E85

Preview Lab

Preview with #7874F7

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

Preview Lab → · Contrast checker → · Palette generator →

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