#7D74BC#7D74BC

#7D74BC is a mid, moderate blue. Relative luminance 0.205; OKLCH L 59.7% C 0.108 H 288.4°. Best body text is #000000 at 5.10:1 contrast (WCAG AA passes).

Color values

HEX#7D74BC
RGBrgb(125, 116, 188)
HSLhsl(248, 35%, 60%)
HSVhsv(248, 38%, 74%)
CMYKcmyk(33.5%, 38.3%, 0%, 26.3%)
CIE-LABlab(52.38, 20.32, -36.68)
CIE-LCHlch(52.38, 41.94, 298.99°)
OKLaboklab(59.74% 0.0342 -0.1027)
OKLCHoklch(59.74% 0.108 288.4)
XYZxyz(23.7775, 20.4810, 50.2677)
Luminance0.2048 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D74BC #B3BC74
analogous
#748FBC #7D74BC #A174BC
triadic
#7D74BC #BC7D74 #74BC7D
tetradic
#7D74BC #BC748F #B3BC74 #74BCA1
square
#7D74BC #BC748F #B3BC74 #74BCA1
split-complementary
#7D74BC #BCA174 #8FBC74
monochromatic
#433B7B #5A4FA4 #7D74BC #A49DD0 #CAC7E4

Accessibility & contrast

On white

4.12
#7D74BC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.10
#7D74BC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7D74BC
5.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D74BC#FFFFFF#000000##000000
##7D74BC1.004.125.105.10
#FFFFFF4.121.0021.0021.00
#0000005.1021.001.001.00
##0000005.1021.001.001.00

Color blindness preview

Protanopia (red-blind)
#5E7FBF
Deuteranopia (green-blind)
#5E7BBA
Tritanopia (blue-blind)
#6D818F
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #7d74bc;
/* rgb */ color: rgb(125, 116, 188);
/* oklch */ color: oklch(59.7% 0.108 288.4);
Tailwind
colors: {
  custom: {
    50: '#a59cd0',
    500: '#7d74bc',
    950: '#000000',
  },
}
SCSS
$custom: #7d74bc;
$custom-light: #a59cd0;
$custom-dark: #000000;
JSON
{
  "hex": "#7d74bc",
  "rgb": {
    "r": 125,
    "g": 116,
    "b": 188
  },
  "hsl": {
    "h": 247.5,
    "s": 34.951,
    "l": 59.608
  },
  "oklch": {
    "l": 0.59737,
    "c": 0.10821,
    "h": 288.4
  },
  "luminance": 0.20482
}

Semantic roles & 50–950 ramp

primary
#7D74BC
secondary
#D0D4B8
accent
#CB5DBD
background
#FAF9FC
surface
#F4F2F9
border
#CECCD2
text
#0F0E14
muted
#7F7E82

Preview Lab

Preview with #7D74BC

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

Preview Lab → · Contrast checker → · Palette generator →

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