#774EBA#774EBA

#774EBA is a mid, vivid violet. Relative luminance 0.129; OKLCH L 52.3% C 0.164 H 298.0°. Best body text is #FFFFFF at 5.86:1 contrast (WCAG AA passes).

Color values

HEX#774EBA
RGBrgb(119, 78, 186)
HSLhsl(263, 44%, 52%)
HSVhsv(263, 58%, 73%)
CMYKcmyk(36%, 58.1%, 0%, 27.1%)
CIE-LABlab(42.64, 40.60, -51.04)
CIE-LCHlch(42.64, 65.22, 308.50°)
OKLaboklab(52.26% 0.077 -0.1448)
OKLCHoklch(52.26% 0.164 298)
XYZxyz(19.1929, 12.9156, 47.9266)
Luminance0.1292 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#774EBA #91BA4E
analogous
#4E5BBA #774EBA #AD4EBA
triadic
#774EBA #BA774E #4EBA77
tetradic
#774EBA #BA4E5B #91BA4E #4EBAAD
square
#774EBA #BA4E5B #91BA4E #4EBAAD
split-complementary
#774EBA #BAAD4E #5BBA4E
monochromatic
#3F2866 #5B3992 #774EBA #997ACB #BBA6DC

Accessibility & contrast

On white

5.86
#774EBA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.58
#774EBA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #774EBA
5.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##774EBA#FFFFFF#000000##FFFFFF
##774EBA1.005.863.585.86
#FFFFFF5.861.0021.001.00
#0000003.5821.001.0021.00
##FFFFFF5.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1565BE
Deuteranopia (green-blind)
#2864B8
Tritanopia (blue-blind)
#68657C
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #774eba;
/* rgb */ color: rgb(119, 78, 186);
/* oklch */ color: oklch(52.3% 0.164 298.0);
Tailwind
colors: {
  custom: {
    50: '#a281cf',
    500: '#774eba',
    950: '#000000',
  },
}
SCSS
$custom: #774eba;
$custom-light: #a281cf;
$custom-dark: #000000;
JSON
{
  "hex": "#774eba",
  "rgb": {
    "r": 119,
    "g": 78,
    "b": 186
  },
  "hsl": {
    "h": 262.778,
    "s": 43.902,
    "l": 51.765
  },
  "oklch": {
    "l": 0.52265,
    "c": 0.164,
    "h": 298
  },
  "luminance": 0.12916
}

Semantic roles & 50–950 ramp

primary
#774EBA
secondary
#B8CA9A
accent
#D454A3
background
#FAF8FC
surface
#F4EFF9
border
#CECAD2
text
#0F0A14
muted
#7F7C82

Preview Lab

Preview with #774EBA

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

Preview Lab → · Contrast checker → · Palette generator →

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