#774EF8#774EF8

#774EF8 is a mid, highly saturated violet. Relative luminance 0.161; OKLCH L 57.0% C 0.238 H 287.3°. Best body text is #FFFFFF at 4.97:1 contrast (WCAG AA passes).

Color values

HEX#774EF8
RGBrgb(119, 78, 248)
HSLhsl(254, 92%, 64%)
HSVhsv(254, 69%, 97%)
CMYKcmyk(52%, 68.5%, 0%, 2.7%)
CIE-LABlab(47.17, 57.51, -79.11)
CIE-LCHlch(47.17, 97.81, 306.01°)
OKLaboklab(56.96% 0.0709 -0.2273)
OKLCHoklch(56.96% 0.238 287.3)
XYZxyz(27.2704, 16.1467, 90.4684)
Luminance0.1615 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#774EF8 #CFF84E
analogous
#4E7AF8 #774EF8 #CC4EF8
triadic
#774EF8 #F8774E #4EF877
tetradic
#774EF8 #F84E7A #CFF84E #4EF8CC
square
#774EF8 #F84E7A #CFF84E #4EF8CC
split-complementary
#774EF8 #F8CC4E #7AF84E
monochromatic
#3508C4 #4A13F6 #774EF8 #A489FA #D1C4FD

Accessibility & contrast

On white

4.97
#774EF8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.23
#774EF8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #774EF8
4.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##774EF8#FFFFFF#000000##FFFFFF
##774EF81.004.974.234.97
#FFFFFF4.971.0021.001.00
#0000004.2321.001.0021.00
##FFFFFF4.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0074FD
Deuteranopia (green-blind)
#006BF5
Tritanopia (blue-blind)
#447A9D
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #774ef8;
/* rgb */ color: rgb(119, 78, 248);
/* oklch */ color: oklch(57.0% 0.238 287.3);
Tailwind
colors: {
  custom: {
    50: '#a983fc',
    500: '#774ef8',
    950: '#000000',
  },
}
SCSS
$custom: #774ef8;
$custom-light: #a983fc;
$custom-dark: #000000;
JSON
{
  "hex": "#774ef8",
  "rgb": {
    "r": 119,
    "g": 78,
    "b": 248
  },
  "hsl": {
    "h": 254.471,
    "s": 92.391,
    "l": 63.922
  },
  "oklch": {
    "l": 0.56964,
    "c": 0.23812,
    "h": 287.3
  },
  "luminance": 0.16148
}

Semantic roles & 50–950 ramp

primary
#774EF8
secondary
#E0EFB3
accent
#E600AE
background
#FBF8FF
surface
#F6EFFF
border
#D0CAD7
text
#110B18
muted
#807C86

Preview Lab

Preview with #774EF8

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

Preview Lab → · Contrast checker → · Palette generator →

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