#7A77CD#7A77CD

#7A77CD is a mid, vivid blue. Relative luminance 0.217; OKLCH L 61.0% C 0.128 H 283.5°. Best body text is #000000 at 5.35:1 contrast (WCAG AA passes).

Color values

HEX#7A77CD
RGBrgb(122, 119, 205)
HSLhsl(242, 46%, 64%)
HSVhsv(242, 42%, 80%)
CMYKcmyk(40.5%, 42%, 0%, 19.6%)
CIE-LABlab(53.75, 22.43, -44.25)
CIE-LCHlch(53.75, 49.61, 296.88°)
OKLaboklab(61% 0.0299 -0.1248)
OKLCHoklch(61% 0.128 283.5)
XYZxyz(25.6392, 21.7380, 60.5907)
Luminance0.2174 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A77CD #CACD77
analogous
#779FCD #7A77CD #A577CD
triadic
#7A77CD #CD7A77 #77CD7A
tetradic
#7A77CD #CD779F #CACD77 #77CDA5
square
#7A77CD #CD779F #CACD77 #77CDA5
split-complementary
#7A77CD #CDA577 #9FCD77
monochromatic
#393693 #4E4ABD #7A77CD #A6A4DD #D2D0EE

Accessibility & contrast

On white

3.93
#7A77CD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.35
#7A77CD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7A77CD
5.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A77CD#FFFFFF#000000##000000
##7A77CD1.003.935.355.35
#FFFFFF3.931.0021.0021.00
#0000005.3521.001.001.00
##0000005.3521.001.001.00

Color blindness preview

Protanopia (red-blind)
#5983D0
Deuteranopia (green-blind)
#557ECB
Tritanopia (blue-blind)
#628898
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #7a77cd;
/* rgb */ color: rgb(122, 119, 205);
/* oklch */ color: oklch(61.0% 0.128 283.5);
Tailwind
colors: {
  custom: {
    50: '#a49edc',
    500: '#7a77cd',
    950: '#000000',
  },
}
SCSS
$custom: #7a77cd;
$custom-light: #a49edc;
$custom-dark: #000000;
JSON
{
  "hex": "#7a77cd",
  "rgb": {
    "r": 122,
    "g": 119,
    "b": 205
  },
  "hsl": {
    "h": 242.093,
    "s": 46.237,
    "l": 63.529
  },
  "oklch": {
    "l": 0.60999,
    "c": 0.1283,
    "h": 283.5
  },
  "luminance": 0.21739
}

Semantic roles & 50–950 ramp

primary
#7A77CD
secondary
#DEDFC1
accent
#B92CB5
background
#FAF9FD
surface
#F4F2FB
border
#CECCD4
text
#0F0E15
muted
#7F7E83

Preview Lab

Preview with #7A77CD

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

Preview Lab → · Contrast checker → · Palette generator →

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