#7D74BB#7D74BB

#7D74BB is a mid, moderate blue. Relative luminance 0.204; OKLCH L 59.7% C 0.107 H 288.5°. Best body text is #000000 at 5.09:1 contrast (WCAG AA passes).

Color values

HEX#7D74BB
RGBrgb(125, 116, 187)
HSLhsl(248, 34%, 59%)
HSVhsv(248, 38%, 73%)
CMYKcmyk(33.2%, 38%, 0%, 26.7%)
CIE-LABlab(52.33, 20.05, -36.18)
CIE-LCHlch(52.33, 41.37, 299.00°)
OKLaboklab(59.69% 0.034 -0.1012)
OKLCHoklch(59.69% 0.107 288.5)
XYZxyz(23.6701, 20.4380, 49.7019)
Luminance0.2044 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D74BB #B2BB74
analogous
#748FBB #7D74BB #A174BB
triadic
#7D74BB #BB7D74 #74BB7D
tetradic
#7D74BB #BB748F #B2BB74 #74BBA1
square
#7D74BB #BB748F #B2BB74 #74BBA1
split-complementary
#7D74BB #BBA174 #8FBB74
monochromatic
#433B79 #5A4FA2 #7D74BB #A39DCF #CAC6E3

Accessibility & contrast

On white

4.13
#7D74BB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.09
#7D74BB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7D74BB
5.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D74BB#FFFFFF#000000##000000
##7D74BB1.004.135.095.09
#FFFFFF4.131.0021.0021.00
#0000005.0921.001.001.00
##0000005.0921.001.001.00

Color blindness preview

Protanopia (red-blind)
#5F7EBE
Deuteranopia (green-blind)
#5E7BB9
Tritanopia (blue-blind)
#6E818F
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #7d74bb;
/* rgb */ color: rgb(125, 116, 187);
/* oklch */ color: oklch(59.7% 0.107 288.5);
Tailwind
colors: {
  custom: {
    50: '#a59cd0',
    500: '#7d74bb',
    950: '#000000',
  },
}
SCSS
$custom: #7d74bb;
$custom-light: #a59cd0;
$custom-dark: #000000;
JSON
{
  "hex": "#7d74bb",
  "rgb": {
    "r": 125,
    "g": 116,
    "b": 187
  },
  "hsl": {
    "h": 247.606,
    "s": 34.3,
    "l": 59.412
  },
  "oklch": {
    "l": 0.59685,
    "c": 0.10677,
    "h": 288.5
  },
  "luminance": 0.20439
}

Semantic roles & 50–950 ramp

primary
#7D74BB
secondary
#D0D3B8
accent
#CA5DBD
background
#FAF9FC
surface
#F4F2F9
border
#CECCD2
text
#0F0E14
muted
#7F7E82

Preview Lab

Preview with #7D74BB

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

Preview Lab → · Contrast checker → · Palette generator →

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