#774FB2#774FB2

#774FB2 is a mid, vivid violet. Relative luminance 0.127; OKLCH L 51.9% C 0.152 H 299.7°. Best body text is #FFFFFF at 5.92:1 contrast (WCAG AA passes).

Color values

HEX#774FB2
RGBrgb(119, 79, 178)
HSLhsl(264, 39%, 50%)
HSVhsv(264, 56%, 70%)
CMYKcmyk(33.1%, 55.6%, 0%, 30.2%)
CIE-LABlab(42.35, 37.93, -46.81)
CIE-LCHlch(42.35, 60.24, 309.02°)
OKLaboklab(51.89% 0.0756 -0.1324)
OKLCHoklch(51.89% 0.152 299.7)
XYZxyz(18.4377, 12.7281, 43.5962)
Luminance0.1273 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#774FB2 #8AB24F
analogous
#4F59B2 #774FB2 #A84FB2
triadic
#774FB2 #B2774F #4FB277
tetradic
#774FB2 #B24F59 #8AB24F #4FB2A8
square
#774FB2 #B24F59 #8AB24F #4FB2A8
split-complementary
#774FB2 #B2A84F #59B24F
monochromatic
#3E295E #5B3C88 #774FB2 #987AC5 #B9A4D7

Accessibility & contrast

On white

5.92
#774FB2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.55
#774FB2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #774FB2
5.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##774FB2#FFFFFF#000000##FFFFFF
##774FB21.005.923.555.92
#FFFFFF5.921.0021.001.00
#0000003.5521.001.0021.00
##FFFFFF5.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2664B5
Deuteranopia (green-blind)
#3363B0
Tritanopia (blue-blind)
#6B6379
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #774fb2;
/* rgb */ color: rgb(119, 79, 178);
/* oklch */ color: oklch(51.9% 0.152 299.7);
Tailwind
colors: {
  custom: {
    50: '#a282c9',
    500: '#774fb2',
    950: '#000000',
  },
}
SCSS
$custom: #774fb2;
$custom-light: #a282c9;
$custom-dark: #000000;
JSON
{
  "hex": "#774fb2",
  "rgb": {
    "r": 119,
    "g": 79,
    "b": 178
  },
  "hsl": {
    "h": 264.242,
    "s": 39.13,
    "l": 50.392
  },
  "oklch": {
    "l": 0.51894,
    "c": 0.15245,
    "h": 299.7
  },
  "luminance": 0.12728
}

Semantic roles & 50–950 ramp

primary
#774FB2
secondary
#B3C498
accent
#CF599F
background
#FAF8FC
surface
#F4EFF8
border
#CECAD1
text
#0F0A13
muted
#7F7C82

Preview Lab

Preview with #774FB2

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

Preview Lab → · Contrast checker → · Palette generator →

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