#7F7DC5#7F7DC5

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

Color values

HEX#7F7DC5
RGBrgb(127, 125, 197)
HSLhsl(242, 38%, 63%)
HSVhsv(242, 37%, 77%)
CMYKcmyk(35.5%, 36.5%, 0%, 22.7%)
CIE-LABlab(55.29, 17.97, -37.25)
CIE-LCHlch(55.29, 41.36, 295.75°)
OKLaboklab(62.14% 0.0262 -0.1043)
OKLCHoklch(62.14% 0.108 284.1)
XYZxyz(26.1613, 23.2096, 55.9140)
Luminance0.2321 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F7DC5 #C3C57D
analogous
#7D9FC5 #7F7DC5 #A37DC5
triadic
#7F7DC5 #C57F7D #7DC57F
tetradic
#7F7DC5 #C57D9F #C3C57D #7DC5A3
square
#7F7DC5 #C57D9F #C3C57D #7DC5A3
split-complementary
#7F7DC5 #C5A37D #9FC57D
monochromatic
#403E8A #5553B2 #7F7DC5 #A9A7D8 #D2D2EB

Accessibility & contrast

On white

3.72
#7F7DC5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.64
#7F7DC5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7F7DC5
5.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F7DC5#FFFFFF#000000##000000
##7F7DC51.003.725.645.64
#FFFFFF3.721.0021.0021.00
#0000005.6421.001.001.00
##0000005.6421.001.001.00

Color blindness preview

Protanopia (red-blind)
#6687C8
Deuteranopia (green-blind)
#6482C3
Tritanopia (blue-blind)
#6C8B98
Achromatopsia (no color)
#848484

Design tokens & code

CSS
--color: #7f7dc5;
/* rgb */ color: rgb(127, 125, 197);
/* oklch */ color: oklch(62.1% 0.107 284.1);
Tailwind
colors: {
  custom: {
    50: '#a6a2d7',
    500: '#7f7dc5',
    950: '#000000',
  },
}
SCSS
$custom: #7f7dc5;
$custom-light: #a6a2d7;
$custom-dark: #000000;
JSON
{
  "hex": "#7f7dc5",
  "rgb": {
    "r": 127,
    "g": 125,
    "b": 197
  },
  "hsl": {
    "h": 241.667,
    "s": 38.298,
    "l": 63.137
  },
  "oklch": {
    "l": 0.62144,
    "c": 0.1075,
    "h": 284.1
  },
  "luminance": 0.2321
}

Semantic roles & 50–950 ramp

primary
#7F7DC5
secondary
#DBDCC2
accent
#B134AE
background
#FAF9FD
surface
#F4F2FA
border
#CECCD3
text
#100F14
muted
#7F7E83

Preview Lab

Preview with #7F7DC5

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

Preview Lab → · Contrast checker → · Palette generator →

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