#7875C8#7875C8

#7875C8 is a mid, vivid blue. Relative luminance 0.209; OKLCH L 60.2% C 0.124 H 283.6°. Best body text is #000000 at 5.18:1 contrast (WCAG AA passes).

Color values

HEX#7875C8
RGBrgb(120, 117, 200)
HSLhsl(242, 43%, 62%)
HSVhsv(242, 42%, 78%)
CMYKcmyk(40%, 41.5%, 0%, 21.6%)
CIE-LABlab(52.82, 21.68, -42.88)
CIE-LCHlch(52.82, 48.05, 296.83°)
OKLaboklab(60.17% 0.0293 -0.1208)
OKLCHoklch(60.17% 0.124 283.6)
XYZxyz(24.5294, 20.8849, 57.3711)
Luminance0.2089 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7875C8 #C5C875
analogous
#759BC8 #7875C8 #A275C8
triadic
#7875C8 #C87875 #75C878
tetradic
#7875C8 #C8759B #C5C875 #75C8A2
square
#7875C8 #C8759B #C5C875 #75C8A2
split-complementary
#7875C8 #C8A275 #9BC875
monochromatic
#3A378B #4D49B7 #7875C8 #A3A1D9 #CECDEB

Accessibility & contrast

On white

4.06
#7875C8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.18
#7875C8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7875C8
5.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7875C8#FFFFFF#000000##000000
##7875C81.004.065.185.18
#FFFFFF4.061.0021.0021.00
#0000005.1821.001.001.00
##0000005.1821.001.001.00

Color blindness preview

Protanopia (red-blind)
#5881CB
Deuteranopia (green-blind)
#557BC6
Tritanopia (blue-blind)
#618595
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #7875c8;
/* rgb */ color: rgb(120, 117, 200);
/* oklch */ color: oklch(60.2% 0.124 283.6);
Tailwind
colors: {
  custom: {
    50: '#a29cd9',
    500: '#7875c8',
    950: '#000000',
  },
}
SCSS
$custom: #7875c8;
$custom-light: #a29cd9;
$custom-dark: #000000;
JSON
{
  "hex": "#7875c8",
  "rgb": {
    "r": 120,
    "g": 117,
    "b": 200
  },
  "hsl": {
    "h": 242.169,
    "s": 43.005,
    "l": 62.157
  },
  "oklch": {
    "l": 0.60172,
    "c": 0.12431,
    "h": 283.6
  },
  "luminance": 0.20886
}

Semantic roles & 50–950 ramp

primary
#7875C8
secondary
#DBDCBD
accent
#B62FB1
background
#FAF9FD
surface
#F4F2FA
border
#CECCD3
text
#0F0E14
muted
#7F7E83

Preview Lab

Preview with #7875C8

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

Preview Lab → · Contrast checker → · Palette generator →

#7875C8 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva