#7F74BB#7F74BB

#7F74BB is a mid, moderate blue. Relative luminance 0.206; OKLCH L 59.9% C 0.107 H 289.9°. Best body text is #000000 at 5.12:1 contrast (WCAG AA passes).

Color values

HEX#7F74BB
RGBrgb(127, 116, 187)
HSLhsl(249, 34%, 59%)
HSVhsv(249, 38%, 73%)
CMYKcmyk(32.1%, 38%, 0%, 26.7%)
CIE-LABlab(52.50, 20.63, -35.91)
CIE-LCHlch(52.50, 41.41, 299.87°)
OKLaboklab(59.86% 0.0363 -0.1004)
OKLCHoklch(59.86% 0.107 289.9)
XYZxyz(23.9651, 20.5901, 49.7157)
Luminance0.2059 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F74BB #B0BB74
analogous
#748DBB #7F74BB #A374BB
triadic
#7F74BB #BB7F74 #74BB7F
tetradic
#7F74BB #BB748D #B0BB74 #74BBA3
square
#7F74BB #BB748D #B0BB74 #74BBA3
split-complementary
#7F74BB #BBA374 #8DBB74
monochromatic
#453B79 #5C4FA2 #7F74BB #A59DCF #CBC6E3

Accessibility & contrast

On white

4.10
#7F74BB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.12
#7F74BB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7F74BB
5.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F74BB#FFFFFF#000000##000000
##7F74BB1.004.105.125.12
#FFFFFF4.101.0021.0021.00
#0000005.1221.001.001.00
##0000005.1221.001.001.00

Color blindness preview

Protanopia (red-blind)
#5F7FBE
Deuteranopia (green-blind)
#5F7CB9
Tritanopia (blue-blind)
#71818F
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #7f74bb;
/* rgb */ color: rgb(127, 116, 187);
/* oklch */ color: oklch(59.9% 0.107 289.9);
Tailwind
colors: {
  custom: {
    50: '#a69cd0',
    500: '#7f74bb',
    950: '#000000',
  },
}
SCSS
$custom: #7f74bb;
$custom-light: #a69cd0;
$custom-dark: #000000;
JSON
{
  "hex": "#7f74bb",
  "rgb": {
    "r": 127,
    "g": 116,
    "b": 187
  },
  "hsl": {
    "h": 249.296,
    "s": 34.3,
    "l": 59.412
  },
  "oklch": {
    "l": 0.59855,
    "c": 0.10675,
    "h": 289.9
  },
  "luminance": 0.20591
}

Semantic roles & 50–950 ramp

primary
#7F74BB
secondary
#CFD3B8
accent
#CA5DB9
background
#FAF9FC
surface
#F4F2F9
border
#CECCD2
text
#0F0E14
muted
#7F7E82

Preview Lab

Preview with #7F74BB

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

Preview Lab → · Contrast checker → · Palette generator →

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