#7C7FFA#7C7FFA

#7C7FFA is a light, vivid blue. Relative luminance 0.264; OKLCH L 65.4% C 0.179 H 279.2°. Best body text is #000000 at 6.27:1 contrast (WCAG AA passes).

Color values

HEX#7C7FFA
RGBrgb(124, 127, 250)
HSLhsl(239, 93%, 73%)
HSVhsv(239, 50%, 98%)
CMYKcmyk(50.4%, 49.2%, 0%, 2%)
CIE-LABlab(58.38, 31.35, -62.04)
CIE-LCHlch(58.38, 69.51, 296.81°)
OKLaboklab(65.35% 0.0285 -0.1768)
OKLCHoklch(65.35% 0.179 279.2)
XYZxyz(33.1515, 26.3640, 93.7658)
Luminance0.2637 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C7FFA #FAF77C
analogous
#7CBEFA #7C7FFA #B87CFA
triadic
#7C7FFA #FA7C7F #7FFA7C
tetradic
#7C7FFA #FA7CBE #FAF77C #7CFAB8
square
#7C7FFA #FA7CBE #FAF77C #7CFAB8
split-complementary
#7C7FFA #FAB87C #BEFA7C
monochromatic
#090FF2 #4145F8 #7C7FFA #B7B9FC #E2E2FE

Accessibility & contrast

On white

3.35
#7C7FFA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.27
#7C7FFA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7C7FFA
6.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C7FFA#FFFFFF#000000##000000
##7C7FFA1.003.356.276.27
#FFFFFF3.351.0021.0021.00
#0000006.2721.001.001.00
##0000006.2721.001.001.00

Color blindness preview

Protanopia (red-blind)
#4491FE
Deuteranopia (green-blind)
#3788F7
Tritanopia (blue-blind)
#499AB1
Achromatopsia (no color)
#8C8C8C

Design tokens & code

CSS
--color: #7c7ffa;
/* rgb */ color: rgb(124, 127, 250);
/* oklch */ color: oklch(65.4% 0.179 279.2);
Tailwind
colors: {
  custom: {
    50: '#aaa4fd',
    500: '#7c7ffa',
    950: '#000000',
  },
}
SCSS
$custom: #7c7ffa;
$custom-light: #aaa4fd;
$custom-dark: #000000;
JSON
{
  "hex": "#7c7ffa",
  "rgb": {
    "r": 124,
    "g": 127,
    "b": 250
  },
  "hsl": {
    "h": 238.571,
    "s": 92.647,
    "l": 73.333
  },
  "oklch": {
    "l": 0.65351,
    "c": 0.17909,
    "h": 279.2
  },
  "luminance": 0.26366
}

Semantic roles & 50–950 ramp

primary
#7C7FFA
secondary
#F6F5D5
accent
#E000E6
background
#FAFAFF
surface
#F5F4FF
border
#CFCED7
text
#110F18
muted
#807F86

Preview Lab

Preview with #7C7FFA

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

Preview Lab → · Contrast checker → · Palette generator →

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