#7C8FF2#7C8FF2

#7C8FF2 is a light, vivid blue. Relative luminance 0.303; OKLCH L 67.9% C 0.147 H 273.7°. Best body text is #000000 at 7.07:1 contrast (WCAG AA passes).

Color values

HEX#7C8FF2
RGBrgb(124, 143, 242)
HSLhsl(230, 82%, 72%)
HSVhsv(230, 49%, 95%)
CMYKcmyk(48.8%, 40.9%, 0%, 5.1%)
CIE-LABlab(61.95, 19.51, -51.94)
CIE-LCHlch(61.95, 55.48, 290.59°)
OKLaboklab(67.92% 0.0094 -0.1471)
OKLCHoklch(67.92% 0.147 273.7)
XYZxyz(34.1566, 30.3387, 88.0433)
Luminance0.3034 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C8FF2 #F2DF7C
analogous
#7CCAF2 #7C8FF2 #A47CF2
triadic
#7C8FF2 #F27C8F #8FF27C
tetradic
#7C8FF2 #F27CCA #F2DF7C #7CF2A4
square
#7C8FF2 #F27CCA #F2DF7C #7CF2A4
split-complementary
#7C8FF2 #F2A47C #CAF27C
monochromatic
#1636DE #445FEC #7C8FF2 #B4BFF8 #E3E7FC

Accessibility & contrast

On white

2.97
#7C8FF2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.07
#7C8FF2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #7C8FF2
7.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C8FF2#FFFFFF#000000##000000
##7C8FF21.002.977.077.07
#FFFFFF2.971.0021.0021.00
#0000007.0721.001.001.00
##0000007.0721.001.001.00

Color blindness preview

Protanopia (red-blind)
#689BF6
Deuteranopia (green-blind)
#5C91F0
Tritanopia (blue-blind)
#4CA4B5
Achromatopsia (no color)
#969696

Design tokens & code

CSS
--color: #7c8ff2;
/* rgb */ color: rgb(124, 143, 242);
/* oklch */ color: oklch(67.9% 0.147 273.7);
Tailwind
colors: {
  custom: {
    50: '#a8aff7',
    500: '#7c8ff2',
    950: '#000000',
  },
}
SCSS
$custom: #7c8ff2;
$custom-light: #a8aff7;
$custom-dark: #000000;
JSON
{
  "hex": "#7c8ff2",
  "rgb": {
    "r": 124,
    "g": 143,
    "b": 242
  },
  "hsl": {
    "h": 230.339,
    "s": 81.944,
    "l": 71.765
  },
  "oklch": {
    "l": 0.67917,
    "c": 0.14736,
    "h": 273.7
  },
  "luminance": 0.30341
}

Semantic roles & 50–950 ramp

primary
#7C8FF2
secondary
#F4EFD6
accent
#BC07DE
background
#FAFAFF
surface
#F4F4FF
border
#CECED7
text
#101017
muted
#7F7F85

Preview Lab

Preview with #7C8FF2

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

Preview Lab → · Contrast checker → · Palette generator →

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