#774ED2#774ED2

#774ED2 is a mid, vivid violet. Relative luminance 0.140; OKLCH L 54.0% C 0.193 H 293.1°. Best body text is #FFFFFF at 5.52:1 contrast (WCAG AA passes).

Color values

HEX#774ED2
RGBrgb(119, 78, 210)
HSLhsl(259, 59%, 56%)
HSVhsv(259, 63%, 82%)
CMYKcmyk(43.3%, 62.9%, 0%, 17.6%)
CIE-LABlab(44.27, 47.05, -62.32)
CIE-LCHlch(44.27, 78.08, 307.05°)
OKLaboklab(53.97% 0.0759 -0.1779)
OKLCHoklch(53.97% 0.193 293.1)
XYZxyz(21.9618, 14.0232, 62.5099)
Luminance0.1402 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#774ED2 #A9D24E
analogous
#4E67D2 #774ED2 #B94ED2
triadic
#774ED2 #D2774E #4ED277
tetradic
#774ED2 #D24E67 #A9D24E #4ED2B9
square
#774ED2 #D24E67 #A9D24E #4ED2B9
split-complementary
#774ED2 #D2B94E #67D24E
monochromatic
#402284 #582EB5 #774ED2 #9C7FDE #C2B0EB

Accessibility & contrast

On white

5.52
#774ED2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.80
#774ED2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #774ED2
5.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##774ED2#FFFFFF#000000##FFFFFF
##774ED21.005.523.805.52
#FFFFFF5.521.0021.001.00
#0000003.8021.001.0021.00
##FFFFFF5.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006AD6
Deuteranopia (green-blind)
#0066CF
Tritanopia (blue-blind)
#5D6D89
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #774ed2;
/* rgb */ color: rgb(119, 78, 210);
/* oklch */ color: oklch(54.0% 0.193 293.1);
Tailwind
colors: {
  custom: {
    50: '#a582e1',
    500: '#774ed2',
    950: '#000000',
  },
}
SCSS
$custom: #774ed2;
$custom-light: #a582e1;
$custom-dark: #000000;
JSON
{
  "hex": "#774ed2",
  "rgb": {
    "r": 119,
    "g": 78,
    "b": 210
  },
  "hsl": {
    "h": 258.636,
    "s": 59.459,
    "l": 56.471
  },
  "oklch": {
    "l": 0.53972,
    "c": 0.19346,
    "h": 293.1
  },
  "luminance": 0.14024
}

Semantic roles & 50–950 ramp

primary
#774ED2
secondary
#C8D9A3
accent
#E345B2
background
#FAF8FD
surface
#F4EFFB
border
#CECAD4
text
#100A15
muted
#7F7C83

Preview Lab

Preview with #774ED2

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

Preview Lab → · Contrast checker → · Palette generator →

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