#7C7FFC#7C7FFC

#7C7FFC is a light, vivid blue. Relative luminance 0.265; OKLCH L 65.5% C 0.182 H 279.1°. Best body text is #000000 at 6.30:1 contrast (WCAG AA passes).

Color values

HEX#7C7FFC
RGBrgb(124, 127, 252)
HSLhsl(239, 96%, 74%)
HSVhsv(239, 51%, 99%)
CMYKcmyk(50.8%, 49.6%, 0%, 1.2%)
CIE-LABlab(58.50, 31.95, -62.95)
CIE-LCHlch(58.50, 70.59, 296.91°)
OKLaboklab(65.48% 0.0287 -0.1795)
OKLCHoklch(65.48% 0.182 279.1)
XYZxyz(33.4668, 26.4901, 95.4262)
Luminance0.2649 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C7FFC #FCF97C
analogous
#7CBFFC #7C7FFC #B97CFC
triadic
#7C7FFC #FC7C7F #7FFC7C
tetradic
#7C7FFC #FC7CBF #FCF97C #7CFCB9
square
#7C7FFC #FC7CBF #FCF97C #7CFCB9
split-complementary
#7C7FFC #FCB97C #BFFC7C
monochromatic
#060BF8 #4045FB #7C7FFC #B8B9FD #E1E2FE

Accessibility & contrast

On white

3.33
#7C7FFC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.30
#7C7FFC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7C7FFC
6.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C7FFC#FFFFFF#000000##000000
##7C7FFC1.003.336.306.30
#FFFFFF3.331.0021.0021.00
#0000006.3021.001.001.00
##0000006.3021.001.001.00

Color blindness preview

Protanopia (red-blind)
#4292FF
Deuteranopia (green-blind)
#3488F9
Tritanopia (blue-blind)
#479AB2
Achromatopsia (no color)
#8D8D8D

Design tokens & code

CSS
--color: #7c7ffc;
/* rgb */ color: rgb(124, 127, 252);
/* oklch */ color: oklch(65.5% 0.182 279.1);
Tailwind
colors: {
  custom: {
    50: '#aaa4fe',
    500: '#7c7ffc',
    950: '#000000',
  },
}
SCSS
$custom: #7c7ffc;
$custom-light: #aaa4fe;
$custom-dark: #000000;
JSON
{
  "hex": "#7c7ffc",
  "rgb": {
    "r": 124,
    "g": 127,
    "b": 252
  },
  "hsl": {
    "h": 238.594,
    "s": 95.522,
    "l": 73.725
  },
  "oklch": {
    "l": 0.65479,
    "c": 0.18176,
    "h": 279.1
  },
  "luminance": 0.26492
}

Semantic roles & 50–950 ramp

primary
#7C7FFC
secondary
#F7F6D4
accent
#E000E6
background
#FBFAFF
surface
#F6F4FF
border
#D0CED7
text
#110F18
muted
#807F86

Preview Lab

Preview with #7C7FFC

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

Preview Lab → · Contrast checker → · Palette generator →

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