#7A74DC#7A74DC

#7A74DC is a mid, vivid blue. Relative luminance 0.218; OKLCH L 61.3% C 0.154 H 283.5°. Best body text is #000000 at 5.36:1 contrast (WCAG AA passes).

Color values

HEX#7A74DC
RGBrgb(122, 116, 220)
HSLhsl(243, 60%, 66%)
HSVhsv(243, 47%, 86%)
CMYKcmyk(44.5%, 47.3%, 0%, 13.7%)
CIE-LABlab(53.81, 28.54, -52.64)
CIE-LCHlch(53.81, 59.88, 298.46°)
OKLaboklab(61.31% 0.0359 -0.1493)
OKLCHoklch(61.31% 0.154 283.5)
XYZxyz(27.1859, 21.7945, 70.4706)
Luminance0.2180 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A74DC #D6DC74
analogous
#74A2DC #7A74DC #AE74DC
triadic
#7A74DC #DC7A74 #74DC7A
tetradic
#7A74DC #DC74A2 #D6DC74 #74DCAE
square
#7A74DC #DC74A2 #D6DC74 #74DCAE
split-complementary
#7A74DC #DCAE74 #A2DC74
monochromatic
#322BAB #4B43D0 #7A74DC #A9A5E8 #D8D6F5

Accessibility & contrast

On white

3.92
#7A74DC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.36
#7A74DC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7A74DC
5.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A74DC#FFFFFF#000000##000000
##7A74DC1.003.925.365.36
#FFFFFF3.921.0021.0021.00
#0000005.3621.001.001.00
##0000005.3621.001.001.00

Color blindness preview

Protanopia (red-blind)
#4984E0
Deuteranopia (green-blind)
#447DDA
Tritanopia (blue-blind)
#5A8A9D
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #7a74dc;
/* rgb */ color: rgb(122, 116, 220);
/* oklch */ color: oklch(61.3% 0.154 283.5);
Tailwind
colors: {
  custom: {
    50: '#a59ce7',
    500: '#7a74dc',
    950: '#000000',
  },
}
SCSS
$custom: #7a74dc;
$custom-light: #a59ce7;
$custom-dark: #000000;
JSON
{
  "hex": "#7a74dc",
  "rgb": {
    "r": 122,
    "g": 116,
    "b": 220
  },
  "hsl": {
    "h": 243.462,
    "s": 59.77,
    "l": 65.882
  },
  "oklch": {
    "l": 0.61308,
    "c": 0.15357,
    "h": 283.5
  },
  "luminance": 0.21796
}

Semantic roles & 50–950 ramp

primary
#7A74DC
secondary
#E5E7C5
accent
#C71EBE
background
#FAF9FE
surface
#F4F2FC
border
#CECCD5
text
#100E16
muted
#7F7E84

Preview Lab

Preview with #7A74DC

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

Preview Lab → · Contrast checker → · Palette generator →

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