#7F7DC4#7F7DC4

#7F7DC4 is a light, moderate blue. Relative luminance 0.232; OKLCH L 62.1% C 0.106 H 284.1°. Best body text is #000000 at 5.63:1 contrast (WCAG AA passes).

Color values

HEX#7F7DC4
RGBrgb(127, 125, 196)
HSLhsl(242, 38%, 63%)
HSVhsv(242, 36%, 77%)
CMYKcmyk(35.2%, 36.2%, 0%, 23.1%)
CIE-LABlab(55.24, 17.70, -36.75)
CIE-LCHlch(55.24, 40.79, 295.71°)
OKLaboklab(62.09% 0.0259 -0.1028)
OKLCHoklch(62.09% 0.106 284.1)
XYZxyz(26.0471, 23.1640, 55.3126)
Luminance0.2316 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F7DC4 #C2C47D
analogous
#7D9EC4 #7F7DC4 #A27DC4
triadic
#7F7DC4 #C47F7D #7DC47F
tetradic
#7F7DC4 #C47D9E #C2C47D #7DC4A2
square
#7F7DC4 #C47D9E #C2C47D #7DC4A2
split-complementary
#7F7DC4 #C4A27D #9EC47D
monochromatic
#403E89 #5653B1 #7F7DC4 #A8A7D7 #D2D1EA

Accessibility & contrast

On white

3.73
#7F7DC4 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.63
#7F7DC4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7F7DC4
5.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F7DC4#FFFFFF#000000##000000
##7F7DC41.003.735.635.63
#FFFFFF3.731.0021.0021.00
#0000005.6321.001.001.00
##0000005.6321.001.001.00

Color blindness preview

Protanopia (red-blind)
#6786C7
Deuteranopia (green-blind)
#6482C2
Tritanopia (blue-blind)
#6D8A97
Achromatopsia (no color)
#848484

Design tokens & code

CSS
--color: #7f7dc4;
/* rgb */ color: rgb(127, 125, 196);
/* oklch */ color: oklch(62.1% 0.106 284.1);
Tailwind
colors: {
  custom: {
    50: '#a6a2d6',
    500: '#7f7dc4',
    950: '#000000',
  },
}
SCSS
$custom: #7f7dc4;
$custom-light: #a6a2d6;
$custom-dark: #000000;
JSON
{
  "hex": "#7f7dc4",
  "rgb": {
    "r": 127,
    "g": 125,
    "b": 196
  },
  "hsl": {
    "h": 241.69,
    "s": 37.566,
    "l": 62.941
  },
  "oklch": {
    "l": 0.62093,
    "c": 0.10606,
    "h": 284.1
  },
  "luminance": 0.23165
}

Semantic roles & 50–950 ramp

primary
#7F7DC4
secondary
#DADBC2
accent
#B035AD
background
#FAF9FD
surface
#F4F2FA
border
#CECCD3
text
#100F14
muted
#7F7E83

Preview Lab

Preview with #7F7DC4

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

Preview Lab → · Contrast checker → · Palette generator →

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