#7C8FEF#7C8FEF

#7C8FEF is a light, vivid blue. Relative luminance 0.302; OKLCH L 67.7% C 0.143 H 273.5°. Best body text is #000000 at 7.03:1 contrast (WCAG AA passes).

Color values

HEX#7C8FEF
RGBrgb(124, 143, 239)
HSLhsl(230, 78%, 71%)
HSVhsv(230, 48%, 94%)
CMYKcmyk(48.1%, 40.2%, 0%, 6.3%)
CIE-LABlab(61.79, 18.61, -50.53)
CIE-LCHlch(61.79, 53.85, 290.22°)
OKLaboklab(67.75% 0.0088 -0.1429)
OKLCHoklch(67.75% 0.143 273.5)
XYZxyz(33.7097, 30.1600, 85.6898)
Luminance0.3016 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C8FEF #EFDC7C
analogous
#7CC8EF #7C8FEF #A27CEF
triadic
#7C8FEF #EF7C8F #8FEF7C
tetradic
#7C8FEF #EF7CC8 #EFDC7C #7CEFA2
square
#7C8FEF #EF7CC8 #EFDC7C #7CEFA2
split-complementary
#7C8FEF #EFA27C #C8EF7C
monochromatic
#1A39D6 #4560E8 #7C8FEF #B3BEF6 #E4E8FC

Accessibility & contrast

On white

2.99
#7C8FEF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.03
#7C8FEF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #7C8FEF
7.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C8FEF#FFFFFF#000000##000000
##7C8FEF1.002.997.037.03
#FFFFFF2.991.0021.0021.00
#0000007.0321.001.001.00
##0000007.0321.001.001.00

Color blindness preview

Protanopia (red-blind)
#6A9AF3
Deuteranopia (green-blind)
#5F91ED
Tritanopia (blue-blind)
#4FA3B3
Achromatopsia (no color)
#959595

Design tokens & code

CSS
--color: #7c8fef;
/* rgb */ color: rgb(124, 143, 239);
/* oklch */ color: oklch(67.7% 0.143 273.5);
Tailwind
colors: {
  custom: {
    50: '#a8aff5',
    500: '#7c8fef',
    950: '#000000',
  },
}
SCSS
$custom: #7c8fef;
$custom-light: #a8aff5;
$custom-dark: #000000;
JSON
{
  "hex": "#7c8fef",
  "rgb": {
    "r": 124,
    "g": 143,
    "b": 239
  },
  "hsl": {
    "h": 230.087,
    "s": 78.231,
    "l": 71.176
  },
  "oklch": {
    "l": 0.67749,
    "c": 0.14321,
    "h": 273.5
  },
  "luminance": 0.30162
}

Semantic roles & 50–950 ramp

primary
#7C8FEF
secondary
#F3EED4
accent
#B80BDA
background
#FAFAFF
surface
#F4F4FE
border
#CECED6
text
#101017
muted
#7F7F85

Preview Lab

Preview with #7C8FEF

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

Preview Lab → · Contrast checker → · Palette generator →

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