#774FD8#774FD8

#774FD8 is a mid, vivid violet. Relative luminance 0.145; OKLCH L 54.6% C 0.199 H 291.9°. Best body text is #FFFFFF at 5.39:1 contrast (WCAG AA passes).

Color values

HEX#774FD8
RGBrgb(119, 79, 216)
HSLhsl(258, 64%, 58%)
HSVhsv(258, 63%, 85%)
CMYKcmyk(44.9%, 63.4%, 0%, 15.3%)
CIE-LABlab(44.90, 48.15, -64.72)
CIE-LCHlch(44.90, 80.67, 306.64°)
OKLaboklab(54.57% 0.0743 -0.185)
OKLCHoklch(54.57% 0.199 291.9)
XYZxyz(22.7950, 14.4710, 66.5446)
Luminance0.1447 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#774FD8 #B0D84F
analogous
#4F6CD8 #774FD8 #BB4FD8
triadic
#774FD8 #D8774F #4FD877
tetradic
#774FD8 #D84F6C #B0D84F #4FD8BB
square
#774FD8 #D84F6C #B0D84F #4FD8BB
split-complementary
#774FD8 #D8BB4F #6CD84F
monochromatic
#3F1F8D #562ABF #774FD8 #9E81E3 #C4B3EE

Accessibility & contrast

On white

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

On black

3.89
#774FD8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##774FD8#FFFFFF#000000##FFFFFF
##774FD81.005.393.895.39
#FFFFFF5.391.0021.001.00
#0000003.8921.001.0021.00
##FFFFFF5.391.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: #774fd8;
/* rgb */ color: rgb(119, 79, 216);
/* oklch */ color: oklch(54.6% 0.199 291.9);
Tailwind
colors: {
  custom: {
    50: '#a582e5',
    500: '#774fd8',
    950: '#000000',
  },
}
SCSS
$custom: #774fd8;
$custom-light: #a582e5;
$custom-dark: #000000;
JSON
{
  "hex": "#774fd8",
  "rgb": {
    "r": 119,
    "g": 79,
    "b": 216
  },
  "hsl": {
    "h": 257.518,
    "s": 63.721,
    "l": 57.843
  },
  "oklch": {
    "l": 0.54568,
    "c": 0.19939,
    "h": 291.9
  },
  "luminance": 0.14472
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #774FD8

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

Preview Lab → · Contrast checker → · Palette generator →

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