#7873CB#7873CB

#7873CB is a mid, vivid blue. Relative luminance 0.206; OKLCH L 60.0% C 0.132 H 284.3°. Best body text is #000000 at 5.11:1 contrast (WCAG AA passes).

Color values

HEX#7873CB
RGBrgb(120, 115, 203)
HSLhsl(243, 46%, 62%)
HSVhsv(243, 43%, 80%)
CMYKcmyk(40.9%, 43.3%, 0%, 20.4%)
CIE-LABlab(52.47, 23.74, -45.15)
CIE-LCHlch(52.47, 51.01, 297.74°)
OKLaboklab(59.96% 0.0324 -0.1274)
OKLCHoklch(59.96% 0.132 284.3)
XYZxyz(24.6529, 20.5654, 59.1589)
Luminance0.2057 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7873CB #C6CB73
analogous
#739ACB #7873CB #A473CB
triadic
#7873CB #CB7873 #73CB78
tetradic
#7873CB #CB739A #C6CB73 #73CBA4
square
#7873CB #CB739A #C6CB73 #73CBA4
split-complementary
#7873CB #CBA473 #9ACB73
monochromatic
#3A358F #4D46BA #7873CB #A3A0DC #CECCEC

Accessibility & contrast

On white

4.11
#7873CB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.11
#7873CB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7873CB
5.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7873CB#FFFFFF#000000##000000
##7873CB1.004.115.115.11
#FFFFFF4.111.0021.0021.00
#0000005.1121.001.001.00
##0000005.1121.001.001.00

Color blindness preview

Protanopia (red-blind)
#5380CE
Deuteranopia (green-blind)
#507AC9
Tritanopia (blue-blind)
#608595
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #7873cb;
/* rgb */ color: rgb(120, 115, 203);
/* oklch */ color: oklch(60.0% 0.132 284.3);
Tailwind
colors: {
  custom: {
    50: '#a39bdb',
    500: '#7873cb',
    950: '#000000',
  },
}
SCSS
$custom: #7873cb;
$custom-light: #a39bdb;
$custom-dark: #000000;
JSON
{
  "hex": "#7873cb",
  "rgb": {
    "r": 120,
    "g": 115,
    "b": 203
  },
  "hsl": {
    "h": 243.409,
    "s": 45.833,
    "l": 62.353
  },
  "oklch": {
    "l": 0.59955,
    "c": 0.1315,
    "h": 284.3
  },
  "luminance": 0.20566
}

Semantic roles & 50–950 ramp

primary
#7873CB
secondary
#DBDDBD
accent
#B92CB1
background
#FAF9FD
surface
#F4F2FB
border
#CECCD4
text
#0F0E15
muted
#7F7E83

Preview Lab

Preview with #7873CB

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

Preview Lab → · Contrast checker → · Palette generator →

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