#774CA7#774CA7

#774CA7 is a mid, vivid violet. Relative luminance 0.119; OKLCH L 50.7% C 0.143 H 303.5°. Best body text is #FFFFFF at 6.22:1 contrast (WCAG AA passes).

Color values

HEX#774CA7
RGBrgb(119, 76, 167)
HSLhsl(268, 37%, 48%)
HSVhsv(268, 54%, 65%)
CMYKcmyk(28.7%, 54.5%, 0%, 34.5%)
CIE-LABlab(41.03, 36.82, -42.42)
CIE-LCHlch(41.03, 56.17, 310.96°)
OKLaboklab(50.7% 0.0791 -0.1195)
OKLCHoklch(50.7% 0.143 303.5)
XYZxyz(17.1657, 11.8809, 37.9406)
Luminance0.1188 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#774CA7 #7CA74C
analogous
#4C4EA7 #774CA7 #A54CA7
triadic
#774CA7 #A7774C #4CA777
tetradic
#774CA7 #A74C4E #7CA74C #4CA7A5
square
#774CA7 #A74C4E #7CA74C #4CA7A5
split-complementary
#774CA7 #A7A54C #4EA74C
monochromatic
#3B2653 #59397D #774CA7 #9672BF #B59CD2

Accessibility & contrast

On white

6.22
#774CA7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.38
#774CA7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #774CA7
6.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##774CA7#FFFFFF#000000##FFFFFF
##774CA71.006.223.386.22
#FFFFFF6.221.0021.001.00
#0000003.3821.001.0021.00
##FFFFFF6.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2C60AA
Deuteranopia (green-blind)
#3A61A5
Tritanopia (blue-blind)
#6E5D72
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #774ca7;
/* rgb */ color: rgb(119, 76, 167);
/* oklch */ color: oklch(50.7% 0.143 303.5);
Tailwind
colors: {
  custom: {
    50: '#a17fc2',
    500: '#774ca7',
    950: '#000000',
  },
}
SCSS
$custom: #774ca7;
$custom-light: #a17fc2;
$custom-dark: #000000;
JSON
{
  "hex": "#774ca7",
  "rgb": {
    "r": 119,
    "g": 76,
    "b": 167
  },
  "hsl": {
    "h": 268.352,
    "s": 37.449,
    "l": 47.647
  },
  "oklch": {
    "l": 0.50703,
    "c": 0.14333,
    "h": 303.5
  },
  "luminance": 0.11881
}

Semantic roles & 50–950 ramp

primary
#774CA7
secondary
#A9BE90
accent
#CD5A97
background
#FAF7FB
surface
#F4EEF7
border
#CEC9D0
text
#0F0A12
muted
#7F7C81

Preview Lab

Preview with #774CA7

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

Preview Lab → · Contrast checker → · Palette generator →

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