#7C74EC#7C74EC

#7C74EC is a light, vivid blue. Relative luminance 0.228; OKLCH L 62.5% C 0.175 H 283.1°. Best body text is #000000 at 5.57:1 contrast (WCAG AA passes).

Color values

HEX#7C74EC
RGBrgb(124, 116, 236)
HSLhsl(244, 76%, 69%)
HSVhsv(244, 51%, 93%)
CMYKcmyk(47.5%, 50.8%, 0%, 7.5%)
CIE-LABlab(54.90, 33.68, -59.86)
CIE-LCHlch(54.90, 68.68, 299.36°)
OKLaboklab(62.47% 0.0397 -0.1705)
OKLCHoklch(62.47% 0.175 283.1)
XYZxyz(29.6934, 22.8305, 82.1828)
Luminance0.2283 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C74EC #E4EC74
analogous
#74A8EC #7C74EC #B874EC
triadic
#7C74EC #EC7C74 #74EC7C
tetradic
#7C74EC #EC74A8 #E4EC74 #74ECB8
square
#7C74EC #EC74A8 #E4EC74 #74ECB8
split-complementary
#7C74EC #ECB874 #A8EC74
monochromatic
#271CCA #493EE5 #7C74EC #AFAAF3 #E1E0FB

Accessibility & contrast

On white

3.77
#7C74EC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.57
#7C74EC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7C74EC
5.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C74EC#FFFFFF#000000##000000
##7C74EC1.003.775.575.57
#FFFFFF3.771.0021.0021.00
#0000005.5721.001.001.00
##0000005.5721.001.001.00

Color blindness preview

Protanopia (red-blind)
#3A87F0
Deuteranopia (green-blind)
#337FE9
Tritanopia (blue-blind)
#548EA5
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #7c74ec;
/* rgb */ color: rgb(124, 116, 236);
/* oklch */ color: oklch(62.5% 0.175 283.1);
Tailwind
colors: {
  custom: {
    50: '#a89cf3',
    500: '#7c74ec',
    950: '#000000',
  },
}
SCSS
$custom: #7c74ec;
$custom-light: #a89cf3;
$custom-dark: #000000;
JSON
{
  "hex": "#7c74ec",
  "rgb": {
    "r": 124,
    "g": 116,
    "b": 236
  },
  "hsl": {
    "h": 244,
    "s": 75.949,
    "l": 69.02
  },
  "oklch": {
    "l": 0.62467,
    "c": 0.17502,
    "h": 283.1
  },
  "luminance": 0.22832
}

Semantic roles & 50–950 ramp

primary
#7C74EC
secondary
#EDEFCC
accent
#D80DCB
background
#FAF9FE
surface
#F4F2FD
border
#CECCD5
text
#100E17
muted
#7F7E85

Preview Lab

Preview with #7C74EC

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

Preview Lab → · Contrast checker → · Palette generator →

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