#7C8FF6#7C8FF6

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

Color values

HEX#7C8FF6
RGBrgb(124, 143, 246)
HSLhsl(231, 87%, 73%)
HSVhsv(231, 50%, 96%)
CMYKcmyk(49.6%, 41.9%, 0%, 3.5%)
CIE-LABlab(62.15, 20.71, -53.81)
CIE-LCHlch(62.15, 57.66, 291.05°)
OKLaboklab(68.14% 0.0101 -0.1525)
OKLCHoklch(68.14% 0.153 273.8)
XYZxyz(34.7639, 30.5817, 91.2419)
Luminance0.3058 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C8FF6 #F6E37C
analogous
#7CCCF6 #7C8FF6 #A67CF6
triadic
#7C8FF6 #F67C8F #8FF67C
tetradic
#7C8FF6 #F67CCC #F6E37C #7CF6A6
square
#7C8FF6 #F67CCC #F6E37C #7CF6A6
split-complementary
#7C8FF6 #F6A67C #CCF67C
monochromatic
#1032E8 #435EF2 #7C8FF6 #B5C0FA #E2E7FD

Accessibility & contrast

On white

2.95
#7C8FF6 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.12
#7C8FF6 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #7C8FF6
7.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C8FF6#FFFFFF#000000##000000
##7C8FF61.002.957.127.12
#FFFFFF2.951.0021.0021.00
#0000007.1221.001.001.00
##0000007.1221.001.001.00

Color blindness preview

Protanopia (red-blind)
#659CFA
Deuteranopia (green-blind)
#5991F4
Tritanopia (blue-blind)
#49A5B7
Achromatopsia (no color)
#969696

Design tokens & code

CSS
--color: #7c8ff6;
/* rgb */ color: rgb(124, 143, 246);
/* oklch */ color: oklch(68.1% 0.153 273.8);
Tailwind
colors: {
  custom: {
    50: '#a9affa',
    500: '#7c8ff6',
    950: '#000000',
  },
}
SCSS
$custom: #7c8ff6;
$custom-light: #a9affa;
$custom-dark: #000000;
JSON
{
  "hex": "#7c8ff6",
  "rgb": {
    "r": 124,
    "g": 143,
    "b": 246
  },
  "hsl": {
    "h": 230.656,
    "s": 87.143,
    "l": 72.549
  },
  "oklch": {
    "l": 0.68143,
    "c": 0.15287,
    "h": 273.8
  },
  "luminance": 0.30584
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #7C8FF6

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

Preview Lab → · Contrast checker → · Palette generator →

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