#7875B8#7875B8

#7875B8 is a mid, moderate blue. Relative luminance 0.202; OKLCH L 59.3% C 0.101 H 284.9°. Best body text is #000000 at 5.04:1 contrast (WCAG AA passes).

Color values

HEX#7875B8
RGBrgb(120, 117, 184)
HSLhsl(243, 32%, 59%)
HSVhsv(243, 36%, 72%)
CMYKcmyk(34.8%, 36.4%, 0%, 27.8%)
CIE-LABlab(52.04, 17.22, -34.95)
CIE-LCHlch(52.04, 38.96, 296.23°)
OKLaboklab(59.31% 0.026 -0.0977)
OKLCHoklch(59.31% 0.101 284.9)
XYZxyz(22.7564, 20.1757, 48.0334)
Luminance0.2018 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7875B8 #B5B875
analogous
#7594B8 #7875B8 #9A75B8
triadic
#7875B8 #B87875 #75B878
tetradic
#7875B8 #B87594 #B5B875 #75B89A
square
#7875B8 #B87594 #B5B875 #75B89A
split-complementary
#7875B8 #B89A75 #94B875
monochromatic
#3F3D76 #55519E #7875B8 #A09DCD #C7C6E2

Accessibility & contrast

On white

4.17
#7875B8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.04
#7875B8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7875B8
5.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7875B8#FFFFFF#000000##000000
##7875B81.004.175.045.04
#FFFFFF4.171.0021.0021.00
#0000005.0421.001.001.00
##0000005.0421.001.001.00

Color blindness preview

Protanopia (red-blind)
#607EBB
Deuteranopia (green-blind)
#5E7AB6
Tritanopia (blue-blind)
#67828E
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #7875b8;
/* rgb */ color: rgb(120, 117, 184);
/* oklch */ color: oklch(59.3% 0.101 284.9);
Tailwind
colors: {
  custom: {
    50: '#a19ccd',
    500: '#7875b8',
    950: '#000000',
  },
}
SCSS
$custom: #7875b8;
$custom-light: #a19ccd;
$custom-dark: #000000;
JSON
{
  "hex": "#7875b8",
  "rgb": {
    "r": 120,
    "g": 117,
    "b": 184
  },
  "hsl": {
    "h": 242.687,
    "s": 32.057,
    "l": 59.02
  },
  "oklch": {
    "l": 0.59312,
    "c": 0.10116,
    "h": 284.9
  },
  "luminance": 0.20176
}

Semantic roles & 50–950 ramp

primary
#7875B8
secondary
#D0D2B7
accent
#C860C4
background
#FAF9FC
surface
#F4F2F9
border
#CECCD2
text
#0F0E13
muted
#7F7E82

Preview Lab

Preview with #7875B8

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

Preview Lab → · Contrast checker → · Palette generator →

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