#7C7AFA#7C7AFA

#7C7AFA is a light, vivid blue. Relative luminance 0.251; OKLCH L 64.4% C 0.186 H 280.5°. Best body text is #000000 at 6.02:1 contrast (WCAG AA passes).

Color values

HEX#7C7AFA
RGBrgb(124, 122, 250)
HSLhsl(241, 93%, 73%)
HSVhsv(241, 51%, 98%)
CMYKcmyk(50.4%, 51.2%, 0%, 2%)
CIE-LABlab(57.18, 34.30, -63.97)
CIE-LCHlch(57.18, 72.58, 298.20°)
OKLaboklab(64.45% 0.034 -0.1825)
OKLCHoklch(64.45% 0.186 280.5)
XYZxyz(32.5217, 25.1044, 93.5559)
Luminance0.2511 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C7AFA #F8FA7A
analogous
#7AB8FA #7C7AFA #BC7AFA
triadic
#7C7AFA #FA7C7A #7AFA7C
tetradic
#7C7AFA #FA7AB8 #F8FA7A #7AFABC
square
#7C7AFA #FA7AB8 #F8FA7A #7AFABC
split-complementary
#7C7AFA #FABC7A #B8FA7A
monochromatic
#0D09F1 #423FF8 #7C7AFA #B6B5FC #E2E2FE

Accessibility & contrast

On white

3.49
#7C7AFA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.02
#7C7AFA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7C7AFA
6.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C7AFA#FFFFFF#000000##000000
##7C7AFA1.003.496.026.02
#FFFFFF3.491.0021.0021.00
#0000006.0221.001.001.00
##0000006.0221.001.001.00

Color blindness preview

Protanopia (red-blind)
#388EFE
Deuteranopia (green-blind)
#2A85F7
Tritanopia (blue-blind)
#4996AF
Achromatopsia (no color)
#898989

Design tokens & code

CSS
--color: #7c7afa;
/* rgb */ color: rgb(124, 122, 250);
/* oklch */ color: oklch(64.4% 0.186 280.5);
Tailwind
colors: {
  custom: {
    50: '#aaa0fd',
    500: '#7c7afa',
    950: '#000000',
  },
}
SCSS
$custom: #7c7afa;
$custom-light: #aaa0fd;
$custom-dark: #000000;
JSON
{
  "hex": "#7c7afa",
  "rgb": {
    "r": 124,
    "g": 122,
    "b": 250
  },
  "hsl": {
    "h": 240.938,
    "s": 92.754,
    "l": 72.941
  },
  "oklch": {
    "l": 0.64447,
    "c": 0.18565,
    "h": 280.5
  },
  "luminance": 0.25106
}

Semantic roles & 50–950 ramp

primary
#7C7AFA
secondary
#F6F6D5
accent
#E600E2
background
#FBF9FF
surface
#F6F2FF
border
#D0CCD7
text
#110E18
muted
#807E86

Preview Lab

Preview with #7C7AFA

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

Preview Lab → · Contrast checker → · Palette generator →

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