#774FA7#774FA7

#774FA7 is a mid, vivid violet. Relative luminance 0.123; OKLCH L 51.2% C 0.138 H 302.8°. Best body text is #FFFFFF at 6.07:1 contrast (WCAG AA passes).

Color values

HEX#774FA7
RGBrgb(119, 79, 167)
HSLhsl(267, 36%, 48%)
HSVhsv(267, 53%, 65%)
CMYKcmyk(28.7%, 52.7%, 0%, 34.5%)
CIE-LABlab(41.70, 35.10, -41.35)
CIE-LCHlch(41.70, 54.24, 310.32°)
OKLaboklab(51.2% 0.075 -0.1164)
OKLCHoklch(51.2% 0.138 302.8)
XYZxyz(17.3772, 12.3039, 38.0111)
Luminance0.1230 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#774FA7 #7FA74F
analogous
#4F53A7 #774FA7 #A34FA7
triadic
#774FA7 #A7774F #4FA777
tetradic
#774FA7 #A74F53 #7FA74F #4FA7A3
square
#774FA7 #A74F53 #7FA74F #4FA7A3
split-complementary
#774FA7 #A7A34F #53A74F
monochromatic
#3C2854 #593B7D #774FA7 #9675BE #B69FD2

Accessibility & contrast

On white

6.07
#774FA7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.46
#774FA7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #774FA7
6.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##774FA7#FFFFFF#000000##FFFFFF
##774FA71.006.073.466.07
#FFFFFF6.071.0021.001.00
#0000003.4621.001.0021.00
##FFFFFF6.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3162AA
Deuteranopia (green-blind)
#3D62A5
Tritanopia (blue-blind)
#6E5F73
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #774fa7;
/* rgb */ color: rgb(119, 79, 167);
/* oklch */ color: oklch(51.2% 0.138 302.8);
Tailwind
colors: {
  custom: {
    50: '#a181c1',
    500: '#774fa7',
    950: '#000000',
  },
}
SCSS
$custom: #774fa7;
$custom-light: #a181c1;
$custom-dark: #000000;
JSON
{
  "hex": "#774fa7",
  "rgb": {
    "r": 119,
    "g": 79,
    "b": 167
  },
  "hsl": {
    "h": 267.273,
    "s": 35.772,
    "l": 48.235
  },
  "oklch": {
    "l": 0.51197,
    "c": 0.13847,
    "h": 302.8
  },
  "luminance": 0.12304
}

Semantic roles & 50–950 ramp

primary
#774FA7
secondary
#ABBE93
accent
#CC5C99
background
#FAF8FB
surface
#F4EFF7
border
#CECAD0
text
#0F0A12
muted
#7F7C81

Preview Lab

Preview with #774FA7

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

Preview Lab → · Contrast checker → · Palette generator →

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