#774BBA#774BBA

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

Color values

HEX#774BBA
RGBrgb(119, 75, 186)
HSLhsl(264, 45%, 51%)
HSVhsv(264, 60%, 73%)
CMYKcmyk(36%, 59.7%, 0%, 27.1%)
CIE-LABlab(42.00, 42.28, -52.07)
CIE-LCHlch(42.00, 67.07, 309.08°)
OKLaboklab(51.8% 0.0807 -0.1478)
OKLCHoklch(51.8% 0.168 298.6)
XYZxyz(18.9846, 12.4990, 47.8572)
Luminance0.1250 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#774BBA #8EBA4B
analogous
#4B56BA #774BBA #AE4BBA
triadic
#774BBA #BA774B #4BBA77
tetradic
#774BBA #BA4B56 #8EBA4B #4BBAAE
square
#774BBA #BA4B56 #8EBA4B #4BBAAE
split-complementary
#774BBA #BAAE4B #56BA4B
monochromatic
#3F2664 #5B3790 #774BBA #9877CB #BAA3DC

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##774BBA#FFFFFF#000000##FFFFFF
##774BBA1.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)
#0563BE
Deuteranopia (green-blind)
#2262B8
Tritanopia (blue-blind)
#68637B
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #774bba;
/* rgb */ color: rgb(119, 75, 186);
/* oklch */ color: oklch(51.8% 0.168 298.6);
Tailwind
colors: {
  custom: {
    50: '#a27fcf',
    500: '#774bba',
    950: '#000000',
  },
}
SCSS
$custom: #774bba;
$custom-light: #a27fcf;
$custom-dark: #000000;
JSON
{
  "hex": "#774bba",
  "rgb": {
    "r": 119,
    "g": 75,
    "b": 186
  },
  "hsl": {
    "h": 263.784,
    "s": 44.578,
    "l": 51.176
  },
  "oklch": {
    "l": 0.51798,
    "c": 0.1684,
    "h": 298.6
  },
  "luminance": 0.12499
}

Semantic roles & 50–950 ramp

primary
#774BBA
secondary
#B5C998
accent
#D454A1
background
#FAF7FC
surface
#F4EEF9
border
#CEC9D2
text
#0F0A14
muted
#7F7C82

Preview Lab

Preview with #774BBA

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

Preview Lab → · Contrast checker → · Palette generator →

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