#7D74DC#7D74DC

#7D74DC is a mid, vivid blue. Relative luminance 0.220; OKLCH L 61.5% C 0.153 H 284.9°. Best body text is #000000 at 5.40:1 contrast (WCAG AA passes).

Color values

HEX#7D74DC
RGBrgb(125, 116, 220)
HSLhsl(245, 60%, 66%)
HSVhsv(245, 47%, 86%)
CMYKcmyk(43.2%, 47.3%, 0%, 13.7%)
CIE-LABlab(54.04, 29.25, -52.25)
CIE-LCHlch(54.04, 59.88, 299.24°)
OKLaboklab(61.55% 0.0394 -0.1481)
OKLCHoklch(61.55% 0.153 284.9)
XYZxyz(27.6174, 22.0169, 70.4908)
Luminance0.2202 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D74DC #D3DC74
analogous
#749FDC #7D74DC #B174DC
triadic
#7D74DC #DC7D74 #74DC7D
tetradic
#7D74DC #DC749F #D3DC74 #74DCB1
square
#7D74DC #DC749F #D3DC74 #74DCB1
split-complementary
#7D74DC #DCB174 #9FDC74
monochromatic
#362BAB #4F43D0 #7D74DC #ABA5E8 #D8D6F5

Accessibility & contrast

On white

3.89
#7D74DC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.40
#7D74DC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7D74DC
5.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D74DC#FFFFFF#000000##000000
##7D74DC1.003.895.405.40
#FFFFFF3.891.0021.0021.00
#0000005.4021.001.001.00
##0000005.4021.001.001.00

Color blindness preview

Protanopia (red-blind)
#4A84E0
Deuteranopia (green-blind)
#477EDA
Tritanopia (blue-blind)
#60899D
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #7d74dc;
/* rgb */ color: rgb(125, 116, 220);
/* oklch */ color: oklch(61.5% 0.153 284.9);
Tailwind
colors: {
  custom: {
    50: '#a79ce7',
    500: '#7d74dc',
    950: '#000000',
  },
}
SCSS
$custom: #7d74dc;
$custom-light: #a79ce7;
$custom-dark: #000000;
JSON
{
  "hex": "#7d74dc",
  "rgb": {
    "r": 125,
    "g": 116,
    "b": 220
  },
  "hsl": {
    "h": 245.192,
    "s": 59.77,
    "l": 65.882
  },
  "oklch": {
    "l": 0.61546,
    "c": 0.15324,
    "h": 284.9
  },
  "luminance": 0.22018
}

Semantic roles & 50–950 ramp

primary
#7D74DC
secondary
#E4E7C5
accent
#C71EB9
background
#FAF9FE
surface
#F4F2FC
border
#CECCD5
text
#100E16
muted
#7F7E84

Preview Lab

Preview with #7D74DC

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

Preview Lab → · Contrast checker → · Palette generator →

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