#774DAF#774DAF

#774DAF is a mid, vivid violet. Relative luminance 0.123; OKLCH L 51.4% C 0.152 H 301.0°. Best body text is #FFFFFF at 6.06:1 contrast (WCAG AA passes).

Color values

HEX#774DAF
RGBrgb(119, 77, 175)
HSLhsl(266, 39%, 49%)
HSVhsv(266, 56%, 69%)
CMYKcmyk(32%, 56%, 0%, 31.4%)
CIE-LABlab(41.73, 38.29, -46.03)
CIE-LCHlch(41.73, 59.88, 309.75°)
OKLaboklab(51.38% 0.0781 -0.1301)
OKLCHoklch(51.38% 0.152 301)
XYZxyz(17.9977, 12.3248, 41.9799)
Luminance0.1232 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#774DAF #85AF4D
analogous
#4D54AF #774DAF #A84DAF
triadic
#774DAF #AF774D #4DAF77
tetradic
#774DAF #AF4D54 #85AF4D #4DAFA8
square
#774DAF #AF4D54 #85AF4D #4DAFA8
split-complementary
#774DAF #AFA84D #54AF4D
monochromatic
#3D285A #5A3A85 #774DAF #9776C3 #B7A1D6

Accessibility & contrast

On white

6.06
#774DAF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.47
#774DAF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #774DAF
6.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##774DAF#FFFFFF#000000##FFFFFF
##774DAF1.006.063.476.06
#FFFFFF6.061.0021.001.00
#0000003.4721.001.0021.00
##FFFFFF6.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2562B2
Deuteranopia (green-blind)
#3462AD
Tritanopia (blue-blind)
#6C6076
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #774daf;
/* rgb */ color: rgb(119, 77, 175);
/* oklch */ color: oklch(51.4% 0.152 301.0);
Tailwind
colors: {
  custom: {
    50: '#a180c7',
    500: '#774daf',
    950: '#000000',
  },
}
SCSS
$custom: #774daf;
$custom-light: #a180c7;
$custom-dark: #000000;
JSON
{
  "hex": "#774daf",
  "rgb": {
    "r": 119,
    "g": 77,
    "b": 175
  },
  "hsl": {
    "h": 265.714,
    "s": 38.889,
    "l": 49.412
  },
  "oklch": {
    "l": 0.51375,
    "c": 0.15177,
    "h": 301
  },
  "luminance": 0.12325
}

Semantic roles & 50–950 ramp

primary
#774DAF
secondary
#AFC395
accent
#CF599C
background
#FAF7FC
surface
#F4EEF8
border
#CEC9D1
text
#0F0A13
muted
#7F7C82

Preview Lab

Preview with #774DAF

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

Preview Lab → · Contrast checker → · Palette generator →

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