#774ED7#774ED7

#774ED7 is a mid, vivid violet. Relative luminance 0.143; OKLCH L 54.3% C 0.199 H 292.2°. Best body text is #FFFFFF at 5.45:1 contrast (WCAG AA passes).

Color values

HEX#774ED7
RGBrgb(119, 78, 215)
HSLhsl(258, 63%, 57%)
HSVhsv(258, 64%, 84%)
CMYKcmyk(44.7%, 63.7%, 0%, 15.7%)
CIE-LABlab(44.63, 48.41, -64.60)
CIE-LCHlch(44.63, 80.73, 306.85°)
OKLaboklab(54.35% 0.0755 -0.1847)
OKLCHoklch(54.35% 0.199 292.2)
XYZxyz(22.5945, 14.2763, 65.8419)
Luminance0.1428 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#774ED7 #AED74E
analogous
#4E6AD7 #774ED7 #BB4ED7
triadic
#774ED7 #D7774E #4ED777
tetradic
#774ED7 #D74E6A #AED74E #4ED7BB
square
#774ED7 #D74E6A #AED74E #4ED7BB
split-complementary
#774ED7 #D7BB4E #6AD74E
monochromatic
#401F8B #572BBD #774ED7 #9D80E2 #C4B2EE

Accessibility & contrast

On white

5.45
#774ED7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.86
#774ED7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #774ED7
5.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##774ED7#FFFFFF#000000##FFFFFF
##774ED71.005.453.865.45
#FFFFFF5.451.0021.001.00
#0000003.8621.001.0021.00
##FFFFFF5.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006BDB
Deuteranopia (green-blind)
#0067D4
Tritanopia (blue-blind)
#5B6E8B
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #774ed7;
/* rgb */ color: rgb(119, 78, 215);
/* oklch */ color: oklch(54.3% 0.199 292.2);
Tailwind
colors: {
  custom: {
    50: '#a582e4',
    500: '#774ed7',
    950: '#000000',
  },
}
SCSS
$custom: #774ed7;
$custom-light: #a582e4;
$custom-dark: #000000;
JSON
{
  "hex": "#774ed7",
  "rgb": {
    "r": 119,
    "g": 78,
    "b": 215
  },
  "hsl": {
    "h": 257.956,
    "s": 63.134,
    "l": 57.451
  },
  "oklch": {
    "l": 0.54347,
    "c": 0.19948,
    "h": 292.2
  },
  "luminance": 0.14277
}

Semantic roles & 50–950 ramp

primary
#774ED7
secondary
#CCDCA5
accent
#E642B5
background
#FAF8FE
surface
#F4EFFC
border
#CECAD5
text
#100A16
muted
#7F7C84

Preview Lab

Preview with #774ED7

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

Preview Lab → · Contrast checker → · Palette generator →

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