#7C7BFB#7C7BFB

#7C7BFB is a light, vivid blue. Relative luminance 0.254; OKLCH L 64.7% C 0.186 H 280.2°. Best body text is #000000 at 6.08:1 contrast (WCAG AA passes).

Color values

HEX#7C7BFB
RGBrgb(124, 123, 251)
HSLhsl(240, 94%, 73%)
HSVhsv(240, 51%, 98%)
CMYKcmyk(50.6%, 51%, 0%, 1.6%)
CIE-LABlab(57.48, 34.01, -64.04)
CIE-LCHlch(57.48, 72.51, 297.97°)
OKLaboklab(64.69% 0.0329 -0.1827)
OKLCHoklch(64.69% 0.186 280.2)
XYZxyz(32.8024, 25.4141, 94.4250)
Luminance0.2542 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C7BFB #FAFB7B
analogous
#7BBAFB #7C7BFB #BC7BFB
triadic
#7C7BFB #FB7C7B #7BFB7C
tetradic
#7C7BFB #FB7BBA #FAFB7B #7BFBBC
square
#7C7BFB #FB7BBA #FAFB7B #7BFBBC
split-complementary
#7C7BFB #FBBC7B #BAFB7B
monochromatic
#0907F4 #4140F9 #7C7BFB #B7B6FD #E2E1FE

Accessibility & contrast

On white

3.45
#7C7BFB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.08
#7C7BFB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7C7BFB
6.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C7BFB#FFFFFF#000000##000000
##7C7BFB1.003.456.086.08
#FFFFFF3.451.0021.0021.00
#0000006.0821.001.001.00
##0000006.0821.001.001.00

Color blindness preview

Protanopia (red-blind)
#398FFF
Deuteranopia (green-blind)
#2B85F8
Tritanopia (blue-blind)
#4897AF
Achromatopsia (no color)
#8A8A8A

Design tokens & code

CSS
--color: #7c7bfb;
/* rgb */ color: rgb(124, 123, 251);
/* oklch */ color: oklch(64.7% 0.186 280.2);
Tailwind
colors: {
  custom: {
    50: '#aaa1fd',
    500: '#7c7bfb',
    950: '#000000',
  },
}
SCSS
$custom: #7c7bfb;
$custom-light: #aaa1fd;
$custom-dark: #000000;
JSON
{
  "hex": "#7c7bfb",
  "rgb": {
    "r": 124,
    "g": 123,
    "b": 251
  },
  "hsl": {
    "h": 240.469,
    "s": 94.118,
    "l": 73.333
  },
  "oklch": {
    "l": 0.64691,
    "c": 0.18567,
    "h": 280.2
  },
  "luminance": 0.25416
}

Semantic roles & 50–950 ramp

primary
#7C7BFB
secondary
#F6F6D5
accent
#E600E4
background
#FBF9FF
surface
#F6F2FF
border
#D0CCD7
text
#110F18
muted
#807E86

Preview Lab

Preview with #7C7BFB

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

Preview Lab → · Contrast checker → · Palette generator →

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