#7873E8#7873E8

#7873E8 is a mid, vivid blue. Relative luminance 0.221; OKLCH L 61.7% C 0.172 H 282.1°. Best body text is #000000 at 5.42:1 contrast (WCAG AA passes).

Color values

HEX#7873E8
RGBrgb(120, 115, 232)
HSLhsl(243, 72%, 68%)
HSVhsv(243, 50%, 91%)
CMYKcmyk(48.3%, 50.4%, 0%, 9%)
CIE-LABlab(54.11, 32.21, -58.90)
CIE-LCHlch(54.11, 67.14, 298.67°)
OKLaboklab(61.72% 0.0358 -0.1678)
OKLCHoklch(61.72% 0.172 282.1)
XYZxyz(28.4376, 22.0793, 79.0916)
Luminance0.2208 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7873E8 #E3E873
analogous
#73A8E8 #7873E8 #B273E8
triadic
#7873E8 #E87873 #73E878
tetradic
#7873E8 #E873A8 #E3E873 #73E8B2
square
#7873E8 #E873A8 #E3E873 #73E8B2
split-complementary
#7873E8 #E8B273 #A8E873
monochromatic
#2720C1 #453EDF #7873E8 #ABA8F1 #DDDCF9

Accessibility & contrast

On white

3.88
#7873E8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.42
#7873E8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7873E8
5.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7873E8#FFFFFF#000000##000000
##7873E81.003.885.425.42
#FFFFFF3.881.0021.0021.00
#0000005.4221.001.001.00
##0000005.4221.001.001.00

Color blindness preview

Protanopia (red-blind)
#3B85EC
Deuteranopia (green-blind)
#337DE5
Tritanopia (blue-blind)
#4F8CA3
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #7873e8;
/* rgb */ color: rgb(120, 115, 232);
/* oklch */ color: oklch(61.7% 0.172 282.1);
Tailwind
colors: {
  custom: {
    50: '#a69bf0',
    500: '#7873e8',
    950: '#000000',
  },
}
SCSS
$custom: #7873e8;
$custom-light: #a69bf0;
$custom-dark: #000000;
JSON
{
  "hex": "#7873e8",
  "rgb": {
    "r": 120,
    "g": 115,
    "b": 232
  },
  "hsl": {
    "h": 242.564,
    "s": 71.779,
    "l": 68.039
  },
  "oklch": {
    "l": 0.61723,
    "c": 0.17155,
    "h": 282.1
  },
  "luminance": 0.22081
}

Semantic roles & 50–950 ramp

primary
#7873E8
secondary
#ECEDCA
accent
#D412CC
background
#FAF9FE
surface
#F4F2FD
border
#CECCD5
text
#100E17
muted
#7F7E85

Preview Lab

Preview with #7873E8

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

Preview Lab → · Contrast checker → · Palette generator →

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