#774ED9#774ED9

#774ED9 is a mid, highly saturated violet. Relative luminance 0.144; OKLCH L 54.5% C 0.202 H 291.9°. Best body text is #FFFFFF at 5.42:1 contrast (WCAG AA passes).

Color values

HEX#774ED9
RGBrgb(119, 78, 217)
HSLhsl(258, 65%, 58%)
HSVhsv(258, 64%, 85%)
CMYKcmyk(45.2%, 64.1%, 0%, 14.9%)
CIE-LABlab(44.77, 48.96, -65.50)
CIE-LCHlch(44.77, 81.78, 306.78°)
OKLaboklab(54.5% 0.0753 -0.1873)
OKLCHoklch(54.5% 0.202 291.9)
XYZxyz(22.8530, 14.3797, 67.2036)
Luminance0.1438 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#774ED9 #B0D94E
analogous
#4E6AD9 #774ED9 #BD4ED9
triadic
#774ED9 #D9774E #4ED977
tetradic
#774ED9 #D94E6A #B0D94E #4ED9BD
square
#774ED9 #D94E6A #B0D94E #4ED9BD
split-complementary
#774ED9 #D9BD4E #6AD94E
monochromatic
#3F1F8E #5629C0 #774ED9 #9E80E4 #C4B3EF

Accessibility & contrast

On white

5.42
#774ED9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.88
#774ED9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #774ED9
5.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##774ED9#FFFFFF#000000##FFFFFF
##774ED91.005.423.885.42
#FFFFFF5.421.0021.001.00
#0000003.8821.001.0021.00
##FFFFFF5.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006CDD
Deuteranopia (green-blind)
#0067D6
Tritanopia (blue-blind)
#5A6F8D
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #774ed9;
/* rgb */ color: rgb(119, 78, 217);
/* oklch */ color: oklch(54.5% 0.202 291.9);
Tailwind
colors: {
  custom: {
    50: '#a582e6',
    500: '#774ed9',
    950: '#000000',
  },
}
SCSS
$custom: #774ed9;
$custom-light: #a582e6;
$custom-dark: #000000;
JSON
{
  "hex": "#774ed9",
  "rgb": {
    "r": 119,
    "g": 78,
    "b": 217
  },
  "hsl": {
    "h": 257.698,
    "s": 64.651,
    "l": 57.843
  },
  "oklch": {
    "l": 0.54498,
    "c": 0.20188,
    "h": 291.9
  },
  "luminance": 0.1438
}

Semantic roles & 50–950 ramp

primary
#774ED9
secondary
#CDDDA6
accent
#E840B6
background
#FAF8FE
surface
#F4EFFC
border
#CECAD5
text
#100B16
muted
#7F7C84

Preview Lab

Preview with #774ED9

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

Preview Lab → · Contrast checker → · Palette generator →

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