#7178EC#7178EC

#7178EC is a light, vivid blue. Relative luminance 0.230; OKLCH L 62.4% C 0.172 H 277.6°. Best body text is #000000 at 5.60:1 contrast (WCAG AA passes).

Color values

HEX#7178EC
RGBrgb(113, 120, 236)
HSLhsl(237, 76%, 68%)
HSVhsv(237, 52%, 93%)
CMYKcmyk(52.1%, 49.2%, 0%, 7.5%)
CIE-LABlab(55.07, 28.96, -59.63)
CIE-LCHlch(55.07, 66.29, 295.90°)
OKLaboklab(62.39% 0.0227 -0.17)
OKLCHoklch(62.39% 0.172 277.6)
XYZxyz(28.6621, 22.9980, 82.2694)
Luminance0.2300 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7178EC #ECE571
analogous
#71B5EC #7178EC #A771EC
triadic
#7178EC #EC7178 #78EC71
tetradic
#7178EC #EC71B5 #ECE571 #71ECA7
square
#7178EC #EC71B5 #ECE571 #71ECA7
split-complementary
#7178EC #ECA771 #B5EC71
monochromatic
#1B25C8 #3B45E5 #7178EC #A7ABF3 #DDDFFA

Accessibility & contrast

On white

3.75
#7178EC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.60
#7178EC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7178EC
5.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7178EC#FFFFFF#000000##000000
##7178EC1.003.755.605.60
#FFFFFF3.751.0021.0021.00
#0000005.6021.001.001.00
##0000005.6021.001.001.00

Color blindness preview

Protanopia (red-blind)
#4089F0
Deuteranopia (green-blind)
#317FE9
Tritanopia (blue-blind)
#3A92A7
Achromatopsia (no color)
#848484

Design tokens & code

CSS
--color: #7178ec;
/* rgb */ color: rgb(113, 120, 236);
/* oklch */ color: oklch(62.4% 0.172 277.6);
Tailwind
colors: {
  custom: {
    50: '#a29ef3',
    500: '#7178ec',
    950: '#000000',
  },
}
SCSS
$custom: #7178ec;
$custom-light: #a29ef3;
$custom-dark: #000000;
JSON
{
  "hex": "#7178ec",
  "rgb": {
    "r": 113,
    "g": 120,
    "b": 236
  },
  "hsl": {
    "h": 236.585,
    "s": 76.398,
    "l": 68.431
  },
  "oklch": {
    "l": 0.62394,
    "c": 0.17154,
    "h": 277.6
  },
  "luminance": 0.23
}

Semantic roles & 50–950 ramp

primary
#7178EC
secondary
#EFEDCA
accent
#CD0DD9
background
#FAF9FE
surface
#F4F2FD
border
#CECCD5
text
#100E17
muted
#7F7E85

Preview Lab

Preview with #7178EC

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

Preview Lab → · Contrast checker → · Palette generator →

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