#7CABFE#7CABFE

#7CABFE is a light, vivid blue. Relative luminance 0.406; OKLCH L 74.2% C 0.131 H 261.2°. Best body text is #000000 at 9.11:1 contrast (WCAG AA passes).

Color values

HEX#7CABFE
RGBrgb(124, 171, 254)
HSLhsl(218, 98%, 74%)
HSVhsv(218, 51%, 100%)
CMYKcmyk(51.2%, 32.7%, 0%, 0.4%)
CIE-LABlab(69.87, 6.92, -45.98)
CIE-LCHlch(69.87, 46.50, 278.56°)
OKLaboklab(74.23% -0.02 -0.1295)
OKLCHoklch(74.23% 0.131 261.2)
XYZxyz(40.7585, 40.5637, 99.4285)
Luminance0.4057 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7CABFE #FECF7C
analogous
#7CECFE #7CABFE #8E7CFE
triadic
#7CABFE #FE7CAB #ABFE7C
tetradic
#7CABFE #FE7CEC #FECF7C #7CFE8E
square
#7CABFE #FE7CEC #FECF7C #7CFE8E
split-complementary
#7CABFE #FE8E7C #ECFE7C
monochromatic
#035DFD #3F84FE #7CABFE #B9D2FE #E1ECFF

Accessibility & contrast

On white

2.30
#7CABFE on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.11
#7CABFE on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #7CABFE
9.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7CABFE#FFFFFF#000000##000000
##7CABFE1.002.309.119.11
#FFFFFF2.301.0021.0021.00
#0000009.1121.001.001.00
##0000009.1121.001.001.00

Color blindness preview

Protanopia (red-blind)
#8BB1FF
Deuteranopia (green-blind)
#7BA5FC
Tritanopia (blue-blind)
#3CBDC9
Achromatopsia (no color)
#ABABAB

Design tokens & code

CSS
--color: #7cabfe;
/* rgb */ color: rgb(124, 171, 254);
/* oklch */ color: oklch(74.2% 0.131 261.2);
Tailwind
colors: {
  custom: {
    50: '#a9c3ff',
    500: '#7cabfe',
    950: '#000000',
  },
}
SCSS
$custom: #7cabfe;
$custom-light: #a9c3ff;
$custom-dark: #000000;
JSON
{
  "hex": "#7cabfe",
  "rgb": {
    "r": 124,
    "g": 171,
    "b": 254
  },
  "hsl": {
    "h": 218.308,
    "s": 98.485,
    "l": 74.118
  },
  "oklch": {
    "l": 0.74227,
    "c": 0.13106,
    "h": 261.2
  },
  "luminance": 0.40567
}

Semantic roles & 50–950 ramp

primary
#7CABFE
secondary
#F7EAD4
accent
#9300E6
background
#FAFBFF
surface
#F4F7FF
border
#CED0D7
text
#101218
muted
#7F8186

Preview Lab

Preview with #7CABFE

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

Preview Lab → · Contrast checker → · Palette generator →

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