#7875B2#7875B2

#7875B2 is a mid, moderate blue. Relative luminance 0.199; OKLCH L 59.0% C 0.092 H 285.4°. Best body text is #000000 at 4.99:1 contrast (WCAG AA passes).

Color values

HEX#7875B2
RGBrgb(120, 117, 178)
HSLhsl(243, 28%, 58%)
HSVhsv(243, 34%, 70%)
CMYKcmyk(32.6%, 34.3%, 0%, 30.2%)
CIE-LABlab(51.76, 15.59, -31.92)
CIE-LCHlch(51.76, 35.53, 296.03°)
OKLaboklab(59.01% 0.0246 -0.089)
OKLCHoklch(59.01% 0.092 285.4)
XYZxyz(22.1408, 19.9294, 44.7911)
Luminance0.1993 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7875B2 #AFB275
analogous
#7590B2 #7875B2 #9675B2
triadic
#7875B2 #B27875 #75B278
tetradic
#7875B2 #B27590 #AFB275 #75B296
square
#7875B2 #B27590 #AFB275 #75B296
split-complementary
#7875B2 #B29675 #90B275
monochromatic
#403E6F #575496 #7875B2 #9E9CC8 #C5C4DE

Accessibility & contrast

On white

4.21
#7875B2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.99
#7875B2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7875B2
4.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7875B2#FFFFFF#000000##000000
##7875B21.004.214.994.99
#FFFFFF4.211.0021.0021.00
#0000004.9921.001.001.00
##0000004.9921.001.001.00

Color blindness preview

Protanopia (red-blind)
#637DB4
Deuteranopia (green-blind)
#617AB0
Tritanopia (blue-blind)
#69808B
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #7875b2;
/* rgb */ color: rgb(120, 117, 178);
/* oklch */ color: oklch(59.0% 0.092 285.4);
Tailwind
colors: {
  custom: {
    50: '#a19cc9',
    500: '#7875b2',
    950: '#000000',
  },
}
SCSS
$custom: #7875b2;
$custom-light: #a19cc9;
$custom-dark: #000000;
JSON
{
  "hex": "#7875b2",
  "rgb": {
    "r": 120,
    "g": 117,
    "b": 178
  },
  "hsl": {
    "h": 242.951,
    "s": 28.372,
    "l": 57.843
  },
  "oklch": {
    "l": 0.59008,
    "c": 0.09233,
    "h": 285.4
  },
  "luminance": 0.1993
}

Semantic roles & 50–950 ramp

primary
#7875B2
secondary
#CCCEB5
accent
#C563C0
background
#FAF9FC
surface
#F3F2F8
border
#CDCCD1
text
#0F0E13
muted
#7F7E82

Preview Lab

Preview with #7875B2

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

Preview Lab → · Contrast checker → · Palette generator →

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