#774EDB#774EDB

#774EDB is a mid, highly saturated violet. Relative luminance 0.145; OKLCH L 54.7% C 0.204 H 291.6°. Best body text is #FFFFFF at 5.39:1 contrast (WCAG AA passes).

Color values

HEX#774EDB
RGBrgb(119, 78, 219)
HSLhsl(257, 66%, 58%)
HSVhsv(257, 64%, 86%)
CMYKcmyk(45.7%, 64.4%, 0%, 14.1%)
CIE-LABlab(44.92, 49.51, -66.41)
CIE-LCHlch(44.92, 82.83, 306.71°)
OKLaboklab(54.65% 0.075 -0.19)
OKLCHoklch(54.65% 0.204 291.6)
XYZxyz(23.1148, 14.4844, 68.5820)
Luminance0.1449 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#774EDB #B2DB4E
analogous
#4E6BDB #774EDB #BD4EDB
triadic
#774EDB #DB774E #4EDB77
tetradic
#774EDB #DB4E6B #B2DB4E #4EDBBD
square
#774EDB #DB4E6B #B2DB4E #4EDBBD
split-complementary
#774EDB #DBBD4E #6BDB4E
monochromatic
#3F1E91 #5528C4 #774EDB #9E81E5 #C5B4F0

Accessibility & contrast

On white

5.39
#774EDB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.90
#774EDB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #774EDB
5.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##774EDB#FFFFFF#000000##FFFFFF
##774EDB1.005.393.905.39
#FFFFFF5.391.0021.001.00
#0000003.9021.001.0021.00
##FFFFFF5.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006CDF
Deuteranopia (green-blind)
#0067D8
Tritanopia (blue-blind)
#59708E
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #774edb;
/* rgb */ color: rgb(119, 78, 219);
/* oklch */ color: oklch(54.7% 0.204 291.6);
Tailwind
colors: {
  custom: {
    50: '#a682e7',
    500: '#774edb',
    950: '#000000',
  },
}
SCSS
$custom: #774edb;
$custom-light: #a682e7;
$custom-dark: #000000;
JSON
{
  "hex": "#774edb",
  "rgb": {
    "r": 119,
    "g": 78,
    "b": 219
  },
  "hsl": {
    "h": 257.447,
    "s": 66.197,
    "l": 58.235
  },
  "oklch": {
    "l": 0.54651,
    "c": 0.20426,
    "h": 291.6
  },
  "luminance": 0.14485
}

Semantic roles & 50–950 ramp

primary
#774EDB
secondary
#CEDEA6
accent
#E93FB8
background
#FAF8FE
surface
#F4EFFD
border
#CECAD5
text
#100B16
muted
#7F7C84

Preview Lab

Preview with #774EDB

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

Preview Lab → · Contrast checker → · Palette generator →

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