#773AB2#773AB2

#773AB2 is a mid, vivid violet. Relative luminance 0.102; OKLCH L 48.8% C 0.183 H 303.6°. Best body text is #FFFFFF at 6.93:1 contrast (WCAG AA passes).

Color values

HEX#773AB2
RGBrgb(119, 58, 178)
HSLhsl(271, 51%, 46%)
HSVhsv(271, 67%, 70%)
CMYKcmyk(33.1%, 67.4%, 0%, 30.2%)
CIE-LABlab(38.13, 49.24, -53.59)
CIE-LCHlch(38.13, 72.78, 312.57°)
OKLaboklab(48.82% 0.1012 -0.1522)
OKLCHoklch(48.82% 0.183 303.6)
XYZxyz(17.1548, 10.1624, 43.1686)
Luminance0.1016 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#773AB2 #75B23A
analogous
#3B3AB2 #773AB2 #B23AB1
triadic
#773AB2 #B2773A #3AB277
tetradic
#773AB2 #B23B3A #75B23A #3AB1B2
square
#773AB2 #B23B3A #75B23A #3AB1B2
split-complementary
#773AB2 #B1B23A #3AB23B
monochromatic
#391C56 #582B84 #773AB2 #965FCB #B48DDA

Accessibility & contrast

On white

6.93
#773AB2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.03
#773AB2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #773AB2
6.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##773AB2#FFFFFF#000000##FFFFFF
##773AB21.006.933.036.93
#FFFFFF6.931.0021.001.00
#0000003.0321.001.0021.00
##FFFFFF6.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0058B6
Deuteranopia (green-blind)
#095AAF
Tritanopia (blue-blind)
#6C5571
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #773ab2;
/* rgb */ color: rgb(119, 58, 178);
/* oklch */ color: oklch(48.8% 0.183 303.6);
Tailwind
colors: {
  custom: {
    50: '#a374ca',
    500: '#773ab2',
    950: '#000000',
  },
}
SCSS
$custom: #773ab2;
$custom-light: #a374ca;
$custom-dark: #000000;
JSON
{
  "hex": "#773ab2",
  "rgb": {
    "r": 119,
    "g": 58,
    "b": 178
  },
  "hsl": {
    "h": 270.5,
    "s": 50.847,
    "l": 46.275
  },
  "oklch": {
    "l": 0.48824,
    "c": 0.18279,
    "h": 303.6
  },
  "luminance": 0.10162
}

Semantic roles & 50–950 ramp

primary
#773AB2
secondary
#A3C483
accent
#DA4D93
background
#FAF7FC
surface
#F4EDF8
border
#CEC8D1
text
#100813
muted
#7F7B82

Preview Lab

Preview with #773AB2

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

Preview Lab → · Contrast checker → · Palette generator →

#773AB2 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva