#7C74CC#7C74CC

#7C74CC is a mid, vivid blue. Relative luminance 0.211; OKLCH L 60.5% C 0.131 H 285.9°. Best body text is #000000 at 5.23:1 contrast (WCAG AA passes).

Color values

HEX#7C74CC
RGBrgb(124, 116, 204)
HSLhsl(245, 46%, 63%)
HSVhsv(245, 43%, 80%)
CMYKcmyk(39.2%, 43.1%, 0%, 20%)
CIE-LABlab(53.10, 24.46, -44.70)
CIE-LCHlch(53.10, 50.95, 298.68°)
OKLaboklab(60.53% 0.036 -0.126)
OKLCHoklch(60.53% 0.131 285.9)
XYZxyz(25.4536, 21.1346, 59.8533)
Luminance0.2114 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C74CC #C4CC74
analogous
#7498CC #7C74CC #A874CC
triadic
#7C74CC #CC7C74 #74CC7C
tetradic
#7C74CC #CC7498 #C4CC74 #74CCA8
square
#7C74CC #CC7498 #C4CC74 #74CCA8
split-complementary
#7C74CC #CCA874 #98CC74
monochromatic
#3D3591 #5247BC #7C74CC #A6A1DC #D0CEED

Accessibility & contrast

On white

4.02
#7C74CC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.23
#7C74CC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7C74CC
5.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C74CC#FFFFFF#000000##000000
##7C74CC1.004.025.235.23
#FFFFFF4.021.0021.0021.00
#0000005.2321.001.001.00
##0000005.2321.001.001.00

Color blindness preview

Protanopia (red-blind)
#5581CF
Deuteranopia (green-blind)
#537CCA
Tritanopia (blue-blind)
#668596
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #7c74cc;
/* rgb */ color: rgb(124, 116, 204);
/* oklch */ color: oklch(60.5% 0.131 285.9);
Tailwind
colors: {
  custom: {
    50: '#a59cdc',
    500: '#7c74cc',
    950: '#000000',
  },
}
SCSS
$custom: #7c74cc;
$custom-light: #a59cdc;
$custom-dark: #000000;
JSON
{
  "hex": "#7c74cc",
  "rgb": {
    "r": 124,
    "g": 116,
    "b": 204
  },
  "hsl": {
    "h": 245.455,
    "s": 46.316,
    "l": 62.745
  },
  "oklch": {
    "l": 0.60527,
    "c": 0.13107,
    "h": 285.9
  },
  "luminance": 0.21136
}

Semantic roles & 50–950 ramp

primary
#7C74CC
secondary
#DBDEBE
accent
#BA2CAD
background
#FAF9FD
surface
#F4F2FB
border
#CECCD4
text
#100E15
muted
#7F7E83

Preview Lab

Preview with #7C74CC

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

Preview Lab → · Contrast checker → · Palette generator →

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