#7178EB#7178EB

#7178EB is a light, vivid blue. Relative luminance 0.229; OKLCH L 62.3% C 0.170 H 277.6°. Best body text is #000000 at 5.59:1 contrast (WCAG AA passes).

Color values

HEX#7178EB
RGBrgb(113, 120, 235)
HSLhsl(237, 75%, 68%)
HSVhsv(237, 52%, 92%)
CMYKcmyk(51.9%, 48.9%, 0%, 7.8%)
CIE-LABlab(55.01, 28.65, -59.16)
CIE-LCHlch(55.01, 65.74, 295.84°)
OKLaboklab(62.33% 0.0226 -0.1687)
OKLCHoklch(62.33% 0.17 277.6)
XYZxyz(28.5172, 22.9400, 81.5063)
Luminance0.2294 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7178EB #EBE471
analogous
#71B5EB #7178EB #A771EB
triadic
#7178EB #EB7178 #78EB71
tetradic
#7178EB #EB71B5 #EBE471 #71EBA7
square
#7178EB #EB71B5 #EBE471 #71EBA7
split-complementary
#7178EB #EBA771 #B5EB71
monochromatic
#1C26C6 #3B45E3 #7178EB #A7ABF3 #DCDEFA

Accessibility & contrast

On white

3.76
#7178EB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.59
#7178EB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7178EB
5.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7178EB#FFFFFF#000000##000000
##7178EB1.003.765.595.59
#FFFFFF3.761.0021.0021.00
#0000005.5921.001.001.00
##0000005.5921.001.001.00

Color blindness preview

Protanopia (red-blind)
#4189EF
Deuteranopia (green-blind)
#337FE9
Tritanopia (blue-blind)
#3B91A6
Achromatopsia (no color)
#848484

Design tokens & code

CSS
--color: #7178eb;
/* rgb */ color: rgb(113, 120, 235);
/* oklch */ color: oklch(62.3% 0.170 277.6);
Tailwind
colors: {
  custom: {
    50: '#a29ef2',
    500: '#7178eb',
    950: '#000000',
  },
}
SCSS
$custom: #7178eb;
$custom-light: #a29ef2;
$custom-dark: #000000;
JSON
{
  "hex": "#7178eb",
  "rgb": {
    "r": 113,
    "g": 120,
    "b": 235
  },
  "hsl": {
    "h": 236.557,
    "s": 75.309,
    "l": 68.235
  },
  "oklch": {
    "l": 0.6233,
    "c": 0.17018,
    "h": 277.6
  },
  "luminance": 0.22942
}

Semantic roles & 50–950 ramp

primary
#7178EB
secondary
#EEECC9
accent
#CC0ED7
background
#FAF9FE
surface
#F4F2FD
border
#CECCD5
text
#100E17
muted
#7F7E85

Preview Lab

Preview with #7178EB

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

Preview Lab → · Contrast checker → · Palette generator →

#7178EB Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva