#774BAF#774BAF

#774BAF is a mid, vivid violet. Relative luminance 0.120; OKLCH L 51.1% C 0.155 H 301.4°. Best body text is #FFFFFF at 6.16:1 contrast (WCAG AA passes).

Color values

HEX#774BAF
RGBrgb(119, 75, 175)
HSLhsl(266, 40%, 49%)
HSVhsv(266, 57%, 69%)
CMYKcmyk(32%, 57.1%, 0%, 31.4%)
CIE-LABlab(41.29, 39.43, -46.73)
CIE-LCHlch(41.29, 61.14, 310.16°)
OKLaboklab(51.06% 0.0807 -0.1321)
OKLCHoklch(51.06% 0.155 301.4)
XYZxyz(17.8599, 12.0492, 41.9339)
Luminance0.1205 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#774BAF #83AF4B
analogous
#4B51AF #774BAF #A94BAF
triadic
#774BAF #AF774B #4BAF77
tetradic
#774BAF #AF4B51 #83AF4B #4BAFA9
square
#774BAF #AF4B51 #83AF4B #4BAFA9
split-complementary
#774BAF #AFA94B #51AF4B
monochromatic
#3D2659 #5A3984 #774BAF #9774C3 #B79FD6

Accessibility & contrast

On white

6.16
#774BAF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.41
#774BAF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #774BAF
6.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##774BAF#FFFFFF#000000##FFFFFF
##774BAF1.006.163.416.16
#FFFFFF6.161.0021.001.00
#0000003.4121.001.0021.00
##FFFFFF6.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2061B2
Deuteranopia (green-blind)
#3161AD
Tritanopia (blue-blind)
#6C5F76
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #774baf;
/* rgb */ color: rgb(119, 75, 175);
/* oklch */ color: oklch(51.1% 0.155 301.4);
Tailwind
colors: {
  custom: {
    50: '#a27fc7',
    500: '#774baf',
    950: '#000000',
  },
}
SCSS
$custom: #774baf;
$custom-light: #a27fc7;
$custom-dark: #000000;
JSON
{
  "hex": "#774baf",
  "rgb": {
    "r": 119,
    "g": 75,
    "b": 175
  },
  "hsl": {
    "h": 266.4,
    "s": 40,
    "l": 49.02
  },
  "oklch": {
    "l": 0.51056,
    "c": 0.15485,
    "h": 301.4
  },
  "luminance": 0.12049
}

Semantic roles & 50–950 ramp

primary
#774BAF
secondary
#AEC293
accent
#D0589B
background
#FAF7FC
surface
#F4EEF8
border
#CEC9D1
text
#0F0A13
muted
#7F7C82

Preview Lab

Preview with #774BAF

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

Preview Lab → · Contrast checker → · Palette generator →

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