#7875BC#7875BC

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

Color values

HEX#7875BC
RGBrgb(120, 117, 188)
HSLhsl(243, 35%, 60%)
HSVhsv(243, 38%, 74%)
CMYKcmyk(36.2%, 37.8%, 0%, 26.3%)
CIE-LABlab(52.23, 18.32, -36.95)
CIE-LCHlch(52.23, 41.24, 296.37°)
OKLaboklab(59.52% 0.0269 -0.1035)
OKLCHoklch(59.52% 0.107 284.6)
XYZxyz(23.1816, 20.3458, 50.2729)
Luminance0.2035 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7875BC #B9BC75
analogous
#7596BC #7875BC #9B75BC
triadic
#7875BC #BC7875 #75BC78
tetradic
#7875BC #BC7596 #B9BC75 #75BC9B
square
#7875BC #BC7596 #B9BC75 #75BC9B
split-complementary
#7875BC #BC9B75 #96BC75
monochromatic
#3E3C7B #5350A4 #7875BC #A09ED0 #C9C7E4

Accessibility & contrast

On white

4.14
#7875BC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.07
#7875BC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7875BC
5.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7875BC#FFFFFF#000000##000000
##7875BC1.004.145.075.07
#FFFFFF4.141.0021.0021.00
#0000005.0721.001.001.00
##0000005.0721.001.001.00

Color blindness preview

Protanopia (red-blind)
#5E7FBF
Deuteranopia (green-blind)
#5C7ABA
Tritanopia (blue-blind)
#66828F
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #7875bc;
/* rgb */ color: rgb(120, 117, 188);
/* oklch */ color: oklch(59.5% 0.107 284.6);
Tailwind
colors: {
  custom: {
    50: '#a19cd0',
    500: '#7875bc',
    950: '#000000',
  },
}
SCSS
$custom: #7875bc;
$custom-light: #a19cd0;
$custom-dark: #000000;
JSON
{
  "hex": "#7875bc",
  "rgb": {
    "r": 120,
    "g": 117,
    "b": 188
  },
  "hsl": {
    "h": 242.535,
    "s": 34.634,
    "l": 59.804
  },
  "oklch": {
    "l": 0.59521,
    "c": 0.107,
    "h": 284.6
  },
  "luminance": 0.20346
}

Semantic roles & 50–950 ramp

primary
#7875BC
secondary
#D3D4B9
accent
#CB5DC6
background
#FAF9FC
surface
#F4F2F9
border
#CECCD2
text
#0F0E14
muted
#7F7E82

Preview Lab

Preview with #7875BC

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

Preview Lab → · Contrast checker → · Palette generator →

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