#774F97#774F97

#774F97 is a mid, moderate violet. Relative luminance 0.117; OKLCH L 50.3% C 0.118 H 308.3°. Best body text is #FFFFFF at 6.27:1 contrast (WCAG AA passes).

Color values

HEX#774F97
RGBrgb(119, 79, 151)
HSLhsl(273, 31%, 45%)
HSVhsv(273, 48%, 59%)
CMYKcmyk(21.2%, 47.7%, 0%, 40.8%)
CIE-LABlab(40.81, 31.13, -33.19)
CIE-LCHlch(40.81, 45.50, 313.16°)
OKLaboklab(50.26% 0.0732 -0.0926)
OKLCHoklch(50.26% 0.118 308.3)
XYZxyz(15.9886, 11.7485, 30.6976)
Luminance0.1175 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#774F97 #6F974F
analogous
#534F97 #774F97 #974F93
triadic
#774F97 #97774F #4F9777
tetradic
#774F97 #97534F #6F974F #4F9397
square
#774F97 #97534F #6F974F #4F9397
split-complementary
#774F97 #93974F #4F9753
monochromatic
#382547 #573A6F #774F97 #956FB4 #B398C9

Accessibility & contrast

On white

6.27
#774F97 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.35
#774F97 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #774F97
6.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##774F97#FFFFFF#000000##FFFFFF
##774F971.006.273.356.27
#FFFFFF6.271.0021.001.00
#0000003.3521.001.0021.00
##FFFFFF6.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3D5F9A
Deuteranopia (green-blind)
#486195
Tritanopia (blue-blind)
#735B6C
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #774f97;
/* rgb */ color: rgb(119, 79, 151);
/* oklch */ color: oklch(50.3% 0.118 308.3);
Tailwind
colors: {
  custom: {
    50: '#a081b6',
    500: '#774f97',
    950: '#000000',
  },
}
SCSS
$custom: #774f97;
$custom-light: #a081b6;
$custom-dark: #000000;
JSON
{
  "hex": "#774f97",
  "rgb": {
    "r": 119,
    "g": 79,
    "b": 151
  },
  "hsl": {
    "h": 273.333,
    "s": 31.304,
    "l": 45.098
  },
  "oklch": {
    "l": 0.50255,
    "c": 0.11806,
    "h": 308.3
  },
  "luminance": 0.11748
}

Semantic roles & 50–950 ramp

primary
#774F97
secondary
#9FB68C
accent
#C7608E
background
#FAF7FB
surface
#F3EEF6
border
#CDC9D0
text
#0F0A11
muted
#7F7C80

Preview Lab

Preview with #774F97

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

Preview Lab → · Contrast checker → · Palette generator →

#774F97 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva