#7F77DB#7F77DB

#7F77DB is a light, vivid blue. Relative luminance 0.228; OKLCH L 62.2% C 0.147 H 284.9°. Best body text is #000000 at 5.56:1 contrast (WCAG AA passes).

Color values

HEX#7F77DB
RGBrgb(127, 119, 219)
HSLhsl(245, 58%, 66%)
HSVhsv(245, 46%, 86%)
CMYKcmyk(42%, 45.7%, 0%, 14.1%)
CIE-LABlab(54.89, 27.67, -50.34)
CIE-LCHlch(54.89, 57.44, 298.80°)
OKLaboklab(62.2% 0.0379 -0.1424)
OKLCHoklch(62.2% 0.147 284.9)
XYZxyz(28.1317, 22.8190, 69.9264)
Luminance0.2282 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F77DB #D3DB77
analogous
#77A1DB #7F77DB #B177DB
triadic
#7F77DB #DB7F77 #77DB7F
tetradic
#7F77DB #DB77A1 #D3DB77 #77DBB1
square
#7F77DB #DB77A1 #D3DB77 #77DBB1
split-complementary
#7F77DB #DBB177 #A1DB77
monochromatic
#372DAA #5147CE #7F77DB #ADA7E8 #DAD8F5

Accessibility & contrast

On white

3.77
#7F77DB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.56
#7F77DB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7F77DB
5.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F77DB#FFFFFF#000000##000000
##7F77DB1.003.775.565.56
#FFFFFF3.771.0021.0021.00
#0000005.5621.001.001.00
##0000005.5621.001.001.00

Color blindness preview

Protanopia (red-blind)
#5186DF
Deuteranopia (green-blind)
#4E80D9
Tritanopia (blue-blind)
#638B9E
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #7f77db;
/* rgb */ color: rgb(127, 119, 219);
/* oklch */ color: oklch(62.2% 0.147 284.9);
Tailwind
colors: {
  custom: {
    50: '#a89ee7',
    500: '#7f77db',
    950: '#000000',
  },
}
SCSS
$custom: #7f77db;
$custom-light: #a89ee7;
$custom-dark: #000000;
JSON
{
  "hex": "#7f77db",
  "rgb": {
    "r": 127,
    "g": 119,
    "b": 219
  },
  "hsl": {
    "h": 244.8,
    "s": 58.14,
    "l": 66.275
  },
  "oklch": {
    "l": 0.62201,
    "c": 0.14739,
    "h": 284.9
  },
  "luminance": 0.2282
}

Semantic roles & 50–950 ramp

primary
#7F77DB
secondary
#E5E7C7
accent
#C620B8
background
#FAF9FE
surface
#F4F2FC
border
#CECCD5
text
#100E16
muted
#7F7E84

Preview Lab

Preview with #7F77DB

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

Preview Lab → · Contrast checker → · Palette generator →

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