#774CEC#774CEC

#774CEC is a mid, highly saturated violet. Relative luminance 0.151; OKLCH L 55.7% C 0.227 H 289.2°. Best body text is #FFFFFF at 5.21:1 contrast (WCAG AA passes).

Color values

HEX#774CEC
RGBrgb(119, 76, 236)
HSLhsl(256, 81%, 61%)
HSVhsv(256, 68%, 93%)
CMYKcmyk(49.6%, 67.8%, 0%, 7.5%)
CIE-LABlab(45.83, 55.23, -74.56)
CIE-LCHlch(45.83, 92.79, 306.53°)
OKLaboklab(55.71% 0.0747 -0.2139)
OKLCHoklch(55.71% 0.227 289.2)
XYZxyz(25.3281, 15.1459, 80.9295)
Luminance0.1515 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#774CEC #C1EC4C
analogous
#4C71EC #774CEC #C74CEC
triadic
#774CEC #EC774C #4CEC77
tetradic
#774CEC #EC4C71 #C1EC4C #4CECC7
square
#774CEC #EC4C71 #C1EC4C #4CECC7
split-complementary
#774CEC #ECC74C #71EC4C
monochromatic
#3B12AB #4F18E3 #774CEC #A183F2 #CBBBF8

Accessibility & contrast

On white

5.21
#774CEC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.03
#774CEC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #774CEC
5.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##774CEC#FFFFFF#000000##FFFFFF
##774CEC1.005.214.035.21
#FFFFFF5.211.0021.001.00
#0000004.0321.001.0021.00
##FFFFFF5.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0070F1
Deuteranopia (green-blind)
#0069E9
Tritanopia (blue-blind)
#4E7596
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #774cec;
/* rgb */ color: rgb(119, 76, 236);
/* oklch */ color: oklch(55.7% 0.227 289.2);
Tailwind
colors: {
  custom: {
    50: '#a881f3',
    500: '#774cec',
    950: '#000000',
  },
}
SCSS
$custom: #774cec;
$custom-light: #a881f3;
$custom-dark: #000000;
JSON
{
  "hex": "#774cec",
  "rgb": {
    "r": 119,
    "g": 76,
    "b": 236
  },
  "hsl": {
    "h": 256.125,
    "s": 80.808,
    "l": 61.176
  },
  "oklch": {
    "l": 0.55714,
    "c": 0.22659,
    "h": 289.2
  },
  "luminance": 0.15147
}

Semantic roles & 50–950 ramp

primary
#774CEC
secondary
#D8E8AC
accent
#DD08A4
background
#FBF8FF
surface
#F6EFFE
border
#D0CAD6
text
#110A17
muted
#807C85

Preview Lab

Preview with #774CEC

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

Preview Lab → · Contrast checker → · Palette generator →

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