#7873B9#7873B9

#7873B9 is a mid, moderate blue. Relative luminance 0.198; OKLCH L 59.0% C 0.106 H 285.9°. Best body text is #000000 at 4.95:1 contrast (WCAG AA passes).

Color values

HEX#7873B9
RGBrgb(120, 115, 185)
HSLhsl(244, 33%, 59%)
HSVhsv(244, 38%, 73%)
CMYKcmyk(35.1%, 37.8%, 0%, 27.5%)
CIE-LABlab(51.56, 18.69, -36.27)
CIE-LCHlch(51.56, 40.80, 297.26°)
OKLaboklab(58.97% 0.029 -0.1016)
OKLCHoklch(58.97% 0.106 285.9)
XYZxyz(22.6310, 19.7567, 48.5106)
Luminance0.1976 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7873B9 #B4B973
analogous
#7391B9 #7873B9 #9B73B9
triadic
#7873B9 #B97873 #73B978
tetradic
#7873B9 #B97391 #B4B973 #73B99B
square
#7873B9 #B97391 #B4B973 #73B99B
split-complementary
#7873B9 #B99B73 #91B973
monochromatic
#3F3B76 #55509F #7873B9 #9F9CCD #C7C5E2

Accessibility & contrast

On white

4.24
#7873B9 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.95
#7873B9 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7873B9
4.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7873B9#FFFFFF#000000##000000
##7873B91.004.244.954.95
#FFFFFF4.241.0021.0021.00
#0000004.9521.001.001.00
##0000004.9521.001.001.00

Color blindness preview

Protanopia (red-blind)
#5D7DBC
Deuteranopia (green-blind)
#5C79B7
Tritanopia (blue-blind)
#67808D
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #7873b9;
/* rgb */ color: rgb(120, 115, 185);
/* oklch */ color: oklch(59.0% 0.106 285.9);
Tailwind
colors: {
  custom: {
    50: '#a19bce',
    500: '#7873b9',
    950: '#000000',
  },
}
SCSS
$custom: #7873b9;
$custom-light: #a19bce;
$custom-dark: #000000;
JSON
{
  "hex": "#7873b9",
  "rgb": {
    "r": 120,
    "g": 115,
    "b": 185
  },
  "hsl": {
    "h": 244.286,
    "s": 33.333,
    "l": 58.824
  },
  "oklch": {
    "l": 0.58965,
    "c": 0.10564,
    "h": 285.9
  },
  "luminance": 0.19757
}

Semantic roles & 50–950 ramp

primary
#7873B9
secondary
#D0D2B6
accent
#C95EC2
background
#FAF9FC
surface
#F4F2F9
border
#CECCD2
text
#0F0E13
muted
#7F7E82

Preview Lab

Preview with #7873B9

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

Preview Lab → · Contrast checker → · Palette generator →

#7873B9 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva