#7C7FF2#7C7FF2

#7C7FF2 is a light, vivid blue. Relative luminance 0.259; OKLCH L 64.9% C 0.168 H 279.5°. Best body text is #000000 at 6.17:1 contrast (WCAG AA passes).

Color values

HEX#7C7FF2
RGBrgb(124, 127, 242)
HSLhsl(238, 82%, 72%)
HSVhsv(238, 49%, 95%)
CMYKcmyk(48.8%, 47.5%, 0%, 5.1%)
CIE-LABlab(57.92, 28.95, -58.36)
CIE-LCHlch(57.92, 65.15, 296.39°)
OKLaboklab(64.85% 0.0277 -0.166)
OKLCHoklch(64.85% 0.168 279.5)
XYZxyz(31.9236, 25.8729, 87.2990)
Luminance0.2587 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C7FF2 #F2EF7C
analogous
#7CBAF2 #7C7FF2 #B47CF2
triadic
#7C7FF2 #F27C7F #7FF27C
tetradic
#7C7FF2 #F27CBA #F2EF7C #7CF2B4
square
#7C7FF2 #F27CBA #F2EF7C #7CF2B4
split-complementary
#7C7FF2 #F2B47C #BAF27C
monochromatic
#161BDE #4449EC #7C7FF2 #B4B5F8 #E3E4FC

Accessibility & contrast

On white

3.40
#7C7FF2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.17
#7C7FF2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7C7FF2
6.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C7FF2#FFFFFF#000000##000000
##7C7FF21.003.406.176.17
#FFFFFF3.401.0021.0021.00
#0000006.1721.001.001.00
##0000006.1721.001.001.00

Color blindness preview

Protanopia (red-blind)
#4C90F6
Deuteranopia (green-blind)
#4287EF
Tritanopia (blue-blind)
#4F98AD
Achromatopsia (no color)
#8B8B8B

Design tokens & code

CSS
--color: #7c7ff2;
/* rgb */ color: rgb(124, 127, 242);
/* oklch */ color: oklch(64.9% 0.168 279.5);
Tailwind
colors: {
  custom: {
    50: '#a9a4f7',
    500: '#7c7ff2',
    950: '#000000',
  },
}
SCSS
$custom: #7c7ff2;
$custom-light: #a9a4f7;
$custom-dark: #000000;
JSON
{
  "hex": "#7c7ff2",
  "rgb": {
    "r": 124,
    "g": 127,
    "b": 242
  },
  "hsl": {
    "h": 238.475,
    "s": 81.944,
    "l": 71.765
  },
  "oklch": {
    "l": 0.64851,
    "c": 0.16829,
    "h": 279.5
  },
  "luminance": 0.25875
}

Semantic roles & 50–950 ramp

primary
#7C7FF2
secondary
#F4F3D6
accent
#D907DE
background
#FAFAFF
surface
#F4F4FF
border
#CECED7
text
#100F17
muted
#7F7F85

Preview Lab

Preview with #7C7FF2

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

Preview Lab → · Contrast checker → · Palette generator →

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