#7D74CA#7D74CA

#7D74CA is a mid, vivid blue. Relative luminance 0.211; OKLCH L 60.5% C 0.128 H 286.7°. Best body text is #000000 at 5.22:1 contrast (WCAG AA passes).

Color values

HEX#7D74CA
RGBrgb(125, 116, 202)
HSLhsl(246, 45%, 62%)
HSVhsv(246, 43%, 79%)
CMYKcmyk(38.1%, 42.6%, 0%, 20.8%)
CIE-LABlab(53.07, 24.16, -43.59)
CIE-LCHlch(53.07, 49.84, 298.99°)
OKLaboklab(60.5% 0.0368 -0.1228)
OKLCHoklch(60.5% 0.128 286.7)
XYZxyz(25.3606, 21.1142, 58.6049)
Luminance0.2112 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D74CA #C1CA74
analogous
#7496CA #7D74CA #A874CA
triadic
#7D74CA #CA7D74 #74CA7D
tetradic
#7D74CA #CA7496 #C1CA74 #74CAA8
square
#7D74CA #CA7496 #C1CA74 #74CAA8
split-complementary
#7D74CA #CAA874 #96CA74
monochromatic
#3F368E #5448B9 #7D74CA #A6A0DB #D0CDEC

Accessibility & contrast

On white

4.02
#7D74CA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.22
#7D74CA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7D74CA
5.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D74CA#FFFFFF#000000##000000
##7D74CA1.004.025.225.22
#FFFFFF4.021.0021.0021.00
#0000005.2221.001.001.00
##0000005.2221.001.001.00

Color blindness preview

Protanopia (red-blind)
#5681CD
Deuteranopia (green-blind)
#557CC8
Tritanopia (blue-blind)
#688595
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #7d74ca;
/* rgb */ color: rgb(125, 116, 202);
/* oklch */ color: oklch(60.5% 0.128 286.7);
Tailwind
colors: {
  custom: {
    50: '#a69cda',
    500: '#7d74ca',
    950: '#000000',
  },
}
SCSS
$custom: #7d74ca;
$custom-light: #a69cda;
$custom-dark: #000000;
JSON
{
  "hex": "#7d74ca",
  "rgb": {
    "r": 125,
    "g": 116,
    "b": 202
  },
  "hsl": {
    "h": 246.279,
    "s": 44.792,
    "l": 62.353
  },
  "oklch": {
    "l": 0.60496,
    "c": 0.12818,
    "h": 286.7
  },
  "luminance": 0.21115
}

Semantic roles & 50–950 ramp

primary
#7D74CA
secondary
#D9DDBD
accent
#B82EA9
background
#FAF9FD
surface
#F4F2FB
border
#CECCD4
text
#100E15
muted
#7F7E83

Preview Lab

Preview with #7D74CA

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

Preview Lab → · Contrast checker → · Palette generator →

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