#7A74CF#7A74CF

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

Color values

HEX#7A74CF
RGBrgb(122, 116, 207)
HSLhsl(244, 49%, 63%)
HSVhsv(244, 44%, 81%)
CMYKcmyk(41.1%, 44%, 0%, 18.8%)
CIE-LABlab(53.09, 24.79, -46.42)
CIE-LCHlch(53.09, 52.63, 298.10°)
OKLaboklab(60.54% 0.0341 -0.1311)
OKLCHoklch(60.54% 0.135 284.6)
XYZxyz(25.5307, 21.1324, 61.7531)
Luminance0.2113 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A74CF #C9CF74
analogous
#749BCF #7A74CF #A774CF
triadic
#7A74CF #CF7A74 #74CF7A
tetradic
#7A74CF #CF749B #C9CF74 #74CFA7
square
#7A74CF #CF749B #C9CF74 #74CFA7
split-complementary
#7A74CF #CFA774 #9BCF74
monochromatic
#3A3395 #4E47BF #7A74CF #A6A1DF #D1CFEE

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##7A74CF#FFFFFF#000000##000000
##7A74CF1.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)
#5382D2
Deuteranopia (green-blind)
#507CCD
Tritanopia (blue-blind)
#618697
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #7a74cf;
/* rgb */ color: rgb(122, 116, 207);
/* oklch */ color: oklch(60.5% 0.135 284.6);
Tailwind
colors: {
  custom: {
    50: '#a49cde',
    500: '#7a74cf',
    950: '#000000',
  },
}
SCSS
$custom: #7a74cf;
$custom-light: #a49cde;
$custom-dark: #000000;
JSON
{
  "hex": "#7a74cf",
  "rgb": {
    "r": 122,
    "g": 116,
    "b": 207
  },
  "hsl": {
    "h": 243.956,
    "s": 48.663,
    "l": 63.333
  },
  "oklch": {
    "l": 0.60537,
    "c": 0.13548,
    "h": 284.6
  },
  "luminance": 0.21133
}

Semantic roles & 50–950 ramp

primary
#7A74CF
secondary
#DDE0BF
accent
#BC2AB2
background
#FAF9FD
surface
#F4F2FB
border
#CECCD4
text
#100E15
muted
#7F7E83

Preview Lab

Preview with #7A74CF

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

Preview Lab → · Contrast checker → · Palette generator →

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