#772EBB#772EBB

#772EBB is a mid, highly saturated violet. Relative luminance 0.095; OKLCH L 48.1% C 0.207 H 302.7°. Best body text is #FFFFFF at 7.26:1 contrast (WCAG AA passes).

Color values

HEX#772EBB
RGBrgb(119, 46, 187)
HSLhsl(271, 61%, 46%)
HSVhsv(271, 75%, 73%)
CMYKcmyk(36.4%, 75.4%, 0%, 26.7%)
CIE-LABlab(36.86, 56.88, -60.97)
CIE-LCHlch(36.86, 83.38, 313.01°)
OKLaboklab(48.14% 0.1116 -0.1739)
OKLCHoklch(48.14% 0.207 302.7)
XYZxyz(17.5523, 9.4638, 47.9061)
Luminance0.0946 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#772EBB #72BB2E
analogous
#312EBB #772EBB #BB2EB8
triadic
#772EBB #BB772E #2EBB77
tetradic
#772EBB #BB312E #72BB2E #2EB8BB
square
#772EBB #BB312E #72BB2E #2EB8BB
split-complementary
#772EBB #B8BB2E #2EBB31
monochromatic
#381659 #58228A #772EBB #9552D4 #B383E0

Accessibility & contrast

On white

7.26
#772EBB on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.89
#772EBB on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #772EBB
7.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##772EBB#FFFFFF#000000##FFFFFF
##772EBB1.007.262.897.26
#FFFFFF7.261.0021.001.00
#0000002.8921.001.0021.00
##FFFFFF7.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0055BF
Deuteranopia (green-blind)
#0056B8
Tritanopia (blue-blind)
#695273
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #772ebb;
/* rgb */ color: rgb(119, 46, 187);
/* oklch */ color: oklch(48.1% 0.207 302.7);
Tailwind
colors: {
  custom: {
    50: '#a46ed0',
    500: '#772ebb',
    950: '#000000',
  },
}
SCSS
$custom: #772ebb;
$custom-light: #a46ed0;
$custom-dark: #000000;
JSON
{
  "hex": "#772ebb",
  "rgb": {
    "r": 119,
    "g": 46,
    "b": 187
  },
  "hsl": {
    "h": 271.064,
    "s": 60.515,
    "l": 45.686
  },
  "oklch": {
    "l": 0.48135,
    "c": 0.20662,
    "h": 302.7
  },
  "luminance": 0.09464
}

Semantic roles & 50–950 ramp

primary
#772EBB
secondary
#A1CA7B
accent
#E44491
background
#FAF6FC
surface
#F4ECF9
border
#CEC7D2
text
#100814
muted
#7F7B82

Preview Lab

Preview with #772EBB

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

Preview Lab → · Contrast checker → · Palette generator →

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