#7D74DB#7D74DB

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

Color values

HEX#7D74DB
RGBrgb(125, 116, 219)
HSLhsl(245, 59%, 66%)
HSVhsv(245, 47%, 86%)
CMYKcmyk(42.9%, 47%, 0%, 14.1%)
CIE-LABlab(53.99, 28.97, -51.78)
CIE-LCHlch(53.99, 59.33, 299.22°)
OKLaboklab(61.49% 0.0393 -0.1467)
OKLCHoklch(61.49% 0.152 285)
XYZxyz(27.4853, 21.9641, 69.7954)
Luminance0.2197 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D74DB #D2DB74
analogous
#749EDB #7D74DB #B074DB
triadic
#7D74DB #DB7D74 #74DB7D
tetradic
#7D74DB #DB749E #D2DB74 #74DBB0
square
#7D74DB #DB749E #D2DB74 #74DBB0
split-complementary
#7D74DB #DBB074 #9EDB74
monochromatic
#372CA9 #5043CE #7D74DB #AAA5E8 #D8D5F4

Accessibility & contrast

On white

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

On black

5.39
#7D74DB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7D74DB
5.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D74DB#FFFFFF#000000##000000
##7D74DB1.003.895.395.39
#FFFFFF3.891.0021.0021.00
#0000005.3921.001.001.00
##0000005.3921.001.001.00

Color blindness preview

Protanopia (red-blind)
#4B84DF
Deuteranopia (green-blind)
#487ED9
Tritanopia (blue-blind)
#60899D
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #7d74db;
/* rgb */ color: rgb(125, 116, 219);
/* oklch */ color: oklch(61.5% 0.152 285.0);
Tailwind
colors: {
  custom: {
    50: '#a79ce7',
    500: '#7d74db',
    950: '#000000',
  },
}
SCSS
$custom: #7d74db;
$custom-light: #a79ce7;
$custom-dark: #000000;
JSON
{
  "hex": "#7d74db",
  "rgb": {
    "r": 125,
    "g": 116,
    "b": 219
  },
  "hsl": {
    "h": 245.243,
    "s": 58.857,
    "l": 65.686
  },
  "oklch": {
    "l": 0.61485,
    "c": 0.15187,
    "h": 285
  },
  "luminance": 0.21965
}

Semantic roles & 50–950 ramp

primary
#7D74DB
secondary
#E4E7C4
accent
#C61FB8
background
#FAF9FE
surface
#F4F2FC
border
#CECCD5
text
#100E16
muted
#7F7E84

Preview Lab

Preview with #7D74DB

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

Preview Lab → · Contrast checker → · Palette generator →

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