#7178FA#7178FA

#7178FA is a light, vivid blue. Relative luminance 0.238; OKLCH L 63.3% C 0.190 H 277.2°. Best body text is #000000 at 5.77:1 contrast (WCAG AA passes).

Color values

HEX#7178FA
RGBrgb(113, 120, 250)
HSLhsl(237, 93%, 71%)
HSVhsv(237, 55%, 98%)
CMYKcmyk(54.8%, 52%, 0%, 2%)
CIE-LABlab(55.93, 33.30, -66.02)
CIE-LCHlch(55.93, 73.94, 296.77°)
OKLaboklab(63.32% 0.0237 -0.1888)
OKLCHoklch(63.32% 0.19 277.2)
XYZxyz(30.7763, 23.8437, 93.4045)
Luminance0.2385 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7178FA #FAF371
analogous
#71BCFA #7178FA #AE71FA
triadic
#7178FA #FA7178 #78FA71
tetradic
#7178FA #FA71BC #FAF371 #71FAAE
square
#7178FA #FA71BC #FAF371 #71FAAE
split-complementary
#7178FA #FAAE71 #BCFA71
monochromatic
#0814E8 #3640F8 #7178FA #ACB0FC #E1E3FE

Accessibility & contrast

On white

3.64
#7178FA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.77
#7178FA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7178FA
5.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7178FA#FFFFFF#000000##000000
##7178FA1.003.645.775.77
#FFFFFF3.641.0021.0021.00
#0000005.7721.001.001.00
##0000005.7721.001.001.00

Color blindness preview

Protanopia (red-blind)
#2E8CFF
Deuteranopia (green-blind)
#0E81F7
Tritanopia (blue-blind)
#2996AE
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #7178fa;
/* rgb */ color: rgb(113, 120, 250);
/* oklch */ color: oklch(63.3% 0.190 277.2);
Tailwind
colors: {
  custom: {
    50: '#a49ffd',
    500: '#7178fa',
    950: '#000000',
  },
}
SCSS
$custom: #7178fa;
$custom-light: #a49ffd;
$custom-dark: #000000;
JSON
{
  "hex": "#7178fa",
  "rgb": {
    "r": 113,
    "g": 120,
    "b": 250
  },
  "hsl": {
    "h": 236.934,
    "s": 93.197,
    "l": 71.176
  },
  "oklch": {
    "l": 0.63318,
    "c": 0.19032,
    "h": 277.2
  },
  "luminance": 0.23846
}

Semantic roles & 50–950 ramp

primary
#7178FA
secondary
#F5F4D1
accent
#DA00E6
background
#FAF9FF
surface
#F4F2FF
border
#CECCD7
text
#100E18
muted
#7F7E86

Preview Lab

Preview with #7178FA

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

Preview Lab → · Contrast checker → · Palette generator →

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