#7C8FE8#7C8FE8

#7C8FE8 is a light, vivid blue. Relative luminance 0.298; OKLCH L 67.4% C 0.133 H 273.2°. Best body text is #000000 at 6.95:1 contrast (WCAG AA passes).

Color values

HEX#7C8FE8
RGBrgb(124, 143, 232)
HSLhsl(229, 70%, 70%)
HSVhsv(229, 47%, 91%)
CMYKcmyk(46.6%, 38.4%, 0%, 9%)
CIE-LABlab(61.44, 16.54, -47.21)
CIE-LCHlch(61.44, 50.02, 289.30°)
OKLaboklab(67.37% 0.0075 -0.1333)
OKLCHoklch(67.37% 0.133 273.2)
XYZxyz(32.6956, 29.7543, 80.3486)
Luminance0.2976 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C8FE8 #E8D57C
analogous
#7CC5E8 #7C8FE8 #9F7CE8
triadic
#7C8FE8 #E87C8F #8FE87C
tetradic
#7C8FE8 #E87CC5 #E8D57C #7CE89F
square
#7C8FE8 #E87CC5 #E8D57C #7CE89F
split-complementary
#7C8FE8 #E89F7C #C5E87C
monochromatic
#2340C7 #4862DF #7C8FE8 #B0BCF1 #E4E8FA

Accessibility & contrast

On white

3.02
#7C8FE8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.95
#7C8FE8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7C8FE8
6.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C8FE8#FFFFFF#000000##000000
##7C8FE81.003.026.956.95
#FFFFFF3.021.0021.0021.00
#0000006.9521.001.001.00
##0000006.9521.001.001.00

Color blindness preview

Protanopia (red-blind)
#6E99EC
Deuteranopia (green-blind)
#6490E6
Tritanopia (blue-blind)
#54A2B0
Achromatopsia (no color)
#949494

Design tokens & code

CSS
--color: #7c8fe8;
/* rgb */ color: rgb(124, 143, 232);
/* oklch */ color: oklch(67.4% 0.133 273.2);
Tailwind
colors: {
  custom: {
    50: '#a7aff0',
    500: '#7c8fe8',
    950: '#000000',
  },
}
SCSS
$custom: #7c8fe8;
$custom-light: #a7aff0;
$custom-dark: #000000;
JSON
{
  "hex": "#7c8fe8",
  "rgb": {
    "r": 124,
    "g": 143,
    "b": 232
  },
  "hsl": {
    "h": 229.444,
    "s": 70.13,
    "l": 69.804
  },
  "oklch": {
    "l": 0.67366,
    "c": 0.13347,
    "h": 273.2
  },
  "luminance": 0.29756
}

Semantic roles & 50–950 ramp

primary
#7C8FE8
secondary
#EFEAD1
accent
#B113D2
background
#FAFAFE
surface
#F4F4FD
border
#CECED5
text
#101016
muted
#7F7F84

Preview Lab

Preview with #7C8FE8

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

Preview Lab → · Contrast checker → · Palette generator →

#7C8FE8 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva