#772BBB#772BBB

#772BBB is a mid, highly saturated violet. Relative luminance 0.092; OKLCH L 47.8% C 0.210 H 303.0°. Best body text is #FFFFFF at 7.37:1 contrast (WCAG AA passes).

Color values

HEX#772BBB
RGBrgb(119, 43, 187)
HSLhsl(272, 63%, 45%)
HSVhsv(272, 77%, 73%)
CMYKcmyk(36.4%, 77%, 0%, 26.7%)
CIE-LABlab(36.44, 58.09, -61.67)
CIE-LCHlch(36.44, 84.72, 313.29°)
OKLaboklab(47.84% 0.1142 -0.1759)
OKLCHoklch(47.84% 0.21 303)
XYZxyz(17.4391, 9.2375, 47.8683)
Luminance0.0924 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#772BBB #6FBB2B
analogous
#2F2BBB #772BBB #BB2BB7
triadic
#772BBB #BB772B #2BBB77
tetradic
#772BBB #BB2F2B #6FBB2B #2BB7BB
square
#772BBB #BB2F2B #6FBB2B #2BB7BB
split-complementary
#772BBB #B7BB2B #2BBB2F
monochromatic
#381457 #572089 #772BBB #954DD6 #B37FE2

Accessibility & contrast

On white

7.37
#772BBB on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.85
#772BBB on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #772BBB
7.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##772BBB#FFFFFF#000000##FFFFFF
##772BBB1.007.372.857.37
#FFFFFF7.371.0021.001.00
#0000002.8521.001.0021.00
##FFFFFF7.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0054BF
Deuteranopia (green-blind)
#0055B8
Tritanopia (blue-blind)
#695172
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #772bbb;
/* rgb */ color: rgb(119, 43, 187);
/* oklch */ color: oklch(47.8% 0.210 303.0);
Tailwind
colors: {
  custom: {
    50: '#a46dd0',
    500: '#772bbb',
    950: '#000000',
  },
}
SCSS
$custom: #772bbb;
$custom-light: #a46dd0;
$custom-dark: #000000;
JSON
{
  "hex": "#772bbb",
  "rgb": {
    "r": 119,
    "g": 43,
    "b": 187
  },
  "hsl": {
    "h": 271.667,
    "s": 62.609,
    "l": 45.098
  },
  "oklch": {
    "l": 0.47837,
    "c": 0.20972,
    "h": 303
  },
  "luminance": 0.09238
}

Semantic roles & 50–950 ramp

primary
#772BBB
secondary
#9FCA78
accent
#E6428F
background
#FAF6FC
surface
#F4ECF9
border
#CEC7D2
text
#100714
muted
#7F7A82

Preview Lab

Preview with #772BBB

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

Preview Lab → · Contrast checker → · Palette generator →

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