#774ED8#774ED8

#774ED8 is a mid, highly saturated violet. Relative luminance 0.143; OKLCH L 54.4% C 0.201 H 292.1°. Best body text is #FFFFFF at 5.43:1 contrast (WCAG AA passes).

Color values

HEX#774ED8
RGBrgb(119, 78, 216)
HSLhsl(258, 64%, 58%)
HSVhsv(258, 64%, 85%)
CMYKcmyk(44.9%, 63.9%, 0%, 15.3%)
CIE-LABlab(44.70, 48.69, -65.05)
CIE-LCHlch(44.70, 81.25, 306.81°)
OKLaboklab(54.42% 0.0754 -0.186)
OKLCHoklch(54.42% 0.201 292.1)
XYZxyz(22.7234, 14.3278, 66.5207)
Luminance0.1433 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#774ED8 #AFD84E
analogous
#4E6AD8 #774ED8 #BC4ED8
triadic
#774ED8 #D8774E #4ED877
tetradic
#774ED8 #D84E6A #AFD84E #4ED8BC
square
#774ED8 #D84E6A #AFD84E #4ED8BC
split-complementary
#774ED8 #D8BC4E #6AD84E
monochromatic
#401F8D #562ABF #774ED8 #9E80E3 #C4B2EE

Accessibility & contrast

On white

5.43
#774ED8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.87
#774ED8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #774ED8
5.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##774ED8#FFFFFF#000000##FFFFFF
##774ED81.005.433.875.43
#FFFFFF5.431.0021.001.00
#0000003.8721.001.0021.00
##FFFFFF5.431.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006CDC
Deuteranopia (green-blind)
#0067D5
Tritanopia (blue-blind)
#5A6F8C
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #774ed8;
/* rgb */ color: rgb(119, 78, 216);
/* oklch */ color: oklch(54.4% 0.201 292.1);
Tailwind
colors: {
  custom: {
    50: '#a582e5',
    500: '#774ed8',
    950: '#000000',
  },
}
SCSS
$custom: #774ed8;
$custom-light: #a582e5;
$custom-dark: #000000;
JSON
{
  "hex": "#774ed8",
  "rgb": {
    "r": 119,
    "g": 78,
    "b": 216
  },
  "hsl": {
    "h": 257.826,
    "s": 63.889,
    "l": 57.647
  },
  "oklch": {
    "l": 0.54422,
    "c": 0.20068,
    "h": 292.1
  },
  "luminance": 0.14329
}

Semantic roles & 50–950 ramp

primary
#774ED8
secondary
#CCDDA5
accent
#E741B6
background
#FAF8FE
surface
#F4EFFC
border
#CECAD5
text
#100B16
muted
#7F7C84

Preview Lab

Preview with #774ED8

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

Preview Lab → · Contrast checker → · Palette generator →

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