#771784#771784

#771784 is a dark, vivid purple. Relative luminance 0.062; OKLCH L 42.0% C 0.179 H 322.5°. Best body text is #FFFFFF at 9.37:1 contrast (WCAG AA passes).

Color values

HEX#771784
RGBrgb(119, 23, 132)
HSLhsl(293, 70%, 30%)
HSVhsv(293, 83%, 52%)
CMYKcmyk(9.8%, 82.6%, 0%, 48.2%)
CIE-LABlab(29.91, 53.47, -38.88)
CIE-LCHlch(29.91, 66.11, 323.98°)
OKLaboklab(41.96% 0.1418 -0.1088)
OKLCHoklch(41.96% 0.179 322.5)
XYZxyz(12.0786, 6.2014, 22.3861)
Luminance0.0620 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#771784 #248417
analogous
#401784 #771784 #84175A
triadic
#771784 #847717 #178477
tetradic
#771784 #844017 #248417 #175A84
square
#771784 #844017 #248417 #175A84
split-complementary
#771784 #5A8417 #178440
monochromatic
#19051C #480E50 #771784 #A620B8 #C939DC

Accessibility & contrast

On white

9.37
#771784 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.24
#771784 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #771784
9.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##771784#FFFFFF#000000##FFFFFF
##7717841.009.372.249.37
#FFFFFF9.371.0021.001.00
#0000002.2421.001.0021.00
##FFFFFF9.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004087
Deuteranopia (green-blind)
#294A82
Tritanopia (blue-blind)
#792E4E
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #771784;
/* rgb */ color: rgb(119, 23, 132);
/* oklch */ color: oklch(42.0% 0.179 322.5);
Tailwind
colors: {
  custom: {
    50: '#a262a8',
    500: '#771784',
    950: '#000000',
  },
}
SCSS
$custom: #771784;
$custom-light: #a262a8;
$custom-dark: #000000;
JSON
{
  "hex": "#771784",
  "rgb": {
    "r": 119,
    "g": 23,
    "b": 132
  },
  "hsl": {
    "h": 292.844,
    "s": 70.323,
    "l": 30.392
  },
  "oklch": {
    "l": 0.41956,
    "c": 0.17874,
    "h": 322.5
  },
  "luminance": 0.06201
}

Semantic roles & 50–950 ramp

primary
#771784
secondary
#4DB83F
accent
#ED3B50
background
#FAF6FA
surface
#F4EBF4
border
#CEC6CE
text
#0F0610
muted
#7F7A7F

Preview Lab

Preview with #771784

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

Preview Lab → · Contrast checker → · Palette generator →

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