#774CB7#774CB7

#774CB7 is a mid, vivid violet. Relative luminance 0.125; OKLCH L 51.7% C 0.163 H 299.1°. Best body text is #FFFFFF at 6.00:1 contrast (WCAG AA passes).

Color values

HEX#774CB7
RGBrgb(119, 76, 183)
HSLhsl(264, 43%, 51%)
HSVhsv(264, 58%, 72%)
CMYKcmyk(35%, 58.5%, 0%, 28.2%)
CIE-LABlab(42.01, 40.94, -50.28)
CIE-LCHlch(42.01, 64.84, 309.15°)
OKLaboklab(51.75% 0.0795 -0.1426)
OKLCHoklch(51.75% 0.163 299.1)
XYZxyz(18.7373, 12.5095, 46.2180)
Luminance0.1251 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#774CB7 #8CB74C
analogous
#4C56B7 #774CB7 #AC4CB7
triadic
#774CB7 #B7774C #4CB777
tetradic
#774CB7 #B74C56 #8CB74C #4CB7AC
square
#774CB7 #B74C56 #8CB74C #4CB7AC
split-complementary
#774CB7 #B7AC4C #56B74C
monochromatic
#3F2761 #5B398D #774CB7 #9878C9 #B9A3DA

Accessibility & contrast

On white

6.00
#774CB7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.50
#774CB7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #774CB7
6.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##774CB7#FFFFFF#000000##FFFFFF
##774CB71.006.003.506.00
#FFFFFF6.001.0021.001.00
#0000003.5021.001.0021.00
##FFFFFF6.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1463BA
Deuteranopia (green-blind)
#2962B5
Tritanopia (blue-blind)
#69627A
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #774cb7;
/* rgb */ color: rgb(119, 76, 183);
/* oklch */ color: oklch(51.7% 0.163 299.1);
Tailwind
colors: {
  custom: {
    50: '#a280cd',
    500: '#774cb7',
    950: '#000000',
  },
}
SCSS
$custom: #774cb7;
$custom-light: #a280cd;
$custom-dark: #000000;
JSON
{
  "hex": "#774cb7",
  "rgb": {
    "r": 119,
    "g": 76,
    "b": 183
  },
  "hsl": {
    "h": 264.112,
    "s": 42.629,
    "l": 50.784
  },
  "oklch": {
    "l": 0.51748,
    "c": 0.16324,
    "h": 299.1
  },
  "luminance": 0.1251
}

Semantic roles & 50–950 ramp

primary
#774CB7
secondary
#B4C798
accent
#D255A0
background
#FAF7FC
surface
#F4EEF9
border
#CEC9D2
text
#0F0A13
muted
#7F7C82

Preview Lab

Preview with #774CB7

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

Preview Lab → · Contrast checker → · Palette generator →

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