#774EF5#774EF5

#774EF5 is a mid, highly saturated violet. Relative luminance 0.160; OKLCH L 56.7% C 0.235 H 287.7°. Best body text is #FFFFFF at 5.01:1 contrast (WCAG AA passes).

Color values

HEX#774EF5
RGBrgb(119, 78, 245)
HSLhsl(255, 89%, 63%)
HSVhsv(255, 68%, 96%)
CMYKcmyk(51.4%, 68.2%, 0%, 3.9%)
CIE-LABlab(46.92, 56.68, -77.83)
CIE-LCHlch(46.92, 96.28, 306.06°)
OKLaboklab(56.72% 0.0715 -0.2235)
OKLCHoklch(56.72% 0.235 287.7)
XYZxyz(26.8087, 15.9620, 88.0369)
Luminance0.1596 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#774EF5 #CCF54E
analogous
#4E78F5 #774EF5 #CB4EF5
triadic
#774EF5 #F5774E #4EF577
tetradic
#774EF5 #F54E78 #CCF54E #4EF5CB
square
#774EF5 #F54E78 #CCF54E #4EF5CB
split-complementary
#774EF5 #F5CB4E #78F54E
monochromatic
#370BBE #4A14F2 #774EF5 #A488F8 #D0C2FC

Accessibility & contrast

On white

5.01
#774EF5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.19
#774EF5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #774EF5
5.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##774EF5#FFFFFF#000000##FFFFFF
##774EF51.005.014.195.01
#FFFFFF5.011.0021.001.00
#0000004.1921.001.0021.00
##FFFFFF5.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0073FA
Deuteranopia (green-blind)
#006BF2
Tritanopia (blue-blind)
#47799C
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #774ef5;
/* rgb */ color: rgb(119, 78, 245);
/* oklch */ color: oklch(56.7% 0.235 287.7);
Tailwind
colors: {
  custom: {
    50: '#a983fa',
    500: '#774ef5',
    950: '#000000',
  },
}
SCSS
$custom: #774ef5;
$custom-light: #a983fa;
$custom-dark: #000000;
JSON
{
  "hex": "#774ef5",
  "rgb": {
    "r": 119,
    "g": 78,
    "b": 245
  },
  "hsl": {
    "h": 254.731,
    "s": 89.305,
    "l": 63.333
  },
  "oklch": {
    "l": 0.56716,
    "c": 0.23469,
    "h": 287.7
  },
  "luminance": 0.15963
}

Semantic roles & 50–950 ramp

primary
#774EF5
secondary
#DFEDB2
accent
#E600AD
background
#FBF8FF
surface
#F6EFFF
border
#D0CAD7
text
#110B17
muted
#807C85

Preview Lab

Preview with #774EF5

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

Preview Lab → · Contrast checker → · Palette generator →

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