#774097#774097

#774097 is a mid, vivid violet. Relative luminance 0.098; OKLCH L 47.8% C 0.143 H 311.3°. Best body text is #FFFFFF at 7.08:1 contrast (WCAG AA passes).

Color values

HEX#774097
RGBrgb(119, 64, 151)
HSLhsl(278, 40%, 42%)
HSVhsv(278, 58%, 59%)
CMYKcmyk(21.2%, 57.6%, 0%, 40.8%)
CIE-LABlab(37.52, 39.65, -38.40)
CIE-LCHlch(37.52, 55.20, 315.92°)
OKLaboklab(47.82% 0.0947 -0.1077)
OKLCHoklch(47.82% 0.143 311.3)
XYZxyz(15.0260, 9.8234, 30.3767)
Luminance0.0982 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#774097 #609740
analogous
#4C4097 #774097 #97408C
triadic
#774097 #977740 #409777
tetradic
#774097 #974C40 #609740 #408C97
square
#774097 #974C40 #609740 #408C97
split-complementary
#774097 #8C9740 #40974C
monochromatic
#331C41 #552E6C #774097 #975BB9 #B286CC

Accessibility & contrast

On white

7.08
#774097 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.96
#774097 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #774097
7.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##774097#FFFFFF#000000##FFFFFF
##7740971.007.082.967.08
#FFFFFF7.081.0021.001.00
#0000002.9621.001.0021.00
##FFFFFF7.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#25569A
Deuteranopia (green-blind)
#395995
Tritanopia (blue-blind)
#734F65
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #774097;
/* rgb */ color: rgb(119, 64, 151);
/* oklch */ color: oklch(47.8% 0.143 311.3);
Tailwind
colors: {
  custom: {
    50: '#a177b6',
    500: '#774097',
    950: '#000000',
  },
}
SCSS
$custom: #774097;
$custom-light: #a177b6;
$custom-dark: #000000;
JSON
{
  "hex": "#774097",
  "rgb": {
    "r": 119,
    "g": 64,
    "b": 151
  },
  "hsl": {
    "h": 277.931,
    "s": 40.465,
    "l": 42.157
  },
  "oklch": {
    "l": 0.4782,
    "c": 0.14345,
    "h": 311.3
  },
  "luminance": 0.09823
}

Semantic roles & 50–950 ramp

primary
#774097
secondary
#92B67D
accent
#D05784
background
#FAF7FB
surface
#F4EDF6
border
#CEC8D0
text
#0F0911
muted
#7F7B80

Preview Lab

Preview with #774097

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

Preview Lab → · Contrast checker → · Palette generator →

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