#774DA2#774DA2

#774DA2 is a mid, vivid violet. Relative luminance 0.118; OKLCH L 50.6% C 0.135 H 304.9°. Best body text is #FFFFFF at 6.24:1 contrast (WCAG AA passes).

Color values

HEX#774DA2
RGBrgb(119, 77, 162)
HSLhsl(270, 36%, 47%)
HSVhsv(270, 52%, 64%)
CMYKcmyk(26.5%, 52.5%, 0%, 36.5%)
CIE-LABlab(40.96, 34.99, -39.55)
CIE-LCHlch(40.96, 52.81, 311.50°)
OKLaboklab(50.56% 0.0774 -0.1111)
OKLCHoklch(50.56% 0.135 304.9)
XYZxyz(16.7818, 11.8384, 35.5764)
Luminance0.1184 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#774DA2 #78A24D
analogous
#4D4EA2 #774DA2 #A24DA2
triadic
#774DA2 #A2774D #4DA277
tetradic
#774DA2 #A24D4E #78A24D #4DA2A2
square
#774DA2 #A24D4E #78A24D #4DA2A2
split-complementary
#774DA2 #A2A24D #4EA24D
monochromatic
#3A264F #593979 #774DA2 #9671BB #B49ACF

Accessibility & contrast

On white

6.24
#774DA2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.37
#774DA2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #774DA2
6.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##774DA2#FFFFFF#000000##FFFFFF
##774DA21.006.243.376.24
#FFFFFF6.241.0021.001.00
#0000003.3721.001.0021.00
##FFFFFF6.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#325FA5
Deuteranopia (green-blind)
#3F61A0
Tritanopia (blue-blind)
#705C70
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #774da2;
/* rgb */ color: rgb(119, 77, 162);
/* oklch */ color: oklch(50.6% 0.135 304.9);
Tailwind
colors: {
  custom: {
    50: '#a180be',
    500: '#774da2',
    950: '#000000',
  },
}
SCSS
$custom: #774da2;
$custom-light: #a180be;
$custom-dark: #000000;
JSON
{
  "hex": "#774da2",
  "rgb": {
    "r": 119,
    "g": 77,
    "b": 162
  },
  "hsl": {
    "h": 269.647,
    "s": 35.565,
    "l": 46.863
  },
  "oklch": {
    "l": 0.50558,
    "c": 0.13541,
    "h": 304.9
  },
  "luminance": 0.11838
}

Semantic roles & 50–950 ramp

primary
#774DA2
secondary
#A6BC8F
accent
#CC5C95
background
#FAF7FB
surface
#F4EEF7
border
#CEC9D0
text
#0F0A12
muted
#7F7C81

Preview Lab

Preview with #774DA2

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

Preview Lab → · Contrast checker → · Palette generator →

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