#774ABA#774ABA

#774ABA is a mid, vivid violet. Relative luminance 0.124; OKLCH L 51.6% C 0.170 H 298.8°. Best body text is #FFFFFF at 6.05:1 contrast (WCAG AA passes).

Color values

HEX#774ABA
RGBrgb(119, 74, 186)
HSLhsl(264, 45%, 51%)
HSVhsv(264, 60%, 73%)
CMYKcmyk(36%, 60.2%, 0%, 27.1%)
CIE-LABlab(41.79, 42.84, -52.40)
CIE-LCHlch(41.79, 67.68, 309.26°)
OKLaboklab(51.65% 0.0819 -0.1488)
OKLCHoklch(51.65% 0.17 298.8)
XYZxyz(18.9173, 12.3645, 47.8348)
Luminance0.1236 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#774ABA #8DBA4A
analogous
#4A55BA #774ABA #AF4ABA
triadic
#774ABA #BA774A #4ABA77
tetradic
#774ABA #BA4A55 #8DBA4A #4ABAAF
square
#774ABA #BA4A55 #8DBA4A #4ABAAF
split-complementary
#774ABA #BAAF4A #55BA4A
monochromatic
#3F2664 #5B3790 #774ABA #9876CB #BAA3DC

Accessibility & contrast

On white

6.05
#774ABA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #774ABA
6.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##774ABA#FFFFFF#000000##FFFFFF
##774ABA1.006.053.476.05
#FFFFFF6.051.0021.001.00
#0000003.4721.001.0021.00
##FFFFFF6.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0063BE
Deuteranopia (green-blind)
#2062B8
Tritanopia (blue-blind)
#68627B
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #774aba;
/* rgb */ color: rgb(119, 74, 186);
/* oklch */ color: oklch(51.6% 0.170 298.8);
Tailwind
colors: {
  custom: {
    50: '#a37ecf',
    500: '#774aba',
    950: '#000000',
  },
}
SCSS
$custom: #774aba;
$custom-light: #a37ecf;
$custom-dark: #000000;
JSON
{
  "hex": "#774aba",
  "rgb": {
    "r": 119,
    "g": 74,
    "b": 186
  },
  "hsl": {
    "h": 264.107,
    "s": 44.8,
    "l": 50.98
  },
  "oklch": {
    "l": 0.51646,
    "c": 0.16985,
    "h": 298.8
  },
  "luminance": 0.12365
}

Semantic roles & 50–950 ramp

primary
#774ABA
secondary
#B5C997
accent
#D553A1
background
#FAF7FC
surface
#F4EEF9
border
#CEC9D2
text
#0F0A14
muted
#7F7C82

Preview Lab

Preview with #774ABA

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

Preview Lab → · Contrast checker → · Palette generator →

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