#7F74BC#7F74BC

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

Color values

HEX#7F74BC
RGBrgb(127, 116, 188)
HSLhsl(249, 35%, 60%)
HSVhsv(249, 38%, 74%)
CMYKcmyk(32.4%, 38.3%, 0%, 26.3%)
CIE-LABlab(52.55, 20.89, -36.41)
CIE-LCHlch(52.55, 41.98, 299.85°)
OKLaboklab(59.91% 0.0365 -0.1018)
OKLCHoklch(59.91% 0.108 289.7)
XYZxyz(24.0725, 20.6331, 50.2815)
Luminance0.2063 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F74BC #B1BC74
analogous
#748DBC #7F74BC #A374BC
triadic
#7F74BC #BC7F74 #74BC7F
tetradic
#7F74BC #BC748D #B1BC74 #74BCA3
square
#7F74BC #BC748D #B1BC74 #74BCA3
split-complementary
#7F74BC #BCA374 #8DBC74
monochromatic
#453B7B #5C4FA4 #7F74BC #A59DD0 #CBC7E4

Accessibility & contrast

On white

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

On black

5.13
#7F74BC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7F74BC
5.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F74BC#FFFFFF#000000##000000
##7F74BC1.004.105.135.13
#FFFFFF4.101.0021.0021.00
#0000005.1321.001.001.00
##0000005.1321.001.001.00

Color blindness preview

Protanopia (red-blind)
#5E7FBF
Deuteranopia (green-blind)
#5F7CBA
Tritanopia (blue-blind)
#70818F
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #7f74bc;
/* rgb */ color: rgb(127, 116, 188);
/* oklch */ color: oklch(59.9% 0.108 289.7);
Tailwind
colors: {
  custom: {
    50: '#a69cd0',
    500: '#7f74bc',
    950: '#000000',
  },
}
SCSS
$custom: #7f74bc;
$custom-light: #a69cd0;
$custom-dark: #000000;
JSON
{
  "hex": "#7f74bc",
  "rgb": {
    "r": 127,
    "g": 116,
    "b": 188
  },
  "hsl": {
    "h": 249.167,
    "s": 34.951,
    "l": 59.608
  },
  "oklch": {
    "l": 0.59907,
    "c": 0.10818,
    "h": 289.7
  },
  "luminance": 0.20634
}

Semantic roles & 50–950 ramp

primary
#7F74BC
secondary
#D0D4B8
accent
#CB5DBA
background
#FAF9FC
surface
#F4F2F9
border
#CECCD2
text
#0F0E14
muted
#7F7E82

Preview Lab

Preview with #7F74BC

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

Preview Lab → · Contrast checker → · Palette generator →

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