#7875BA#7875BA

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

Color values

HEX#7875BA
RGBrgb(120, 117, 186)
HSLhsl(243, 33%, 59%)
HSVhsv(243, 37%, 73%)
CMYKcmyk(35.5%, 37.1%, 0%, 27.1%)
CIE-LABlab(52.13, 17.77, -35.95)
CIE-LCHlch(52.13, 40.10, 296.30°)
OKLaboklab(59.42% 0.0265 -0.1007)
OKLCHoklch(59.42% 0.104 284.7)
XYZxyz(22.9675, 20.2601, 49.1453)
Luminance0.2026 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7875BA #B7BA75
analogous
#7595BA #7875BA #9B75BA
triadic
#7875BA #BA7875 #75BA78
tetradic
#7875BA #BA7595 #B7BA75 #75BA9B
square
#7875BA #BA7595 #B7BA75 #75BA9B
split-complementary
#7875BA #BA9B75 #95BA75
monochromatic
#3F3C78 #5451A1 #7875BA #A09ECE #C8C7E3

Accessibility & contrast

On white

4.16
#7875BA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.05
#7875BA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7875BA
5.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7875BA#FFFFFF#000000##000000
##7875BA1.004.165.055.05
#FFFFFF4.161.0021.0021.00
#0000005.0521.001.001.00
##0000005.0521.001.001.00

Color blindness preview

Protanopia (red-blind)
#5F7EBD
Deuteranopia (green-blind)
#5D7AB8
Tritanopia (blue-blind)
#67828F
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #7875ba;
/* rgb */ color: rgb(120, 117, 186);
/* oklch */ color: oklch(59.4% 0.104 284.7);
Tailwind
colors: {
  custom: {
    50: '#a19ccf',
    500: '#7875ba',
    950: '#000000',
  },
}
SCSS
$custom: #7875ba;
$custom-light: #a19ccf;
$custom-dark: #000000;
JSON
{
  "hex": "#7875ba",
  "rgb": {
    "r": 120,
    "g": 117,
    "b": 186
  },
  "hsl": {
    "h": 242.609,
    "s": 33.333,
    "l": 59.412
  },
  "oklch": {
    "l": 0.59416,
    "c": 0.10409,
    "h": 284.7
  },
  "luminance": 0.20261
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #7875BA

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

Preview Lab → · Contrast checker → · Palette generator →

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