#774CA2#774CA2

#774CA2 is a mid, vivid violet. Relative luminance 0.117; OKLCH L 50.4% C 0.137 H 305.1°. Best body text is #FFFFFF at 6.29:1 contrast (WCAG AA passes).

Color values

HEX#774CA2
RGBrgb(119, 76, 162)
HSLhsl(270, 36%, 47%)
HSVhsv(270, 53%, 64%)
CMYKcmyk(26.5%, 53.1%, 0%, 36.5%)
CIE-LABlab(40.73, 35.57, -39.90)
CIE-LCHlch(40.73, 53.46, 311.71°)
OKLaboklab(50.39% 0.0788 -0.1121)
OKLCHoklch(50.39% 0.137 305.1)
XYZxyz(16.7124, 11.6996, 35.5532)
Luminance0.1170 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#774CA2 #77A24C
analogous
#4C4CA2 #774CA2 #A24CA2
triadic
#774CA2 #A2774C #4CA277
tetradic
#774CA2 #A24C4C #77A24C #4CA2A2
square
#774CA2 #A24C4C #77A24C #4CA2A2
split-complementary
#774CA2 #A2A24C #4CA24C
monochromatic
#3A254F #583878 #774CA2 #9670BC #B499CF

Accessibility & contrast

On white

6.29
#774CA2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.34
#774CA2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #774CA2
6.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##774CA2#FFFFFF#000000##FFFFFF
##774CA21.006.293.346.29
#FFFFFF6.291.0021.001.00
#0000003.3421.001.0021.00
##FFFFFF6.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#315FA5
Deuteranopia (green-blind)
#3E60A0
Tritanopia (blue-blind)
#705C70
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #774ca2;
/* rgb */ color: rgb(119, 76, 162);
/* oklch */ color: oklch(50.4% 0.137 305.1);
Tailwind
colors: {
  custom: {
    50: '#a17fbe',
    500: '#774ca2',
    950: '#000000',
  },
}
SCSS
$custom: #774ca2;
$custom-light: #a17fbe;
$custom-dark: #000000;
JSON
{
  "hex": "#774ca2",
  "rgb": {
    "r": 119,
    "g": 76,
    "b": 162
  },
  "hsl": {
    "h": 270,
    "s": 36.134,
    "l": 46.667
  },
  "oklch": {
    "l": 0.50393,
    "c": 0.13706,
    "h": 305.1
  },
  "luminance": 0.11699
}

Semantic roles & 50–950 ramp

primary
#774CA2
secondary
#A5BC8E
accent
#CC5C94
background
#FAF7FB
surface
#F4EEF7
border
#CEC9D0
text
#0F0A12
muted
#7F7C81

Preview Lab

Preview with #774CA2

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

Preview Lab → · Contrast checker → · Palette generator →

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