#773EA7#773EA7

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

Color values

HEX#773EA7
RGBrgb(119, 62, 167)
HSLhsl(273, 46%, 45%)
HSVhsv(273, 63%, 65%)
CMYKcmyk(28.7%, 62.9%, 0%, 34.5%)
CIE-LABlab(38.12, 44.52, -47.07)
CIE-LCHlch(38.12, 64.79, 313.41°)
OKLaboklab(48.58% 0.0974 -0.1331)
OKLCHoklch(48.58% 0.165 306.2)
XYZxyz(16.3039, 10.1574, 37.6534)
Luminance0.1016 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#773EA7 #6EA73E
analogous
#423EA7 #773EA7 #A73EA3
triadic
#773EA7 #A7773E #3EA777
tetradic
#773EA7 #A7423E #6EA73E #3EA3A7
square
#773EA7 #A7423E #6EA73E #3EA3A7
split-complementary
#773EA7 #A3A73E #3EA742
monochromatic
#371D4E #572D7A #773EA7 #955FC3 #B38BD4

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##773EA7#FFFFFF#000000##FFFFFF
##773EA71.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)
#0058AA
Deuteranopia (green-blind)
#285AA5
Tritanopia (blue-blind)
#6F536D
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #773ea7;
/* rgb */ color: rgb(119, 62, 167);
/* oklch */ color: oklch(48.6% 0.165 306.2);
Tailwind
colors: {
  custom: {
    50: '#a276c2',
    500: '#773ea7',
    950: '#000000',
  },
}
SCSS
$custom: #773ea7;
$custom-light: #a276c2;
$custom-dark: #000000;
JSON
{
  "hex": "#773ea7",
  "rgb": {
    "r": 119,
    "g": 62,
    "b": 167
  },
  "hsl": {
    "h": 272.571,
    "s": 45.852,
    "l": 44.902
  },
  "oklch": {
    "l": 0.48578,
    "c": 0.16489,
    "h": 306.2
  },
  "luminance": 0.10157
}

Semantic roles & 50–950 ramp

primary
#773EA7
secondary
#9EBF82
accent
#D6528E
background
#FAF7FC
surface
#F4EDF8
border
#CEC8D1
text
#0F0912
muted
#7F7B81

Preview Lab

Preview with #773EA7

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

Preview Lab → · Contrast checker → · Palette generator →

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