#775797#775797

#775797 is a mid, moderate violet. Relative luminance 0.130; OKLCH L 51.7% C 0.104 H 306.1°. Best body text is #FFFFFF at 5.84:1 contrast (WCAG AA passes).

Color values

HEX#775797
RGBrgb(119, 87, 151)
HSLhsl(270, 27%, 47%)
HSVhsv(270, 42%, 59%)
CMYKcmyk(21.2%, 42.4%, 0%, 40.8%)
CIE-LABlab(42.72, 26.38, -30.19)
CIE-LCHlch(42.72, 40.09, 311.15°)
OKLaboklab(51.69% 0.0613 -0.0839)
OKLCHoklch(51.69% 0.104 306.1)
XYZxyz(16.6007, 12.9728, 30.9016)
Luminance0.1297 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#775797 #779757
analogous
#575797 #775797 #975797
triadic
#775797 #977757 #579777
tetradic
#775797 #975757 #779757 #579797
square
#775797 #975757 #779757 #579797
split-complementary
#775797 #979757 #579757
monochromatic
#3A2A49 #584170 #775797 #9679B2 #B4A0C8

Accessibility & contrast

On white

5.84
#775797 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.59
#775797 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #775797
5.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##775797#FFFFFF#000000##FFFFFF
##7757971.005.843.595.84
#FFFFFF5.841.0021.001.00
#0000003.5921.001.0021.00
##FFFFFF5.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#486499
Deuteranopia (green-blind)
#506595
Tritanopia (blue-blind)
#726170
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #775797;
/* rgb */ color: rgb(119, 87, 151);
/* oklch */ color: oklch(51.7% 0.104 306.1);
Tailwind
colors: {
  custom: {
    50: '#9f87b6',
    500: '#775797',
    950: '#000000',
  },
}
SCSS
$custom: #775797;
$custom-light: #9f87b6;
$custom-dark: #000000;
JSON
{
  "hex": "#775797",
  "rgb": {
    "r": 119,
    "g": 87,
    "b": 151
  },
  "hsl": {
    "h": 270,
    "s": 26.891,
    "l": 46.667
  },
  "oklch": {
    "l": 0.51687,
    "c": 0.10391,
    "h": 306.1
  },
  "luminance": 0.12973
}

Semantic roles & 50–950 ramp

primary
#775797
secondary
#A5B694
accent
#C36594
background
#F9F8FB
surface
#F2EFF6
border
#CCCAD0
text
#0F0B11
muted
#7E7C80

Preview Lab

Preview with #775797

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

Preview Lab → · Contrast checker → · Palette generator →

#775797 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva