#774BB2#774BB2

#774BB2 is a mid, vivid violet. Relative luminance 0.122; OKLCH L 51.3% C 0.159 H 300.6°. Best body text is #FFFFFF at 6.12:1 contrast (WCAG AA passes).

Color values

HEX#774BB2
RGBrgb(119, 75, 178)
HSLhsl(266, 41%, 50%)
HSVhsv(266, 58%, 70%)
CMYKcmyk(33.1%, 57.9%, 0%, 30.2%)
CIE-LABlab(41.48, 40.20, -48.20)
CIE-LCHlch(41.48, 62.76, 309.83°)
OKLaboklab(51.26% 0.0808 -0.1364)
OKLCHoklch(51.26% 0.159 300.6)
XYZxyz(18.1578, 12.1683, 43.5030)
Luminance0.1217 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#774BB2 #86B24B
analogous
#4B53B2 #774BB2 #AA4BB2
triadic
#774BB2 #B2774B #4BB277
tetradic
#774BB2 #B24B53 #86B24B #4BB2AA
square
#774BB2 #B24B53 #86B24B #4BB2AA
split-complementary
#774BB2 #B2AA4B #53B24B
monochromatic
#3D275C #5A3987 #774BB2 #9775C5 #B8A0D7

Accessibility & contrast

On white

6.12
#774BB2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.43
#774BB2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #774BB2
6.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##774BB2#FFFFFF#000000##FFFFFF
##774BB21.006.123.436.12
#FFFFFF6.121.0021.001.00
#0000003.4321.001.0021.00
##FFFFFF6.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1B61B5
Deuteranopia (green-blind)
#2E61B0
Tritanopia (blue-blind)
#6B6077
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #774bb2;
/* rgb */ color: rgb(119, 75, 178);
/* oklch */ color: oklch(51.3% 0.159 300.6);
Tailwind
colors: {
  custom: {
    50: '#a27fca',
    500: '#774bb2',
    950: '#000000',
  },
}
SCSS
$custom: #774bb2;
$custom-light: #a27fca;
$custom-dark: #000000;
JSON
{
  "hex": "#774bb2",
  "rgb": {
    "r": 119,
    "g": 75,
    "b": 178
  },
  "hsl": {
    "h": 265.631,
    "s": 40.711,
    "l": 49.608
  },
  "oklch": {
    "l": 0.51255,
    "c": 0.15856,
    "h": 300.6
  },
  "luminance": 0.12168
}

Semantic roles & 50–950 ramp

primary
#774BB2
secondary
#B0C495
accent
#D1579D
background
#FAF7FC
surface
#F4EEF8
border
#CEC9D1
text
#0F0A13
muted
#7F7C82

Preview Lab

Preview with #774BB2

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

Preview Lab → · Contrast checker → · Palette generator →

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