#774797#774797

#774797 is a mid, vivid violet. Relative luminance 0.107; OKLCH L 48.9% C 0.132 H 310.1°. Best body text is #FFFFFF at 6.70:1 contrast (WCAG AA passes).

Color values

HEX#774797
RGBrgb(119, 71, 151)
HSLhsl(276, 36%, 44%)
HSVhsv(276, 53%, 59%)
CMYKcmyk(21.2%, 53%, 0%, 40.8%)
CIE-LABlab(39.01, 35.75, -36.04)
CIE-LCHlch(39.01, 50.77, 314.77°)
OKLaboklab(48.91% 0.0849 -0.1009)
OKLCHoklch(48.91% 0.132 310.1)
XYZxyz(15.4459, 10.6631, 30.5166)
Luminance0.1066 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#774797 #679747
analogous
#4F4797 #774797 #97478F
triadic
#774797 #977747 #479777
tetradic
#774797 #974F47 #679747 #478F97
square
#774797 #974F47 #679747 #478F97
split-complementary
#774797 #8F9747 #47974F
monochromatic
#352044 #56336D #774797 #9665B6 #B28ECA

Accessibility & contrast

On white

6.70
#774797 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.13
#774797 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #774797
6.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##774797#FFFFFF#000000##FFFFFF
##7747971.006.703.136.70
#FFFFFF6.701.0021.001.00
#0000003.1321.001.0021.00
##FFFFFF6.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#315A9A
Deuteranopia (green-blind)
#405D95
Tritanopia (blue-blind)
#735568
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #774797;
/* rgb */ color: rgb(119, 71, 151);
/* oklch */ color: oklch(48.9% 0.132 310.1);
Tailwind
colors: {
  custom: {
    50: '#a07cb6',
    500: '#774797',
    950: '#000000',
  },
}
SCSS
$custom: #774797;
$custom-light: #a07cb6;
$custom-dark: #000000;
JSON
{
  "hex": "#774797",
  "rgb": {
    "r": 119,
    "g": 71,
    "b": 151
  },
  "hsl": {
    "h": 276,
    "s": 36.036,
    "l": 43.529
  },
  "oklch": {
    "l": 0.48912,
    "c": 0.13186,
    "h": 310.1
  },
  "luminance": 0.10663
}

Semantic roles & 50–950 ramp

primary
#774797
secondary
#98B684
accent
#CC5C89
background
#FAF7FB
surface
#F3EEF6
border
#CDC9D0
text
#0F0911
muted
#7F7B80

Preview Lab

Preview with #774797

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

Preview Lab → · Contrast checker → · Palette generator →

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