#7F76CD#7F76CD

#7F76CD is a mid, vivid blue. Relative luminance 0.219; OKLCH L 61.2% C 0.129 H 286.7°. Best body text is #000000 at 5.38:1 contrast (WCAG AA passes).

Color values

HEX#7F76CD
RGBrgb(127, 118, 205)
HSLhsl(246, 47%, 63%)
HSVhsv(246, 42%, 80%)
CMYKcmyk(38%, 42.4%, 0%, 19.6%)
CIE-LABlab(53.90, 24.33, -43.99)
CIE-LCHlch(53.90, 50.27, 298.94°)
OKLaboklab(61.21% 0.0371 -0.1239)
OKLCHoklch(61.21% 0.129 286.7)
XYZxyz(26.2472, 21.8758, 60.5853)
Luminance0.2188 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F76CD #C4CD76
analogous
#7698CD #7F76CD #AA76CD
triadic
#7F76CD #CD7F76 #76CD7F
tetradic
#7F76CD #CD7698 #C4CD76 #76CDAA
square
#7F76CD #CD7698 #C4CD76 #76CDAA
split-complementary
#7F76CD #CDAA76 #98CD76
monochromatic
#3F3693 #5549BD #7F76CD #A9A3DD #D3D0EE

Accessibility & contrast

On white

3.91
#7F76CD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.38
#7F76CD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7F76CD
5.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F76CD#FFFFFF#000000##000000
##7F76CD1.003.915.385.38
#FFFFFF3.911.0021.0021.00
#0000005.3821.001.001.00
##0000005.3821.001.001.00

Color blindness preview

Protanopia (red-blind)
#5883D0
Deuteranopia (green-blind)
#577ECB
Tritanopia (blue-blind)
#6A8798
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #7f76cd;
/* rgb */ color: rgb(127, 118, 205);
/* oklch */ color: oklch(61.2% 0.129 286.7);
Tailwind
colors: {
  custom: {
    50: '#a79ddc',
    500: '#7f76cd',
    950: '#000000',
  },
}
SCSS
$custom: #7f76cd;
$custom-light: #a79ddc;
$custom-dark: #000000;
JSON
{
  "hex": "#7f76cd",
  "rgb": {
    "r": 127,
    "g": 118,
    "b": 205
  },
  "hsl": {
    "h": 246.207,
    "s": 46.524,
    "l": 63.333
  },
  "oklch": {
    "l": 0.6121,
    "c": 0.12932,
    "h": 286.7
  },
  "luminance": 0.21877
}

Semantic roles & 50–950 ramp

primary
#7F76CD
secondary
#DCDFC0
accent
#BA2CAB
background
#FAF9FD
surface
#F4F2FB
border
#CECCD4
text
#100E15
muted
#7F7E83

Preview Lab

Preview with #7F76CD

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

Preview Lab → · Contrast checker → · Palette generator →

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