#7C8FF0#7C8FF0

#7C8FF0 is a light, vivid blue. Relative luminance 0.302; OKLCH L 67.8% C 0.145 H 273.6°. Best body text is #000000 at 7.04:1 contrast (WCAG AA passes).

Color values

HEX#7C8FF0
RGBrgb(124, 143, 240)
HSLhsl(230, 79%, 71%)
HSVhsv(230, 48%, 94%)
CMYKcmyk(48.3%, 40.4%, 0%, 5.9%)
CIE-LABlab(61.84, 18.91, -51.00)
CIE-LCHlch(61.84, 54.39, 290.35°)
OKLaboklab(67.81% 0.009 -0.1443)
OKLCHoklch(67.81% 0.145 273.6)
XYZxyz(33.8579, 30.2193, 86.4700)
Luminance0.3022 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C8FF0 #F0DD7C
analogous
#7CC9F0 #7C8FF0 #A37CF0
triadic
#7C8FF0 #F07C8F #8FF07C
tetradic
#7C8FF0 #F07CC9 #F0DD7C #7CF0A3
square
#7C8FF0 #F07CC9 #F0DD7C #7CF0A3
split-complementary
#7C8FF0 #F0A37C #C9F07C
monochromatic
#1938D9 #4560EA #7C8FF0 #B3BEF6 #E4E8FC

Accessibility & contrast

On white

2.98
#7C8FF0 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.04
#7C8FF0 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #7C8FF0
7.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C8FF0#FFFFFF#000000##000000
##7C8FF01.002.987.047.04
#FFFFFF2.981.0021.0021.00
#0000007.0421.001.001.00
##0000007.0421.001.001.00

Color blindness preview

Protanopia (red-blind)
#699BF4
Deuteranopia (green-blind)
#5E91EE
Tritanopia (blue-blind)
#4EA3B4
Achromatopsia (no color)
#959595

Design tokens & code

CSS
--color: #7c8ff0;
/* rgb */ color: rgb(124, 143, 240);
/* oklch */ color: oklch(67.8% 0.145 273.6);
Tailwind
colors: {
  custom: {
    50: '#a8aff5',
    500: '#7c8ff0',
    950: '#000000',
  },
}
SCSS
$custom: #7c8ff0;
$custom-light: #a8aff5;
$custom-dark: #000000;
JSON
{
  "hex": "#7c8ff0",
  "rgb": {
    "r": 124,
    "g": 143,
    "b": 240
  },
  "hsl": {
    "h": 230.172,
    "s": 79.452,
    "l": 71.373
  },
  "oklch": {
    "l": 0.67805,
    "c": 0.1446,
    "h": 273.6
  },
  "luminance": 0.30221
}

Semantic roles & 50–950 ramp

primary
#7C8FF0
secondary
#F3EED5
accent
#B90ADC
background
#FAFAFF
surface
#F4F4FE
border
#CECED6
text
#101017
muted
#7F7F85

Preview Lab

Preview with #7C8FF0

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

Preview Lab → · Contrast checker → · Palette generator →

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