#7C7EDD#7C7EDD

#7C7EDD is a light, vivid blue. Relative luminance 0.244; OKLCH L 63.4% C 0.141 H 280.7°. Best body text is #000000 at 5.89:1 contrast (WCAG AA passes).

Color values

HEX#7C7EDD
RGBrgb(124, 126, 221)
HSLhsl(239, 59%, 68%)
HSVhsv(239, 44%, 87%)
CMYKcmyk(43.9%, 43%, 0%, 13.3%)
CIE-LABlab(56.51, 23.36, -48.89)
CIE-LCHlch(56.51, 54.18, 295.54°)
OKLaboklab(63.41% 0.0261 -0.1382)
OKLCHoklch(63.41% 0.141 280.7)
XYZxyz(28.8203, 24.4259, 71.5887)
Luminance0.2443 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C7EDD #DDDB7C
analogous
#7CAEDD #7C7EDD #AB7CDD
triadic
#7C7EDD #DD7C7E #7EDD7C
tetradic
#7C7EDD #DD7CAE #DDDB7C #7CDDAB
square
#7C7EDD #DD7CAE #DDDB7C #7CDDAB
split-complementary
#7C7EDD #DDAB7C #AEDD7C
monochromatic
#2E31B1 #4B4ED0 #7C7EDD #ADAEEA #DDDEF6

Accessibility & contrast

On white

3.57
#7C7EDD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.89
#7C7EDD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7C7EDD
5.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C7EDD#FFFFFF#000000##000000
##7C7EDD1.003.575.895.89
#FFFFFF3.571.0021.0021.00
#0000005.8921.001.001.00
##0000005.8921.001.001.00

Color blindness preview

Protanopia (red-blind)
#5A8BE1
Deuteranopia (green-blind)
#5484DB
Tritanopia (blue-blind)
#5C91A3
Achromatopsia (no color)
#888888

Design tokens & code

CSS
--color: #7c7edd;
/* rgb */ color: rgb(124, 126, 221);
/* oklch */ color: oklch(63.4% 0.141 280.7);
Tailwind
colors: {
  custom: {
    50: '#a6a3e8',
    500: '#7c7edd',
    950: '#000000',
  },
}
SCSS
$custom: #7c7edd;
$custom-light: #a6a3e8;
$custom-dark: #000000;
JSON
{
  "hex": "#7c7edd",
  "rgb": {
    "r": 124,
    "g": 126,
    "b": 221
  },
  "hsl": {
    "h": 238.763,
    "s": 58.788,
    "l": 67.647
  },
  "oklch": {
    "l": 0.63412,
    "c": 0.14068,
    "h": 280.7
  },
  "luminance": 0.24427
}

Semantic roles & 50–950 ramp

primary
#7C7EDD
secondary
#E9E9CB
accent
#C31FC6
background
#FAFAFE
surface
#F4F3FC
border
#CECDD5
text
#100F16
muted
#7F7F84

Preview Lab

Preview with #7C7EDD

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

Preview Lab → · Contrast checker → · Palette generator →

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