#774DB7#774DB7

#774DB7 is a mid, vivid violet. Relative luminance 0.126; OKLCH L 51.9% C 0.162 H 298.9°. Best body text is #FFFFFF at 5.95:1 contrast (WCAG AA passes).

Color values

HEX#774DB7
RGBrgb(119, 77, 183)
HSLhsl(264, 42%, 51%)
HSVhsv(264, 58%, 72%)
CMYKcmyk(35%, 57.9%, 0%, 28.2%)
CIE-LABlab(42.23, 40.37, -49.94)
CIE-LCHlch(42.23, 64.22, 308.95°)
OKLaboklab(51.9% 0.0783 -0.1416)
OKLCHoklch(51.9% 0.162 298.9)
XYZxyz(18.8068, 12.6484, 46.2411)
Luminance0.1265 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#774DB7 #8DB74D
analogous
#4D58B7 #774DB7 #AC4DB7
triadic
#774DB7 #B7774D #4DB777
tetradic
#774DB7 #B74D58 #8DB74D #4DB7AC
square
#774DB7 #B74D58 #8DB74D #4DB7AC
split-complementary
#774DB7 #B7AC4D #58B74D
monochromatic
#3F2862 #5B398E #774DB7 #9879C9 #BAA4DA

Accessibility & contrast

On white

5.95
#774DB7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.53
#774DB7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #774DB7
5.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##774DB7#FFFFFF#000000##FFFFFF
##774DB71.005.953.535.95
#FFFFFF5.951.0021.001.00
#0000003.5321.001.0021.00
##FFFFFF5.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1864BA
Deuteranopia (green-blind)
#2B63B5
Tritanopia (blue-blind)
#69637A
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #774db7;
/* rgb */ color: rgb(119, 77, 183);
/* oklch */ color: oklch(51.9% 0.162 298.9);
Tailwind
colors: {
  custom: {
    50: '#a280cd',
    500: '#774db7',
    950: '#000000',
  },
}
SCSS
$custom: #774db7;
$custom-light: #a280cd;
$custom-dark: #000000;
JSON
{
  "hex": "#774db7",
  "rgb": {
    "r": 119,
    "g": 77,
    "b": 183
  },
  "hsl": {
    "h": 263.774,
    "s": 42.4,
    "l": 50.98
  },
  "oklch": {
    "l": 0.51904,
    "c": 0.16175,
    "h": 298.9
  },
  "luminance": 0.12649
}

Semantic roles & 50–950 ramp

primary
#774DB7
secondary
#B5C798
accent
#D256A1
background
#FAF7FC
surface
#F4EEF9
border
#CEC9D2
text
#0F0A13
muted
#7F7C82

Preview Lab

Preview with #774DB7

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

Preview Lab → · Contrast checker → · Palette generator →

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