#7874FF#7874FF

#7874FF is a light, highly saturated blue. Relative luminance 0.237; OKLCH L 63.4% C 0.201 H 280.3°. Best body text is #000000 at 5.74:1 contrast (WCAG AA passes).

Color values

HEX#7874FF
RGBrgb(120, 116, 255)
HSLhsl(242, 100%, 73%)
HSVhsv(242, 55%, 100%)
CMYKcmyk(52.9%, 54.5%, 0%, 0%)
CIE-LABlab(55.79, 38.53, -68.98)
CIE-LCHlch(55.79, 79.02, 299.19°)
OKLaboklab(63.44% 0.0359 -0.1974)
OKLCHoklch(63.44% 0.201 280.3)
XYZxyz(32.0355, 23.7019, 97.4752)
Luminance0.2370 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7874FF #FBFF74
analogous
#74B5FF #7874FF #BE74FF
triadic
#7874FF #FF7874 #74FF78
tetradic
#7874FF #FF74B5 #FBFF74 #74FFBE
square
#7874FF #FF74B5 #FBFF74 #74FFBE
split-complementary
#7874FF #FFBE74 #B5FF74
monochromatic
#0700F9 #3D37FF #7874FF #B3B1FF #E1E0FF

Accessibility & contrast

On white

3.66
#7874FF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.74
#7874FF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7874FF
5.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7874FF#FFFFFF#000000##000000
##7874FF1.003.665.745.74
#FFFFFF3.661.0021.0021.00
#0000005.7421.001.001.00
##0000005.7421.001.001.00

Color blindness preview

Protanopia (red-blind)
#158BFF
Deuteranopia (green-blind)
#0080FC
Tritanopia (blue-blind)
#3B94AE
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #7874ff;
/* rgb */ color: rgb(120, 116, 255);
/* oklch */ color: oklch(63.4% 0.201 280.3);
Tailwind
colors: {
  custom: {
    50: '#a89cff',
    500: '#7874ff',
    950: '#000000',
  },
}
SCSS
$custom: #7874ff;
$custom-light: #a89cff;
$custom-dark: #000000;
JSON
{
  "hex": "#7874ff",
  "rgb": {
    "r": 120,
    "g": 116,
    "b": 255
  },
  "hsl": {
    "h": 241.727,
    "s": 100,
    "l": 72.745
  },
  "oklch": {
    "l": 0.63437,
    "c": 0.20065,
    "h": 280.3
  },
  "luminance": 0.23704
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #7874FF

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

Preview Lab → · Contrast checker → · Palette generator →

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