#774FDB#774FDB

#774FDB is a mid, highly saturated violet. Relative luminance 0.146; OKLCH L 54.8% C 0.203 H 291.4°. Best body text is #FFFFFF at 5.35:1 contrast (WCAG AA passes).

Color values

HEX#774FDB
RGBrgb(119, 79, 219)
HSLhsl(257, 66%, 58%)
HSVhsv(257, 64%, 86%)
CMYKcmyk(45.7%, 63.9%, 0%, 14.1%)
CIE-LABlab(45.12, 48.97, -66.08)
CIE-LCHlch(45.12, 82.25, 306.54°)
OKLaboklab(54.8% 0.074 -0.189)
OKLCHoklch(54.8% 0.203 291.4)
XYZxyz(23.1863, 14.6276, 68.6058)
Luminance0.1463 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#774FDB #B3DB4F
analogous
#4F6DDB #774FDB #BD4FDB
triadic
#774FDB #DB774F #4FDB77
tetradic
#774FDB #DB4F6D #B3DB4F #4FDBBD
square
#774FDB #DB4F6D #B3DB4F #4FDBBD
split-complementary
#774FDB #DBBD4F #6DDB4F
monochromatic
#3F1E92 #5528C5 #774FDB #9E82E5 #C6B5F0

Accessibility & contrast

On white

5.35
#774FDB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.93
#774FDB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #774FDB
5.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##774FDB#FFFFFF#000000##FFFFFF
##774FDB1.005.353.935.35
#FFFFFF5.351.0021.001.00
#0000003.9321.001.0021.00
##FFFFFF5.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006DDF
Deuteranopia (green-blind)
#0068D8
Tritanopia (blue-blind)
#59708E
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #774fdb;
/* rgb */ color: rgb(119, 79, 219);
/* oklch */ color: oklch(54.8% 0.203 291.4);
Tailwind
colors: {
  custom: {
    50: '#a682e7',
    500: '#774fdb',
    950: '#000000',
  },
}
SCSS
$custom: #774fdb;
$custom-light: #a682e7;
$custom-dark: #000000;
JSON
{
  "hex": "#774fdb",
  "rgb": {
    "r": 119,
    "g": 79,
    "b": 219
  },
  "hsl": {
    "h": 257.143,
    "s": 66.038,
    "l": 58.431
  },
  "oklch": {
    "l": 0.54796,
    "c": 0.203,
    "h": 291.4
  },
  "luminance": 0.14628
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #774FDB

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

Preview Lab → · Contrast checker → · Palette generator →

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