#774DC2#774DC2

#774DC2 is a mid, vivid violet. Relative luminance 0.131; OKLCH L 52.7% C 0.175 H 296.4°. Best body text is #FFFFFF at 5.79:1 contrast (WCAG AA passes).

Color values

HEX#774DC2
RGBrgb(119, 77, 194)
HSLhsl(262, 49%, 53%)
HSVhsv(262, 60%, 76%)
CMYKcmyk(38.7%, 60.3%, 0%, 23.9%)
CIE-LABlab(42.95, 43.28, -55.20)
CIE-LCHlch(42.95, 70.15, 308.10°)
OKLaboklab(52.66% 0.078 -0.157)
OKLCHoklch(52.66% 0.175 296.4)
XYZxyz(19.9967, 13.1244, 52.5082)
Luminance0.1313 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#774DC2 #98C24D
analogous
#4D5EC2 #774DC2 #B14DC2
triadic
#774DC2 #C2774D #4DC277
tetradic
#774DC2 #C24D5E #98C24D #4DC2B1
square
#774DC2 #C24D5E #98C24D #4DC2B1
split-complementary
#774DC2 #C2B14D #5EC24D
monochromatic
#40266F #5A369C #774DC2 #9A7BD2 #BDA8E1

Accessibility & contrast

On white

5.79
#774DC2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.63
#774DC2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #774DC2
5.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##774DC2#FFFFFF#000000##FFFFFF
##774DC21.005.793.635.79
#FFFFFF5.791.0021.001.00
#0000003.6321.001.0021.00
##FFFFFF5.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0066C6
Deuteranopia (green-blind)
#1764BF
Tritanopia (blue-blind)
#656680
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #774dc2;
/* rgb */ color: rgb(119, 77, 194);
/* oklch */ color: oklch(52.7% 0.175 296.4);
Tailwind
colors: {
  custom: {
    50: '#a381d5',
    500: '#774dc2',
    950: '#000000',
  },
}
SCSS
$custom: #774dc2;
$custom-light: #a381d5;
$custom-dark: #000000;
JSON
{
  "hex": "#774dc2",
  "rgb": {
    "r": 119,
    "g": 77,
    "b": 194
  },
  "hsl": {
    "h": 261.538,
    "s": 48.954,
    "l": 53.137
  },
  "oklch": {
    "l": 0.52663,
    "c": 0.17535,
    "h": 296.4
  },
  "luminance": 0.13125
}

Semantic roles & 50–950 ramp

primary
#774DC2
secondary
#BDCF9C
accent
#D94FA7
background
#FAF7FD
surface
#F4EEFA
border
#CEC9D3
text
#100A14
muted
#7F7C83

Preview Lab

Preview with #774DC2

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

Preview Lab → · Contrast checker → · Palette generator →

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