#7C8FFA#7C8FFA

#7C8FFA is a light, vivid blue. Relative luminance 0.308; OKLCH L 68.4% C 0.158 H 273.9°. Best body text is #000000 at 7.17:1 contrast (WCAG AA passes).

Color values

HEX#7C8FFA
RGBrgb(124, 143, 250)
HSLhsl(231, 93%, 73%)
HSVhsv(231, 50%, 98%)
CMYKcmyk(50.4%, 42.8%, 0%, 2%)
CIE-LABlab(62.36, 21.91, -55.67)
CIE-LCHlch(62.36, 59.83, 291.49°)
OKLaboklab(68.37% 0.0107 -0.158)
OKLCHoklch(68.37% 0.158 273.9)
XYZxyz(35.3845, 30.8299, 94.5102)
Luminance0.3083 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C8FFA #FAE77C
analogous
#7CCEFA #7C8FFA #A87CFA
triadic
#7C8FFA #FA7C8F #8FFA7C
tetradic
#7C8FFA #FA7CCE #FAE77C #7CFAA8
square
#7C8FFA #FA7CCE #FAE77C #7CFAA8
split-complementary
#7C8FFA #FAA87C #CEFA7C
monochromatic
#092CF2 #415DF8 #7C8FFA #B7C1FC #E2E6FE

Accessibility & contrast

On white

2.93
#7C8FFA on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.17
#7C8FFA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #7C8FFA
7.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C8FFA#FFFFFF#000000##000000
##7C8FFA1.002.937.177.17
#FFFFFF2.931.0021.0021.00
#0000007.1721.001.001.00
##0000007.1721.001.001.00

Color blindness preview

Protanopia (red-blind)
#639CFE
Deuteranopia (green-blind)
#5692F8
Tritanopia (blue-blind)
#46A6B8
Achromatopsia (no color)
#979797

Design tokens & code

CSS
--color: #7c8ffa;
/* rgb */ color: rgb(124, 143, 250);
/* oklch */ color: oklch(68.4% 0.158 273.9);
Tailwind
colors: {
  custom: {
    50: '#a9affc',
    500: '#7c8ffa',
    950: '#000000',
  },
}
SCSS
$custom: #7c8ffa;
$custom-light: #a9affc;
$custom-dark: #000000;
JSON
{
  "hex": "#7c8ffa",
  "rgb": {
    "r": 124,
    "g": 143,
    "b": 250
  },
  "hsl": {
    "h": 230.952,
    "s": 92.647,
    "l": 73.333
  },
  "oklch": {
    "l": 0.68373,
    "c": 0.15837,
    "h": 273.9
  },
  "luminance": 0.30832
}

Semantic roles & 50–950 ramp

primary
#7C8FFA
secondary
#F6F1D5
accent
#C300E6
background
#FAFAFF
surface
#F4F4FF
border
#CECED7
text
#101017
muted
#7F7F85

Preview Lab

Preview with #7C8FFA

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

Preview Lab → · Contrast checker → · Palette generator →

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