#7F74BF#7F74BF

#7F74BF is a mid, moderate blue. Relative luminance 0.208; OKLCH L 60.1% C 0.112 H 289.3°. Best body text is #000000 at 5.15:1 contrast (WCAG AA passes).

Color values

HEX#7F74BF
RGBrgb(127, 116, 191)
HSLhsl(249, 37%, 60%)
HSVhsv(249, 39%, 75%)
CMYKcmyk(33.5%, 39.3%, 0%, 25.1%)
CIE-LABlab(52.69, 21.69, -37.90)
CIE-LCHlch(52.69, 43.67, 299.79°)
OKLaboklab(60.07% 0.0372 -0.1062)
OKLCHoklch(60.07% 0.112 289.3)
XYZxyz(24.3993, 20.7638, 52.0024)
Luminance0.2076 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F74BF #B4BF74
analogous
#748EBF #7F74BF #A474BF
triadic
#7F74BF #BF7F74 #74BF7F
tetradic
#7F74BF #BF748E #B4BF74 #74BFA4
square
#7F74BF #BF748E #B4BF74 #74BFA4
split-complementary
#7F74BF #BFA474 #8EBF74
monochromatic
#443A7E #5B4DA8 #7F74BF #A69ED2 #CCC8E6

Accessibility & contrast

On white

4.08
#7F74BF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.15
#7F74BF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7F74BF
5.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F74BF#FFFFFF#000000##000000
##7F74BF1.004.085.155.15
#FFFFFF4.081.0021.0021.00
#0000005.1521.001.001.00
##0000005.1521.001.001.00

Color blindness preview

Protanopia (red-blind)
#5D7FC2
Deuteranopia (green-blind)
#5D7CBD
Tritanopia (blue-blind)
#6F8290
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #7f74bf;
/* rgb */ color: rgb(127, 116, 191);
/* oklch */ color: oklch(60.1% 0.112 289.3);
Tailwind
colors: {
  custom: {
    50: '#a69cd2',
    500: '#7f74bf',
    950: '#000000',
  },
}
SCSS
$custom: #7f74bf;
$custom-light: #a69cd2;
$custom-dark: #000000;
JSON
{
  "hex": "#7f74bf",
  "rgb": {
    "r": 127,
    "g": 116,
    "b": 191
  },
  "hsl": {
    "h": 248.8,
    "s": 36.946,
    "l": 60.196
  },
  "oklch": {
    "l": 0.60065,
    "c": 0.11248,
    "h": 289.3
  },
  "luminance": 0.20764
}

Semantic roles & 50–950 ramp

primary
#7F74BF
secondary
#D2D6B9
accent
#B0369E
background
#FAF9FC
surface
#F4F2F9
border
#CECCD2
text
#100E14
muted
#7F7E82

Preview Lab

Preview with #7F74BF

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

Preview Lab → · Contrast checker → · Palette generator →

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