#772EB2#772EB2

#772EB2 is a mid, vivid violet. Relative luminance 0.091; OKLCH L 47.4% C 0.198 H 305.1°. Best body text is #FFFFFF at 7.45:1 contrast (WCAG AA passes).

Color values

HEX#772EB2
RGBrgb(119, 46, 178)
HSLhsl(273, 59%, 44%)
HSVhsv(273, 74%, 70%)
CMYKcmyk(33.1%, 74.2%, 0%, 30.2%)
CIE-LABlab(36.16, 54.77, -56.80)
CIE-LCHlch(36.16, 78.90, 313.96°)
OKLaboklab(47.42% 0.1136 -0.1616)
OKLCHoklch(47.42% 0.198 305.1)
XYZxyz(16.6188, 9.0904, 42.9900)
Luminance0.0909 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#772EB2 #69B22E
analogous
#352EB2 #772EB2 #B22EAB
triadic
#772EB2 #B2772E #2EB277
tetradic
#772EB2 #B2352E #69B22E #2EABB2
square
#772EB2 #B2352E #69B22E #2EABB2
split-complementary
#772EB2 #ABB22E #2EB235
monochromatic
#361551 #562181 #772EB2 #964CD1 #B27DDD

Accessibility & contrast

On white

7.45
#772EB2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.82
#772EB2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #772EB2
7.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##772EB2#FFFFFF#000000##FFFFFF
##772EB21.007.452.827.45
#FFFFFF7.451.0021.001.00
#0000002.8221.001.0021.00
##FFFFFF7.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0053B6
Deuteranopia (green-blind)
#0055AF
Tritanopia (blue-blind)
#6C4E6E
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #772eb2;
/* rgb */ color: rgb(119, 46, 178);
/* oklch */ color: oklch(47.4% 0.198 305.1);
Tailwind
colors: {
  custom: {
    50: '#a36eca',
    500: '#772eb2',
    950: '#000000',
  },
}
SCSS
$custom: #772eb2;
$custom-light: #a36eca;
$custom-dark: #000000;
JSON
{
  "hex": "#772eb2",
  "rgb": {
    "r": 119,
    "g": 46,
    "b": 178
  },
  "hsl": {
    "h": 273.182,
    "s": 58.929,
    "l": 43.922
  },
  "oklch": {
    "l": 0.47419,
    "c": 0.1975,
    "h": 305.1
  },
  "luminance": 0.0909
}

Semantic roles & 50–950 ramp

primary
#772EB2
secondary
#9AC676
accent
#E2468C
background
#FAF6FC
surface
#F4ECF8
border
#CEC7D1
text
#100813
muted
#7F7B82

Preview Lab

Preview with #772EB2

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

Preview Lab → · Contrast checker → · Palette generator →

#772EB2 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva