#774098#774098

#774098 is a mid, vivid violet. Relative luminance 0.099; OKLCH L 47.9% C 0.145 H 311.0°. Best body text is #FFFFFF at 7.07:1 contrast (WCAG AA passes).

Color values

HEX#774098
RGBrgb(119, 64, 152)
HSLhsl(278, 41%, 42%)
HSVhsv(278, 58%, 60%)
CMYKcmyk(21.7%, 57.9%, 0%, 40.4%)
CIE-LABlab(37.58, 39.89, -38.91)
CIE-LCHlch(37.58, 55.72, 315.71°)
OKLaboklab(47.88% 0.0948 -0.1092)
OKLCHoklch(47.88% 0.145 311)
XYZxyz(15.1076, 9.8560, 30.8062)
Luminance0.0986 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#774098 #619840
analogous
#4B4098 #774098 #98408D
triadic
#774098 #987740 #409877
tetradic
#774098 #984B40 #619840 #408D98
square
#774098 #984B40 #619840 #408D98
split-complementary
#774098 #8D9840 #40984B
monochromatic
#341C42 #552E6D #774098 #965BBA #B286CC

Accessibility & contrast

On white

7.07
#774098 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.97
#774098 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #774098
7.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##774098#FFFFFF#000000##FFFFFF
##7740981.007.072.977.07
#FFFFFF7.071.0021.001.00
#0000002.9721.001.0021.00
##FFFFFF7.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#24569B
Deuteranopia (green-blind)
#395996
Tritanopia (blue-blind)
#735066
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #774098;
/* rgb */ color: rgb(119, 64, 152);
/* oklch */ color: oklch(47.9% 0.145 311.0);
Tailwind
colors: {
  custom: {
    50: '#a177b7',
    500: '#774098',
    950: '#000000',
  },
}
SCSS
$custom: #774098;
$custom-light: #a177b7;
$custom-dark: #000000;
JSON
{
  "hex": "#774098",
  "rgb": {
    "r": 119,
    "g": 64,
    "b": 152
  },
  "hsl": {
    "h": 277.5,
    "s": 40.741,
    "l": 42.353
  },
  "oklch": {
    "l": 0.47883,
    "c": 0.1446,
    "h": 311
  },
  "luminance": 0.09856
}

Semantic roles & 50–950 ramp

primary
#774098
secondary
#93B77D
accent
#D15785
background
#FAF7FB
surface
#F4EDF6
border
#CEC8D0
text
#0F0911
muted
#7F7B80

Preview Lab

Preview with #774098

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

Preview Lab → · Contrast checker → · Palette generator →

#774098 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva