#7F74CD#7F74CD

#7F74CD is a mid, vivid blue. Relative luminance 0.214; OKLCH L 60.8% C 0.132 H 287.5°. Best body text is #000000 at 5.28:1 contrast (WCAG AA passes).

Color values

HEX#7F74CD
RGBrgb(127, 116, 205)
HSLhsl(247, 47%, 63%)
HSVhsv(247, 43%, 80%)
CMYKcmyk(38%, 43.4%, 0%, 19.6%)
CIE-LABlab(53.40, 25.52, -44.78)
CIE-LCHlch(53.40, 51.54, 299.67°)
OKLaboklab(60.83% 0.0397 -0.1262)
OKLCHoklch(60.83% 0.132 287.5)
XYZxyz(26.0142, 21.4098, 60.5076)
Luminance0.2141 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F74CD #C2CD74
analogous
#7495CD #7F74CD #AC74CD
triadic
#7F74CD #CD7F74 #74CD7F
tetradic
#7F74CD #CD7495 #C2CD74 #74CDAC
square
#7F74CD #CD7495 #C2CD74 #74CDAC
split-complementary
#7F74CD #CDAC74 #95CD74
monochromatic
#403592 #5647BD #7F74CD #A8A1DD #D2CEED

Accessibility & contrast

On white

3.98
#7F74CD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.28
#7F74CD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7F74CD
5.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F74CD#FFFFFF#000000##000000
##7F74CD1.003.985.285.28
#FFFFFF3.981.0021.0021.00
#0000005.2821.001.001.00
##0000005.2821.001.001.00

Color blindness preview

Protanopia (red-blind)
#5582D0
Deuteranopia (green-blind)
#547DCB
Tritanopia (blue-blind)
#6A8597
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #7f74cd;
/* rgb */ color: rgb(127, 116, 205);
/* oklch */ color: oklch(60.8% 0.132 287.5);
Tailwind
colors: {
  custom: {
    50: '#a79cdd',
    500: '#7f74cd',
    950: '#000000',
  },
}
SCSS
$custom: #7f74cd;
$custom-light: #a79cdd;
$custom-dark: #000000;
JSON
{
  "hex": "#7f74cd",
  "rgb": {
    "r": 127,
    "g": 116,
    "b": 205
  },
  "hsl": {
    "h": 247.416,
    "s": 47.09,
    "l": 62.941
  },
  "oklch": {
    "l": 0.60831,
    "c": 0.1323,
    "h": 287.5
  },
  "luminance": 0.21411
}

Semantic roles & 50–950 ramp

primary
#7F74CD
secondary
#DADEBE
accent
#BA2BA9
background
#FAF9FD
surface
#F4F2FB
border
#CECCD4
text
#100E15
muted
#7F7E83

Preview Lab

Preview with #7F74CD

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

Preview Lab → · Contrast checker → · Palette generator →

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