#774FAF#774FAF

#774FAF is a mid, vivid violet. Relative luminance 0.126; OKLCH L 51.7% C 0.149 H 300.5°. Best body text is #FFFFFF at 5.96:1 contrast (WCAG AA passes).

Color values

HEX#774FAF
RGBrgb(119, 79, 175)
HSLhsl(265, 38%, 50%)
HSVhsv(265, 55%, 69%)
CMYKcmyk(32%, 54.9%, 0%, 31.4%)
CIE-LABlab(42.17, 37.15, -45.33)
CIE-LCHlch(42.17, 58.61, 309.34°)
OKLaboklab(51.7% 0.0755 -0.128)
OKLCHoklch(51.7% 0.149 300.5)
XYZxyz(18.1398, 12.6089, 42.0272)
Luminance0.1261 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#774FAF #87AF4F
analogous
#4F57AF #774FAF #A74FAF
triadic
#774FAF #AF774F #4FAF77
tetradic
#774FAF #AF4F57 #87AF4F #4FAFA7
square
#774FAF #AF4F57 #87AF4F #4FAFA7
split-complementary
#774FAF #AFA74F #57AF4F
monochromatic
#3E295B #5A3C85 #774FAF #9779C2 #B8A3D5

Accessibility & contrast

On white

5.96
#774FAF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.52
#774FAF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #774FAF
5.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##774FAF#FFFFFF#000000##FFFFFF
##774FAF1.005.963.525.96
#FFFFFF5.961.0021.001.00
#0000003.5221.001.0021.00
##FFFFFF5.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2963B2
Deuteranopia (green-blind)
#3663AD
Tritanopia (blue-blind)
#6C6277
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #774faf;
/* rgb */ color: rgb(119, 79, 175);
/* oklch */ color: oklch(51.7% 0.149 300.5);
Tailwind
colors: {
  custom: {
    50: '#a182c7',
    500: '#774faf',
    950: '#000000',
  },
}
SCSS
$custom: #774faf;
$custom-light: #a182c7;
$custom-dark: #000000;
JSON
{
  "hex": "#774faf",
  "rgb": {
    "r": 119,
    "g": 79,
    "b": 175
  },
  "hsl": {
    "h": 265,
    "s": 37.795,
    "l": 49.804
  },
  "oklch": {
    "l": 0.517,
    "c": 0.14864,
    "h": 300.5
  },
  "luminance": 0.12609
}

Semantic roles & 50–950 ramp

primary
#774FAF
secondary
#B1C397
accent
#CE5A9E
background
#FAF8FC
surface
#F4EFF8
border
#CECAD1
text
#0F0A13
muted
#7F7C82

Preview Lab

Preview with #774FAF

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

Preview Lab → · Contrast checker → · Palette generator →

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