#7F74CF#7F74CF

#7F74CF is a mid, vivid blue. Relative luminance 0.215; OKLCH L 60.9% C 0.135 H 287.2°. Best body text is #000000 at 5.30:1 contrast (WCAG AA passes).

Color values

HEX#7F74CF
RGBrgb(127, 116, 207)
HSLhsl(247, 49%, 63%)
HSVhsv(247, 44%, 81%)
CMYKcmyk(38.6%, 44%, 0%, 18.8%)
CIE-LABlab(53.50, 26.07, -45.75)
CIE-LCHlch(53.50, 52.66, 299.68°)
OKLaboklab(60.94% 0.04 -0.129)
OKLCHoklch(60.94% 0.135 287.2)
XYZxyz(26.2572, 21.5070, 61.7872)
Luminance0.2151 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F74CF #C4CF74
analogous
#7496CF #7F74CF #AC74CF
triadic
#7F74CF #CF7F74 #74CF7F
tetradic
#7F74CF #CF7496 #C4CF74 #74CFAC
square
#7F74CF #CF7496 #C4CF74 #74CFAC
split-complementary
#7F74CF #CFAC74 #96CF74
monochromatic
#3F3395 #5547BF #7F74CF #A9A1DF #D3CFEE

Accessibility & contrast

On white

3.96
#7F74CF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.30
#7F74CF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7F74CF
5.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F74CF#FFFFFF#000000##000000
##7F74CF1.003.965.305.30
#FFFFFF3.961.0021.0021.00
#0000005.3021.001.001.00
##0000005.3021.001.001.00

Color blindness preview

Protanopia (red-blind)
#5482D2
Deuteranopia (green-blind)
#537DCD
Tritanopia (blue-blind)
#698697
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #7f74cf;
/* rgb */ color: rgb(127, 116, 207);
/* oklch */ color: oklch(60.9% 0.135 287.2);
Tailwind
colors: {
  custom: {
    50: '#a79cde',
    500: '#7f74cf',
    950: '#000000',
  },
}
SCSS
$custom: #7f74cf;
$custom-light: #a79cde;
$custom-dark: #000000;
JSON
{
  "hex": "#7f74cf",
  "rgb": {
    "r": 127,
    "g": 116,
    "b": 207
  },
  "hsl": {
    "h": 247.253,
    "s": 48.663,
    "l": 63.333
  },
  "oklch": {
    "l": 0.60944,
    "c": 0.1351,
    "h": 287.2
  },
  "luminance": 0.21508
}

Semantic roles & 50–950 ramp

primary
#7F74CF
secondary
#DCE0BF
accent
#BC2AAA
background
#FAF9FD
surface
#F4F2FB
border
#CECCD4
text
#100E15
muted
#7F7E83

Preview Lab

Preview with #7F74CF

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

Preview Lab → · Contrast checker → · Palette generator →

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