#7C8FF5#7C8FF5

#7C8FF5 is a light, vivid blue. Relative luminance 0.305; OKLCH L 68.1% C 0.152 H 273.8°. Best body text is #000000 at 7.10:1 contrast (WCAG AA passes).

Color values

HEX#7C8FF5
RGBrgb(124, 143, 245)
HSLhsl(231, 86%, 72%)
HSVhsv(231, 49%, 96%)
CMYKcmyk(49.4%, 41.6%, 0%, 3.9%)
CIE-LABlab(62.10, 20.41, -53.34)
CIE-LCHlch(62.10, 57.11, 290.94°)
OKLaboklab(68.09% 0.0099 -0.1512)
OKLCHoklch(68.09% 0.152 273.8)
XYZxyz(34.6108, 30.5205, 90.4358)
Luminance0.3052 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C8FF5 #F5E27C
analogous
#7CCBF5 #7C8FF5 #A67CF5
triadic
#7C8FF5 #F57C8F #8FF57C
tetradic
#7C8FF5 #F57CCB #F5E27C #7CF5A6
square
#7C8FF5 #F57CCB #F5E27C #7CF5A6
split-complementary
#7C8FF5 #F5A67C #CBF57C
monochromatic
#1133E5 #435EF1 #7C8FF5 #B5C0F9 #E3E7FD

Accessibility & contrast

On white

2.96
#7C8FF5 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.10
#7C8FF5 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #7C8FF5
7.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C8FF5#FFFFFF#000000##000000
##7C8FF51.002.967.107.10
#FFFFFF2.961.0021.0021.00
#0000007.1021.001.001.00
##0000007.1021.001.001.00

Color blindness preview

Protanopia (red-blind)
#669BF9
Deuteranopia (green-blind)
#5A91F3
Tritanopia (blue-blind)
#4AA5B6
Achromatopsia (no color)
#969696

Design tokens & code

CSS
--color: #7c8ff5;
/* rgb */ color: rgb(124, 143, 245);
/* oklch */ color: oklch(68.1% 0.152 273.8);
Tailwind
colors: {
  custom: {
    50: '#a8aff9',
    500: '#7c8ff5',
    950: '#000000',
  },
}
SCSS
$custom: #7c8ff5;
$custom-light: #a8aff9;
$custom-dark: #000000;
JSON
{
  "hex": "#7c8ff5",
  "rgb": {
    "r": 124,
    "g": 143,
    "b": 245
  },
  "hsl": {
    "h": 230.579,
    "s": 85.816,
    "l": 72.353
  },
  "oklch": {
    "l": 0.68086,
    "c": 0.15151,
    "h": 273.8
  },
  "luminance": 0.30523
}

Semantic roles & 50–950 ramp

primary
#7C8FF5
secondary
#F5F0D6
accent
#BF03E2
background
#FAFAFF
surface
#F4F4FF
border
#CECED7
text
#101017
muted
#7F7F85

Preview Lab

Preview with #7C8FF5

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

Preview Lab → · Contrast checker → · Palette generator →

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