#772DBF#772DBF

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

Color values

HEX#772DBF
RGBrgb(119, 45, 191)
HSLhsl(270, 62%, 46%)
HSVhsv(270, 76%, 75%)
CMYKcmyk(37.7%, 76.4%, 0%, 25.1%)
CIE-LABlab(37.04, 58.23, -63.03)
CIE-LCHlch(37.04, 85.81, 312.73°)
OKLaboklab(48.36% 0.1115 -0.1799)
OKLCHoklch(48.36% 0.212 301.8)
XYZxyz(17.9478, 9.5602, 50.1799)
Luminance0.0956 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#772DBF #75BF2D
analogous
#2E2DBF #772DBF #BF2DBE
triadic
#772DBF #BF772D #2DBF77
tetradic
#772DBF #BF2E2D #75BF2D #2DBEBF
square
#772DBF #BF2E2D #75BF2D #2DBEBF
split-complementary
#772DBF #BEBF2D #2DBF2E
monochromatic
#39165C #58218D #772DBF #9653D6 #B484E2

Accessibility & contrast

On white

7.21
#772DBF on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #772DBF
7.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##772DBF#FFFFFF#000000##FFFFFF
##772DBF1.007.212.917.21
#FFFFFF7.211.0021.001.00
#0000002.9121.001.0021.00
##FFFFFF7.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0056C3
Deuteranopia (green-blind)
#0056BC
Tritanopia (blue-blind)
#675375
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #772dbf;
/* rgb */ color: rgb(119, 45, 191);
/* oklch */ color: oklch(48.4% 0.212 301.8);
Tailwind
colors: {
  custom: {
    50: '#a56ed3',
    500: '#772dbf',
    950: '#000000',
  },
}
SCSS
$custom: #772dbf;
$custom-light: #a56ed3;
$custom-dark: #000000;
JSON
{
  "hex": "#772dbf",
  "rgb": {
    "r": 119,
    "g": 45,
    "b": 191
  },
  "hsl": {
    "h": 270.411,
    "s": 61.864,
    "l": 46.275
  },
  "oklch": {
    "l": 0.48361,
    "c": 0.2117,
    "h": 301.8
  },
  "luminance": 0.0956
}

Semantic roles & 50–950 ramp

primary
#772DBF
secondary
#A3CB7C
accent
#E54393
background
#FAF6FD
surface
#F4ECFA
border
#CEC7D3
text
#100814
muted
#7F7B83

Preview Lab

Preview with #772DBF

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

Preview Lab → · Contrast checker → · Palette generator →

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