#772EBD#772EBD

#772EBD is a mid, highly saturated violet. Relative luminance 0.096; OKLCH L 48.3% C 0.209 H 302.2°. Best body text is #FFFFFF at 7.22:1 contrast (WCAG AA passes).

Color values

HEX#772EBD
RGBrgb(119, 46, 189)
HSLhsl(271, 61%, 46%)
HSVhsv(271, 76%, 74%)
CMYKcmyk(37%, 75.7%, 0%, 25.9%)
CIE-LABlab(37.02, 57.35, -61.89)
CIE-LCHlch(37.02, 84.37, 312.82°)
OKLaboklab(48.3% 0.1112 -0.1766)
OKLCHoklch(48.3% 0.209 302.2)
XYZxyz(17.7678, 9.5500, 49.0415)
Luminance0.0955 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#772EBD #74BD2E
analogous
#2F2EBD #772EBD #BD2EBB
triadic
#772EBD #BD772E #2EBD77
tetradic
#772EBD #BD2F2E #74BD2E #2EBBBD
square
#772EBD #BD2F2E #74BD2E #2EBBBD
split-complementary
#772EBD #BBBD2E #2EBD2F
monochromatic
#39165B #58228C #772EBD #9553D5 #B484E1

Accessibility & contrast

On white

7.22
#772EBD on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.91
#772EBD on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #772EBD
7.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##772EBD#FFFFFF#000000##FFFFFF
##772EBD1.007.222.917.22
#FFFFFF7.221.0021.001.00
#0000002.9121.001.0021.00
##FFFFFF7.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0056C1
Deuteranopia (green-blind)
#0056BA
Tritanopia (blue-blind)
#685374
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #772ebd;
/* rgb */ color: rgb(119, 46, 189);
/* oklch */ color: oklch(48.3% 0.209 302.2);
Tailwind
colors: {
  custom: {
    50: '#a46ed2',
    500: '#772ebd',
    950: '#000000',
  },
}
SCSS
$custom: #772ebd;
$custom-light: #a46ed2;
$custom-dark: #000000;
JSON
{
  "hex": "#772ebd",
  "rgb": {
    "r": 119,
    "g": 46,
    "b": 189
  },
  "hsl": {
    "h": 270.629,
    "s": 60.851,
    "l": 46.078
  },
  "oklch": {
    "l": 0.48298,
    "c": 0.20865,
    "h": 302.2
  },
  "luminance": 0.0955
}

Semantic roles & 50–950 ramp

primary
#772EBD
secondary
#A3CA7C
accent
#E44492
background
#FAF6FD
surface
#F4ECFA
border
#CEC7D3
text
#100814
muted
#7F7B83

Preview Lab

Preview with #772EBD

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

Preview Lab → · Contrast checker → · Palette generator →

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