#774FF2#774FF2

#774FF2 is a mid, highly saturated violet. Relative luminance 0.159; OKLCH L 56.6% C 0.230 H 288.0°. Best body text is #FFFFFF at 5.02:1 contrast (WCAG AA passes).

Color values

HEX#774FF2
RGBrgb(119, 79, 242)
HSLhsl(255, 86%, 63%)
HSVhsv(255, 67%, 95%)
CMYKcmyk(50.8%, 67.4%, 0%, 5.1%)
CIE-LABlab(46.87, 55.33, -76.23)
CIE-LCHlch(46.87, 94.20, 305.97°)
OKLaboklab(56.61% 0.0711 -0.2188)
OKLCHoklch(56.61% 0.23 288)
XYZxyz(26.4260, 15.9235, 85.6683)
Luminance0.1593 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#774FF2 #CAF24F
analogous
#4F78F2 #774FF2 #C84FF2
triadic
#774FF2 #F2774F #4FF277
tetradic
#774FF2 #F24F78 #CAF24F #4FF2C8
square
#774FF2 #F24F78 #CAF24F #4FF2C8
split-complementary
#774FF2 #F2C84F #78F24F
monochromatic
#380EB9 #4B16EE #774FF2 #A388F6 #CFC1FA

Accessibility & contrast

On white

5.02
#774FF2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.18
#774FF2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #774FF2
5.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##774FF2#FFFFFF#000000##FFFFFF
##774FF21.005.024.185.02
#FFFFFF5.021.0021.001.00
#0000004.1821.001.0021.00
##FFFFFF5.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0073F7
Deuteranopia (green-blind)
#006BEF
Tritanopia (blue-blind)
#49789A
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #774ff2;
/* rgb */ color: rgb(119, 79, 242);
/* oklch */ color: oklch(56.6% 0.230 288.0);
Tailwind
colors: {
  custom: {
    50: '#a883f7',
    500: '#774ff2',
    950: '#000000',
  },
}
SCSS
$custom: #774ff2;
$custom-light: #a883f7;
$custom-dark: #000000;
JSON
{
  "hex": "#774ff2",
  "rgb": {
    "r": 119,
    "g": 79,
    "b": 242
  },
  "hsl": {
    "h": 254.724,
    "s": 86.243,
    "l": 62.941
  },
  "oklch": {
    "l": 0.56606,
    "c": 0.23009,
    "h": 288
  },
  "luminance": 0.15925
}

Semantic roles & 50–950 ramp

primary
#774FF2
secondary
#DDECB1
accent
#E303AC
background
#FBF8FF
surface
#F6EFFF
border
#D0CAD7
text
#110B17
muted
#807C85

Preview Lab

Preview with #774FF2

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

Preview Lab → · Contrast checker → · Palette generator →

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