#772EBE#772EBE

#772EBE is a mid, highly saturated violet. Relative luminance 0.096; OKLCH L 48.4% C 0.210 H 301.9°. Best body text is #FFFFFF at 7.19:1 contrast (WCAG AA passes).

Color values

HEX#772EBE
RGBrgb(119, 46, 190)
HSLhsl(270, 61%, 46%)
HSVhsv(270, 76%, 75%)
CMYKcmyk(37.4%, 75.8%, 0%, 25.5%)
CIE-LABlab(37.10, 57.58, -62.35)
CIE-LCHlch(37.10, 84.87, 312.73°)
OKLaboklab(48.38% 0.1109 -0.1779)
OKLCHoklch(48.38% 0.21 301.9)
XYZxyz(17.8768, 9.5936, 49.6151)
Luminance0.0959 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#772EBE #75BE2E
analogous
#2F2EBE #772EBE #BE2EBD
triadic
#772EBE #BE772E #2EBE77
tetradic
#772EBE #BE2F2E #75BE2E #2EBDBE
square
#772EBE #BE2F2E #75BE2E #2EBDBE
split-complementary
#772EBE #BDBE2E #2EBE2F
monochromatic
#39165B #58228D #772EBE #9654D6 #B485E1

Accessibility & contrast

On white

7.19
#772EBE on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.92
#772EBE on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #772EBE
7.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##772EBE#FFFFFF#000000##FFFFFF
##772EBE1.007.192.927.19
#FFFFFF7.191.0021.001.00
#0000002.9221.001.0021.00
##FFFFFF7.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0056C2
Deuteranopia (green-blind)
#0057BB
Tritanopia (blue-blind)
#685374
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #772ebe;
/* rgb */ color: rgb(119, 46, 190);
/* oklch */ color: oklch(48.4% 0.210 301.9);
Tailwind
colors: {
  custom: {
    50: '#a56ed3',
    500: '#772ebe',
    950: '#000000',
  },
}
SCSS
$custom: #772ebe;
$custom-light: #a56ed3;
$custom-dark: #000000;
JSON
{
  "hex": "#772ebe",
  "rgb": {
    "r": 119,
    "g": 46,
    "b": 190
  },
  "hsl": {
    "h": 270.417,
    "s": 61.017,
    "l": 46.275
  },
  "oklch": {
    "l": 0.48379,
    "c": 0.20965,
    "h": 301.9
  },
  "luminance": 0.09594
}

Semantic roles & 50–950 ramp

primary
#772EBE
secondary
#A3CB7D
accent
#E44493
background
#FAF6FD
surface
#F4ECFA
border
#CEC7D3
text
#100814
muted
#7F7B83

Preview Lab

Preview with #772EBE

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

Preview Lab → · Contrast checker → · Palette generator →

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