#7873CD#7873CD

#7873CD is a mid, vivid blue. Relative luminance 0.207; OKLCH L 60.1% C 0.134 H 284.1°. Best body text is #000000 at 5.13:1 contrast (WCAG AA passes).

Color values

HEX#7873CD
RGBrgb(120, 115, 205)
HSLhsl(243, 47%, 63%)
HSVhsv(243, 44%, 80%)
CMYKcmyk(41.5%, 43.9%, 0%, 19.6%)
CIE-LABlab(52.58, 24.31, -46.12)
CIE-LCHlch(52.58, 52.13, 297.80°)
OKLaboklab(60.07% 0.0327 -0.1303)
OKLCHoklch(60.07% 0.134 284.1)
XYZxyz(24.8927, 20.6613, 60.4222)
Luminance0.2066 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7873CD #C8CD73
analogous
#739BCD #7873CD #A573CD
triadic
#7873CD #CD7873 #73CD78
tetradic
#7873CD #CD739B #C8CD73 #73CDA5
square
#7873CD #CD739B #C8CD73 #73CDA5
split-complementary
#7873CD #CDA573 #9BCD73
monochromatic
#393492 #4D46BD #7873CD #A3A0DD #CFCDED

Accessibility & contrast

On white

4.09
#7873CD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.13
#7873CD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7873CD
5.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7873CD#FFFFFF#000000##000000
##7873CD1.004.095.135.13
#FFFFFF4.091.0021.0021.00
#0000005.1321.001.001.00
##0000005.1321.001.001.00

Color blindness preview

Protanopia (red-blind)
#5280D0
Deuteranopia (green-blind)
#4F7BCB
Tritanopia (blue-blind)
#5F8596
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #7873cd;
/* rgb */ color: rgb(120, 115, 205);
/* oklch */ color: oklch(60.1% 0.134 284.1);
Tailwind
colors: {
  custom: {
    50: '#a39bdd',
    500: '#7873cd',
    950: '#000000',
  },
}
SCSS
$custom: #7873cd;
$custom-light: #a39bdd;
$custom-dark: #000000;
JSON
{
  "hex": "#7873cd",
  "rgb": {
    "r": 120,
    "g": 115,
    "b": 205
  },
  "hsl": {
    "h": 243.333,
    "s": 47.368,
    "l": 62.745
  },
  "oklch": {
    "l": 0.6007,
    "c": 0.13432,
    "h": 284.1
  },
  "luminance": 0.20662
}

Semantic roles & 50–950 ramp

primary
#7873CD
secondary
#DCDEBE
accent
#BB2BB3
background
#FAF9FD
surface
#F4F2FB
border
#CECCD4
text
#0F0E15
muted
#7F7E83

Preview Lab

Preview with #7873CD

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

Preview Lab → · Contrast checker → · Palette generator →

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