#7873DD#7873DD

#7873DD is a mid, vivid blue. Relative luminance 0.215; OKLCH L 61.0% C 0.157 H 282.8°. Best body text is #000000 at 5.29:1 contrast (WCAG AA passes).

Color values

HEX#7873DD
RGBrgb(120, 115, 221)
HSLhsl(243, 61%, 66%)
HSVhsv(243, 48%, 87%)
CMYKcmyk(45.7%, 48%, 0%, 13.3%)
CIE-LABlab(53.46, 28.96, -53.76)
CIE-LCHlch(53.46, 61.07, 298.31°)
OKLaboklab(61.03% 0.0348 -0.1527)
OKLCHoklch(61.03% 0.157 282.8)
XYZxyz(26.9237, 21.4737, 71.1188)
Luminance0.2147 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7873DD #D8DD73
analogous
#73A3DD #7873DD #AD73DD
triadic
#7873DD #DD7873 #73DD78
tetradic
#7873DD #DD73A3 #D8DD73 #73DDAD
square
#7873DD #DD73A3 #D8DD73 #73DDAD
split-complementary
#7873DD #DDAD73 #A3DD73
monochromatic
#302AAC #4942D1 #7873DD #A7A4E9 #D7D5F5

Accessibility & contrast

On white

3.97
#7873DD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.29
#7873DD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7873DD
5.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7873DD#FFFFFF#000000##000000
##7873DD1.003.975.295.29
#FFFFFF3.971.0021.0021.00
#0000005.2921.001.001.00
##0000005.2921.001.001.00

Color blindness preview

Protanopia (red-blind)
#4683E1
Deuteranopia (green-blind)
#407CDB
Tritanopia (blue-blind)
#56899D
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #7873dd;
/* rgb */ color: rgb(120, 115, 221);
/* oklch */ color: oklch(61.0% 0.157 282.8);
Tailwind
colors: {
  custom: {
    50: '#a49be8',
    500: '#7873dd',
    950: '#000000',
  },
}
SCSS
$custom: #7873dd;
$custom-light: #a49be8;
$custom-dark: #000000;
JSON
{
  "hex": "#7873dd",
  "rgb": {
    "r": 120,
    "g": 115,
    "b": 221
  },
  "hsl": {
    "h": 242.83,
    "s": 60.92,
    "l": 65.882
  },
  "oklch": {
    "l": 0.61029,
    "c": 0.1566,
    "h": 282.8
  },
  "luminance": 0.21475
}

Semantic roles & 50–950 ramp

primary
#7873DD
secondary
#E6E7C4
accent
#C91DC1
background
#FAF9FE
surface
#F4F2FD
border
#CECCD5
text
#100E16
muted
#7F7E84

Preview Lab

Preview with #7873DD

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

Preview Lab → · Contrast checker → · Palette generator →

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