#774EE2#774EE2

#774EE2 is a mid, highly saturated violet. Relative luminance 0.149; OKLCH L 55.2% C 0.213 H 290.4°. Best body text is #FFFFFF at 5.29:1 contrast (WCAG AA passes).

Color values

HEX#774EE2
RGBrgb(119, 78, 226)
HSLhsl(257, 72%, 60%)
HSVhsv(257, 65%, 89%)
CMYKcmyk(47.3%, 65.5%, 0%, 11.4%)
CIE-LABlab(45.44, 51.43, -69.54)
CIE-LCHlch(45.44, 86.49, 306.49°)
OKLaboklab(55.19% 0.0742 -0.1992)
OKLCHoklch(55.19% 0.213 290.4)
XYZxyz(24.0557, 14.8608, 73.5377)
Luminance0.1486 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#774EE2 #B9E24E
analogous
#4E6FE2 #774EE2 #C14EE2
triadic
#774EE2 #E2774E #4EE277
tetradic
#774EE2 #E24E6F #B9E24E #4EE2C1
square
#774EE2 #E24E6F #B9E24E #4EE2C1
split-complementary
#774EE2 #E2C14E #6FE24E
monochromatic
#3E1A9C #5322D1 #774EE2 #9F83EB #C8B7F3

Accessibility & contrast

On white

5.29
#774EE2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.97
#774EE2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #774EE2
5.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##774EE2#FFFFFF#000000##FFFFFF
##774EE21.005.293.975.29
#FFFFFF5.291.0021.001.00
#0000003.9721.001.0021.00
##FFFFFF5.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006EE7
Deuteranopia (green-blind)
#0068DF
Tritanopia (blue-blind)
#557291
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #774ee2;
/* rgb */ color: rgb(119, 78, 226);
/* oklch */ color: oklch(55.2% 0.213 290.4);
Tailwind
colors: {
  custom: {
    50: '#a682ec',
    500: '#774ee2',
    950: '#000000',
  },
}
SCSS
$custom: #774ee2;
$custom-light: #a682ec;
$custom-dark: #000000;
JSON
{
  "hex": "#774ee2",
  "rgb": {
    "r": 119,
    "g": 78,
    "b": 226
  },
  "hsl": {
    "h": 256.622,
    "s": 71.845,
    "l": 59.608
  },
  "oklch": {
    "l": 0.55192,
    "c": 0.21257,
    "h": 290.4
  },
  "luminance": 0.14862
}

Semantic roles & 50–950 ramp

primary
#774EE2
secondary
#D3E3A9
accent
#EF39BC
background
#FAF8FE
surface
#F4EFFD
border
#CECAD5
text
#100B16
muted
#7F7C84

Preview Lab

Preview with #774EE2

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

Preview Lab → · Contrast checker → · Palette generator →

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