#7D74DD#7D74DD

#7D74DD is a mid, vivid blue. Relative luminance 0.221; OKLCH L 61.6% C 0.155 H 284.8°. Best body text is #000000 at 5.41:1 contrast (WCAG AA passes).

Color values

HEX#7D74DD
RGBrgb(125, 116, 221)
HSLhsl(245, 61%, 66%)
HSVhsv(245, 48%, 87%)
CMYKcmyk(43.4%, 47.5%, 0%, 13.3%)
CIE-LABlab(54.10, 29.54, -52.72)
CIE-LCHlch(54.10, 60.43, 299.26°)
OKLaboklab(61.61% 0.0395 -0.1495)
OKLCHoklch(61.61% 0.155 284.8)
XYZxyz(27.7502, 22.0701, 71.1904)
Luminance0.2207 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D74DD #D4DD74
analogous
#749FDD #7D74DD #B174DD
triadic
#7D74DD #DD7D74 #74DD7D
tetradic
#7D74DD #DD749F #D4DD74 #74DDB1
square
#7D74DD #DD749F #D4DD74 #74DDB1
split-complementary
#7D74DD #DDB174 #9FDD74
monochromatic
#352AAC #4F43D1 #7D74DD #ABA5E9 #D9D6F5

Accessibility & contrast

On white

3.88
#7D74DD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.41
#7D74DD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7D74DD
5.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D74DD#FFFFFF#000000##000000
##7D74DD1.003.885.415.41
#FFFFFF3.881.0021.0021.00
#0000005.4121.001.001.00
##0000005.4121.001.001.00

Color blindness preview

Protanopia (red-blind)
#4984E1
Deuteranopia (green-blind)
#467EDB
Tritanopia (blue-blind)
#5F8A9E
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #7d74dd;
/* rgb */ color: rgb(125, 116, 221);
/* oklch */ color: oklch(61.6% 0.155 284.8);
Tailwind
colors: {
  custom: {
    50: '#a79ce8',
    500: '#7d74dd',
    950: '#000000',
  },
}
SCSS
$custom: #7d74dd;
$custom-light: #a79ce8;
$custom-dark: #000000;
JSON
{
  "hex": "#7d74dd",
  "rgb": {
    "r": 125,
    "g": 116,
    "b": 221
  },
  "hsl": {
    "h": 245.143,
    "s": 60.694,
    "l": 66.078
  },
  "oklch": {
    "l": 0.61606,
    "c": 0.15462,
    "h": 284.8
  },
  "luminance": 0.22071
}

Semantic roles & 50–950 ramp

primary
#7D74DD
secondary
#E5E8C5
accent
#C81DBA
background
#FAF9FE
surface
#F4F2FD
border
#CECCD5
text
#100E16
muted
#7F7E84

Preview Lab

Preview with #7D74DD

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

Preview Lab → · Contrast checker → · Palette generator →

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