#774EA2#774EA2

#774EA2 is a mid, vivid violet. Relative luminance 0.120; OKLCH L 50.7% C 0.134 H 304.6°. Best body text is #FFFFFF at 6.18:1 contrast (WCAG AA passes).

Color values

HEX#774EA2
RGBrgb(119, 78, 162)
HSLhsl(269, 35%, 47%)
HSVhsv(269, 52%, 64%)
CMYKcmyk(26.5%, 51.9%, 0%, 36.5%)
CIE-LABlab(41.18, 34.41, -39.19)
CIE-LCHlch(41.18, 52.16, 311.29°)
OKLaboklab(50.72% 0.076 -0.1101)
OKLCHoklch(50.72% 0.134 304.6)
XYZxyz(16.8523, 11.9794, 35.5999)
Luminance0.1198 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#774EA2 #79A24E
analogous
#4E4FA2 #774EA2 #A14EA2
triadic
#774EA2 #A2774E #4EA277
tetradic
#774EA2 #A24E4F #79A24E #4EA2A1
square
#774EA2 #A24E4F #79A24E #4EA2A1
split-complementary
#774EA2 #A2A14E #4FA24E
monochromatic
#3A264F #593A79 #774EA2 #9672BB #B59BCF

Accessibility & contrast

On white

6.18
#774EA2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.40
#774EA2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #774EA2
6.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##774EA2#FFFFFF#000000##FFFFFF
##774EA21.006.183.406.18
#FFFFFF6.181.0021.001.00
#0000003.4021.001.0021.00
##FFFFFF6.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3460A5
Deuteranopia (green-blind)
#4061A0
Tritanopia (blue-blind)
#705D70
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #774ea2;
/* rgb */ color: rgb(119, 78, 162);
/* oklch */ color: oklch(50.7% 0.134 304.6);
Tailwind
colors: {
  custom: {
    50: '#a081be',
    500: '#774ea2',
    950: '#000000',
  },
}
SCSS
$custom: #774ea2;
$custom-light: #a081be;
$custom-dark: #000000;
JSON
{
  "hex": "#774ea2",
  "rgb": {
    "r": 119,
    "g": 78,
    "b": 162
  },
  "hsl": {
    "h": 269.286,
    "s": 35,
    "l": 47.059
  },
  "oklch": {
    "l": 0.50725,
    "c": 0.13376,
    "h": 304.6
  },
  "luminance": 0.11979
}

Semantic roles & 50–950 ramp

primary
#774EA2
secondary
#A6BC90
accent
#CB5D95
background
#FAF7FB
surface
#F4EEF7
border
#CEC9D0
text
#0F0A12
muted
#7F7C81

Preview Lab

Preview with #774EA2

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

Preview Lab → · Contrast checker → · Palette generator →

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