#7D74CD#7D74CD

#7D74CD is a mid, vivid blue. Relative luminance 0.213; OKLCH L 60.7% C 0.132 H 286.4°. Best body text is #000000 at 5.25:1 contrast (WCAG AA passes).

Color values

HEX#7D74CD
RGBrgb(125, 116, 205)
HSLhsl(246, 47%, 63%)
HSVhsv(246, 43%, 80%)
CMYKcmyk(39%, 43.4%, 0%, 19.6%)
CIE-LABlab(53.23, 25.00, -45.05)
CIE-LCHlch(53.23, 51.52, 299.02°)
OKLaboklab(60.67% 0.0373 -0.127)
OKLCHoklch(60.67% 0.132 286.4)
XYZxyz(25.7192, 21.2577, 60.4938)
Luminance0.2126 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D74CD #C4CD74
analogous
#7498CD #7D74CD #A974CD
triadic
#7D74CD #CD7D74 #74CD7D
tetradic
#7D74CD #CD7498 #C4CD74 #74CDA9
square
#7D74CD #CD7498 #C4CD74 #74CDA9
split-complementary
#7D74CD #CDA974 #98CD74
monochromatic
#3E3592 #5347BD #7D74CD #A7A1DD #D1CEED

Accessibility & contrast

On white

4.00
#7D74CD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.25
#7D74CD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7D74CD
5.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D74CD#FFFFFF#000000##000000
##7D74CD1.004.005.255.25
#FFFFFF4.001.0021.0021.00
#0000005.2521.001.001.00
##0000005.2521.001.001.00

Color blindness preview

Protanopia (red-blind)
#5582D0
Deuteranopia (green-blind)
#537DCB
Tritanopia (blue-blind)
#678697
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #7d74cd;
/* rgb */ color: rgb(125, 116, 205);
/* oklch */ color: oklch(60.7% 0.132 286.4);
Tailwind
colors: {
  custom: {
    50: '#a69cdd',
    500: '#7d74cd',
    950: '#000000',
  },
}
SCSS
$custom: #7d74cd;
$custom-light: #a69cdd;
$custom-dark: #000000;
JSON
{
  "hex": "#7d74cd",
  "rgb": {
    "r": 125,
    "g": 116,
    "b": 205
  },
  "hsl": {
    "h": 246.067,
    "s": 47.09,
    "l": 62.941
  },
  "oklch": {
    "l": 0.60665,
    "c": 0.13242,
    "h": 286.4
  },
  "luminance": 0.21259
}

Semantic roles & 50–950 ramp

primary
#7D74CD
secondary
#DBDEBE
accent
#BA2BAC
background
#FAF9FD
surface
#F4F2FB
border
#CECCD4
text
#100E15
muted
#7F7E83

Preview Lab

Preview with #7D74CD

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

Preview Lab → · Contrast checker → · Palette generator →

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