#774BBB#774BBB

#774BBB is a mid, vivid violet. Relative luminance 0.125; OKLCH L 51.9% C 0.170 H 298.4°. Best body text is #FFFFFF at 5.99:1 contrast (WCAG AA passes).

Color values

HEX#774BBB
RGBrgb(119, 75, 187)
HSLhsl(264, 45%, 51%)
HSVhsv(264, 60%, 73%)
CMYKcmyk(36.4%, 59.9%, 0%, 26.7%)
CIE-LABlab(42.06, 42.54, -52.55)
CIE-LCHlch(42.06, 67.61, 309.00°)
OKLaboklab(51.87% 0.0807 -0.1492)
OKLCHoklch(51.87% 0.17 298.4)
XYZxyz(19.0912, 12.5417, 48.4190)
Luminance0.1254 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#774BBB #8FBB4B
analogous
#4B57BB #774BBB #AF4BBB
triadic
#774BBB #BB774B #4BBB77
tetradic
#774BBB #BB4B57 #8FBB4B #4BBBAF
square
#774BBB #BB4B57 #8FBB4B #4BBBAF
split-complementary
#774BBB #BBAF4B #57BB4B
monochromatic
#3F2665 #5B3792 #774BBB #9977CC #BAA4DD

Accessibility & contrast

On white

5.99
#774BBB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.51
#774BBB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #774BBB
5.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##774BBB#FFFFFF#000000##FFFFFF
##774BBB1.005.993.515.99
#FFFFFF5.991.0021.001.00
#0000003.5121.001.0021.00
##FFFFFF5.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0163BF
Deuteranopia (green-blind)
#2162B9
Tritanopia (blue-blind)
#68637C
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #774bbb;
/* rgb */ color: rgb(119, 75, 187);
/* oklch */ color: oklch(51.9% 0.170 298.4);
Tailwind
colors: {
  custom: {
    50: '#a37fd0',
    500: '#774bbb',
    950: '#000000',
  },
}
SCSS
$custom: #774bbb;
$custom-light: #a37fd0;
$custom-dark: #000000;
JSON
{
  "hex": "#774bbb",
  "rgb": {
    "r": 119,
    "g": 75,
    "b": 187
  },
  "hsl": {
    "h": 263.571,
    "s": 45.161,
    "l": 51.373
  },
  "oklch": {
    "l": 0.51867,
    "c": 0.16963,
    "h": 298.4
  },
  "luminance": 0.12542
}

Semantic roles & 50–950 ramp

primary
#774BBB
secondary
#B6CA98
accent
#D553A2
background
#FAF7FC
surface
#F4EEF9
border
#CEC9D2
text
#0F0A14
muted
#7F7C82

Preview Lab

Preview with #774BBB

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

Preview Lab → · Contrast checker → · Palette generator →

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