#7875BB#7875BB

#7875BB is a mid, moderate blue. Relative luminance 0.203; OKLCH L 59.5% C 0.106 H 284.7°. Best body text is #000000 at 5.06:1 contrast (WCAG AA passes).

Color values

HEX#7875BB
RGBrgb(120, 117, 187)
HSLhsl(243, 34%, 60%)
HSVhsv(243, 37%, 73%)
CMYKcmyk(35.8%, 37.4%, 0%, 26.7%)
CIE-LABlab(52.18, 18.04, -36.45)
CIE-LCHlch(52.18, 40.67, 296.33°)
OKLaboklab(59.47% 0.0267 -0.1021)
OKLCHoklch(59.47% 0.106 284.7)
XYZxyz(23.0742, 20.3028, 49.7072)
Luminance0.2030 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7875BB #B8BB75
analogous
#7595BB #7875BB #9B75BB
triadic
#7875BB #BB7875 #75BB78
tetradic
#7875BB #BB7595 #B8BB75 #75BB9B
square
#7875BB #BB7595 #B8BB75 #75BB9B
split-complementary
#7875BB #BB9B75 #95BB75
monochromatic
#3F3C7A #5450A3 #7875BB #A09ECF #C8C7E3

Accessibility & contrast

On white

4.15
#7875BB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.06
#7875BB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7875BB
5.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7875BB#FFFFFF#000000##000000
##7875BB1.004.155.065.06
#FFFFFF4.151.0021.0021.00
#0000005.0621.001.001.00
##0000005.0621.001.001.00

Color blindness preview

Protanopia (red-blind)
#5F7FBE
Deuteranopia (green-blind)
#5D7AB9
Tritanopia (blue-blind)
#66828F
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #7875bb;
/* rgb */ color: rgb(120, 117, 187);
/* oklch */ color: oklch(59.5% 0.106 284.7);
Tailwind
colors: {
  custom: {
    50: '#a19cd0',
    500: '#7875bb',
    950: '#000000',
  },
}
SCSS
$custom: #7875bb;
$custom-light: #a19cd0;
$custom-dark: #000000;
JSON
{
  "hex": "#7875bb",
  "rgb": {
    "r": 120,
    "g": 117,
    "b": 187
  },
  "hsl": {
    "h": 242.571,
    "s": 33.981,
    "l": 59.608
  },
  "oklch": {
    "l": 0.59468,
    "c": 0.10555,
    "h": 284.7
  },
  "luminance": 0.20304
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #7875BB

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

Preview Lab → · Contrast checker → · Palette generator →

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