#7C8BEA#7C8BEA

#7C8BEA is a light, vivid blue. Relative luminance 0.287; OKLCH L 66.7% C 0.141 H 275.1°. Best body text is #000000 at 6.74:1 contrast (WCAG AA passes).

Color values

HEX#7C8BEA
RGBrgb(124, 139, 234)
HSLhsl(232, 72%, 70%)
HSVhsv(232, 47%, 92%)
CMYKcmyk(47%, 40.6%, 0%, 8.2%)
CIE-LABlab(60.51, 19.48, -49.80)
CIE-LCHlch(60.51, 53.48, 291.36°)
OKLaboklab(66.68% 0.0126 -0.1408)
OKLCHoklch(66.68% 0.141 275.1)
XYZxyz(32.3915, 28.6890, 81.6567)
Luminance0.2869 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C8BEA #EADB7C
analogous
#7CC2EA #7C8BEA #A47CEA
triadic
#7C8BEA #EA7C8B #8BEA7C
tetradic
#7C8BEA #EA7CC2 #EADB7C #7CEAA4
square
#7C8BEA #EA7CC2 #EADB7C #7CEAA4
split-complementary
#7C8BEA #EAA47C #C2EA7C
monochromatic
#2138CB #475CE2 #7C8BEA #B1BAF2 #E5E8FB

Accessibility & contrast

On white

3.12
#7C8BEA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.74
#7C8BEA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7C8BEA
6.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C8BEA#FFFFFF#000000##000000
##7C8BEA1.003.126.746.74
#FFFFFF3.121.0021.0021.00
#0000006.7421.001.001.00
##0000006.7421.001.001.00

Color blindness preview

Protanopia (red-blind)
#6697EE
Deuteranopia (green-blind)
#5D8EE8
Tritanopia (blue-blind)
#539FAF
Achromatopsia (no color)
#929292

Design tokens & code

CSS
--color: #7c8bea;
/* rgb */ color: rgb(124, 139, 234);
/* oklch */ color: oklch(66.7% 0.141 275.1);
Tailwind
colors: {
  custom: {
    50: '#a7acf1',
    500: '#7c8bea',
    950: '#000000',
  },
}
SCSS
$custom: #7c8bea;
$custom-light: #a7acf1;
$custom-dark: #000000;
JSON
{
  "hex": "#7c8bea",
  "rgb": {
    "r": 124,
    "g": 139,
    "b": 234
  },
  "hsl": {
    "h": 231.818,
    "s": 72.368,
    "l": 70.196
  },
  "oklch": {
    "l": 0.66681,
    "c": 0.1414,
    "h": 275.1
  },
  "luminance": 0.28691
}

Semantic roles & 50–950 ramp

primary
#7C8BEA
secondary
#F0ECD2
accent
#BA11D4
background
#FAFAFE
surface
#F4F4FD
border
#CECED5
text
#101017
muted
#7F7F85

Preview Lab

Preview with #7C8BEA

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

Preview Lab → · Contrast checker → · Palette generator →

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