#772EB0#772EB0

#772EB0 is a mid, vivid violet. Relative luminance 0.090; OKLCH L 47.3% C 0.195 H 305.7°. Best body text is #FFFFFF at 7.49:1 contrast (WCAG AA passes).

Color values

HEX#772EB0
RGBrgb(119, 46, 176)
HSLhsl(274, 59%, 44%)
HSVhsv(274, 74%, 69%)
CMYKcmyk(32.4%, 73.9%, 0%, 31%)
CIE-LABlab(36.00, 54.31, -55.86)
CIE-LCHlch(36.00, 77.91, 314.20°)
OKLaboklab(47.26% 0.1139 -0.1588)
OKLCHoklch(47.26% 0.195 305.7)
XYZxyz(16.4195, 9.0106, 41.9401)
Luminance0.0901 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#772EB0 #67B02E
analogous
#362EB0 #772EB0 #B02EA8
triadic
#772EB0 #B0772E #2EB077
tetradic
#772EB0 #B0362E #67B02E #2EA8B0
square
#772EB0 #B0362E #67B02E #2EA8B0
split-complementary
#772EB0 #A8B02E #2EB036
monochromatic
#35154F #56217F #772EB0 #964BD0 #B27CDD

Accessibility & contrast

On white

7.49
#772EB0 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.80
#772EB0 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #772EB0
7.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##772EB0#FFFFFF#000000##FFFFFF
##772EB01.007.492.807.49
#FFFFFF7.491.0021.001.00
#0000002.8021.001.0021.00
##FFFFFF7.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0053B4
Deuteranopia (green-blind)
#0055AD
Tritanopia (blue-blind)
#6D4D6D
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #772eb0;
/* rgb */ color: rgb(119, 46, 176);
/* oklch */ color: oklch(47.3% 0.195 305.7);
Tailwind
colors: {
  custom: {
    50: '#a36ec8',
    500: '#772eb0',
    950: '#000000',
  },
}
SCSS
$custom: #772eb0;
$custom-light: #a36ec8;
$custom-dark: #000000;
JSON
{
  "hex": "#772eb0",
  "rgb": {
    "r": 119,
    "g": 46,
    "b": 176
  },
  "hsl": {
    "h": 273.692,
    "s": 58.559,
    "l": 43.529
  },
  "oklch": {
    "l": 0.47263,
    "c": 0.19547,
    "h": 305.7
  },
  "luminance": 0.09011
}

Semantic roles & 50–950 ramp

primary
#772EB0
secondary
#98C575
accent
#E2468A
background
#FAF6FC
surface
#F4ECF8
border
#CEC7D1
text
#100813
muted
#7F7B82

Preview Lab

Preview with #772EB0

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

Preview Lab → · Contrast checker → · Palette generator →

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