#7278F8#7278F8

#7278F8 is a light, vivid blue. Relative luminance 0.238; OKLCH L 63.3% C 0.187 H 277.6°. Best body text is #000000 at 5.76:1 contrast (WCAG AA passes).

Color values

HEX#7278F8
RGBrgb(114, 120, 248)
HSLhsl(237, 91%, 71%)
HSVhsv(237, 54%, 97%)
CMYKcmyk(54%, 51.6%, 0%, 2.7%)
CIE-LABlab(55.87, 32.87, -65.00)
CIE-LCHlch(55.87, 72.84, 296.82°)
OKLaboklab(63.25% 0.0247 -0.1858)
OKLCHoklch(63.25% 0.187 277.6)
XYZxyz(30.5938, 23.7856, 91.7677)
Luminance0.2379 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7278F8 #F8F272
analogous
#72BBF8 #7278F8 #AF72F8
triadic
#7278F8 #F87278 #78F872
tetradic
#7278F8 #F872BB #F8F272 #72F8AF
square
#7278F8 #F872BB #F8F272 #72F8AF
split-complementary
#7278F8 #F8AF72 #BBF872
monochromatic
#0B15E4 #3840F5 #7278F8 #ACB0FB #E2E3FE

Accessibility & contrast

On white

3.65
#7278F8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.76
#7278F8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7278F8
5.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7278F8#FFFFFF#000000##000000
##7278F81.003.655.765.76
#FFFFFF3.651.0021.0021.00
#0000005.7621.001.001.00
##0000005.7621.001.001.00

Color blindness preview

Protanopia (red-blind)
#318BFC
Deuteranopia (green-blind)
#1981F5
Tritanopia (blue-blind)
#3095AD
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #7278f8;
/* rgb */ color: rgb(114, 120, 248);
/* oklch */ color: oklch(63.3% 0.187 277.6);
Tailwind
colors: {
  custom: {
    50: '#a49ffb',
    500: '#7278f8',
    950: '#000000',
  },
}
SCSS
$custom: #7278f8;
$custom-light: #a49ffb;
$custom-dark: #000000;
JSON
{
  "hex": "#7278f8",
  "rgb": {
    "r": 114,
    "g": 120,
    "b": 248
  },
  "hsl": {
    "h": 237.313,
    "s": 90.541,
    "l": 70.98
  },
  "oklch": {
    "l": 0.63251,
    "c": 0.18745,
    "h": 277.6
  },
  "luminance": 0.23788
}

Semantic roles & 50–950 ramp

primary
#7278F8
secondary
#F5F3D1
accent
#DB00E6
background
#FAF9FF
surface
#F4F2FF
border
#CECCD7
text
#100E17
muted
#7F7E85

Preview Lab

Preview with #7278F8

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

Preview Lab → · Contrast checker → · Palette generator →

#7278F8 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva