#772FB2#772FB2

#772FB2 is a mid, vivid violet. Relative luminance 0.092; OKLCH L 47.5% C 0.196 H 305.0°. Best body text is #FFFFFF at 7.41:1 contrast (WCAG AA passes).

Color values

HEX#772FB2
RGBrgb(119, 47, 178)
HSLhsl(273, 58%, 44%)
HSVhsv(273, 74%, 70%)
CMYKcmyk(33.1%, 73.6%, 0%, 30.2%)
CIE-LABlab(36.31, 54.35, -56.55)
CIE-LCHlch(36.31, 78.43, 313.86°)
OKLaboklab(47.53% 0.1126 -0.1609)
OKLCHoklch(47.53% 0.196 305)
XYZxyz(16.6583, 9.1694, 43.0031)
Luminance0.0917 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#772FB2 #6AB22F
analogous
#362FB2 #772FB2 #B22FAC
triadic
#772FB2 #B2772F #2FB277
tetradic
#772FB2 #B2362F #6AB22F #2FACB2
square
#772FB2 #B2362F #6AB22F #2FACB2
split-complementary
#772FB2 #ACB22F #2FB236
monochromatic
#361551 #572282 #772FB2 #964ED0 #B27EDD

Accessibility & contrast

On white

7.41
#772FB2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.83
#772FB2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #772FB2
7.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##772FB2#FFFFFF#000000##FFFFFF
##772FB21.007.412.837.41
#FFFFFF7.411.0021.001.00
#0000002.8321.001.0021.00
##FFFFFF7.411.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #772fb2;
/* rgb */ color: rgb(119, 47, 178);
/* oklch */ color: oklch(47.5% 0.196 305.0);
Tailwind
colors: {
  custom: {
    50: '#a36eca',
    500: '#772fb2',
    950: '#000000',
  },
}
SCSS
$custom: #772fb2;
$custom-light: #a36eca;
$custom-dark: #000000;
JSON
{
  "hex": "#772fb2",
  "rgb": {
    "r": 119,
    "g": 47,
    "b": 178
  },
  "hsl": {
    "h": 272.977,
    "s": 58.222,
    "l": 44.118
  },
  "oklch": {
    "l": 0.47525,
    "c": 0.19637,
    "h": 305
  },
  "luminance": 0.09169
}

Semantic roles & 50–950 ramp

primary
#772FB2
secondary
#9AC677
accent
#E1468C
background
#FAF6FC
surface
#F4ECF8
border
#CEC7D1
text
#100813
muted
#7F7B82

Preview Lab

Preview with #772FB2

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

Preview Lab → · Contrast checker → · Palette generator →

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