#7874BB#7874BB

#7874BB is a mid, moderate blue. Relative luminance 0.201; OKLCH L 59.3% C 0.107 H 285.2°. Best body text is #000000 at 5.01:1 contrast (WCAG AA passes).

Color values

HEX#7874BB
RGBrgb(120, 116, 187)
HSLhsl(243, 34%, 59%)
HSVhsv(243, 38%, 73%)
CMYKcmyk(35.8%, 38%, 0%, 26.7%)
CIE-LABlab(51.92, 18.64, -36.86)
CIE-LCHlch(51.92, 41.31, 296.83°)
OKLaboklab(59.27% 0.0281 -0.1033)
OKLCHoklch(59.27% 0.107 285.2)
XYZxyz(22.9583, 20.0710, 49.6685)
Luminance0.2007 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7874BB #B7BB74
analogous
#7494BB #7874BB #9C74BB
triadic
#7874BB #BB7874 #74BB78
tetradic
#7874BB #BB7494 #B7BB74 #74BB9C
square
#7874BB #BB7494 #B7BB74 #74BB9C
split-complementary
#7874BB #BB9C74 #94BB74
monochromatic
#3F3B79 #544FA2 #7874BB #A09DCF #C8C6E3

Accessibility & contrast

On white

4.19
#7874BB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.01
#7874BB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7874BB
5.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7874BB#FFFFFF#000000##000000
##7874BB1.004.195.015.01
#FFFFFF4.191.0021.0021.00
#0000005.0121.001.001.00
##0000005.0121.001.001.00

Color blindness preview

Protanopia (red-blind)
#5D7EBE
Deuteranopia (green-blind)
#5C7AB9
Tritanopia (blue-blind)
#66818F
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #7874bb;
/* rgb */ color: rgb(120, 116, 187);
/* oklch */ color: oklch(59.3% 0.107 285.2);
Tailwind
colors: {
  custom: {
    50: '#a19cd0',
    500: '#7874bb',
    950: '#000000',
  },
}
SCSS
$custom: #7874bb;
$custom-light: #a19cd0;
$custom-dark: #000000;
JSON
{
  "hex": "#7874bb",
  "rgb": {
    "r": 120,
    "g": 116,
    "b": 187
  },
  "hsl": {
    "h": 243.38,
    "s": 34.3,
    "l": 59.412
  },
  "oklch": {
    "l": 0.59269,
    "c": 0.10704,
    "h": 285.2
  },
  "luminance": 0.20072
}

Semantic roles & 50–950 ramp

primary
#7874BB
secondary
#D2D3B8
accent
#CA5DC4
background
#FAF9FC
surface
#F4F2F9
border
#CECCD2
text
#0F0E14
muted
#7F7E82

Preview Lab

Preview with #7874BB

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

Preview Lab → · Contrast checker → · Palette generator →

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