#7C7BF7#7C7BF7

#7C7BF7 is a light, vivid blue. Relative luminance 0.252; OKLCH L 64.4% C 0.180 H 280.4°. Best body text is #000000 at 6.03:1 contrast (WCAG AA passes).

Color values

HEX#7C7BF7
RGBrgb(124, 123, 247)
HSLhsl(240, 89%, 73%)
HSVhsv(240, 50%, 97%)
CMYKcmyk(49.8%, 50.2%, 0%, 3.1%)
CIE-LABlab(57.24, 32.81, -62.22)
CIE-LCHlch(57.24, 70.34, 297.81°)
OKLaboklab(64.43% 0.0327 -0.1774)
OKLCHoklch(64.43% 0.18 280.4)
XYZxyz(32.1785, 25.1646, 91.1393)
Luminance0.2517 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C7BF7 #F6F77B
analogous
#7BB8F7 #7C7BF7 #BA7BF7
triadic
#7C7BF7 #F77C7B #7BF77C
tetradic
#7C7BF7 #F77BB8 #F6F77B #7BF7BA
square
#7C7BF7 #F77BB8 #F6F77B #7BF7BA
split-complementary
#7C7BF7 #F7BA7B #B8F77B
monochromatic
#100EE9 #4341F4 #7C7BF7 #B5B5FA #E2E2FD

Accessibility & contrast

On white

3.48
#7C7BF7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.03
#7C7BF7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7C7BF7
6.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C7BF7#FFFFFF#000000##000000
##7C7BF71.003.486.036.03
#FFFFFF3.481.0021.0021.00
#0000006.0321.001.001.00
##0000006.0321.001.001.00

Color blindness preview

Protanopia (red-blind)
#3E8EFB
Deuteranopia (green-blind)
#3285F4
Tritanopia (blue-blind)
#4C96AD
Achromatopsia (no color)
#898989

Design tokens & code

CSS
--color: #7c7bf7;
/* rgb */ color: rgb(124, 123, 247);
/* oklch */ color: oklch(64.4% 0.180 280.4);
Tailwind
colors: {
  custom: {
    50: '#a9a1fa',
    500: '#7c7bf7',
    950: '#000000',
  },
}
SCSS
$custom: #7c7bf7;
$custom-light: #a9a1fa;
$custom-dark: #000000;
JSON
{
  "hex": "#7c7bf7",
  "rgb": {
    "r": 124,
    "g": 123,
    "b": 247
  },
  "hsl": {
    "h": 240.484,
    "s": 88.571,
    "l": 72.549
  },
  "oklch": {
    "l": 0.64433,
    "c": 0.18034,
    "h": 280.4
  },
  "luminance": 0.25166
}

Semantic roles & 50–950 ramp

primary
#7C7BF7
secondary
#F5F5D6
accent
#E500E3
background
#FAF9FF
surface
#F5F2FF
border
#CFCCD7
text
#110F17
muted
#807E85

Preview Lab

Preview with #7C7BF7

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

Preview Lab → · Contrast checker → · Palette generator →

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