#772BCA#772BCA

#772BCA is a mid, highly saturated violet. Relative luminance 0.099; OKLCH L 49.1% C 0.225 H 299.4°. Best body text is #FFFFFF at 7.04:1 contrast (WCAG AA passes).

Color values

HEX#772BCA
RGBrgb(119, 43, 202)
HSLhsl(269, 65%, 48%)
HSVhsv(269, 79%, 79%)
CMYKcmyk(41.1%, 78.7%, 0%, 20.8%)
CIE-LABlab(37.69, 61.61, -68.41)
CIE-LCHlch(37.69, 92.06, 312.01°)
OKLaboklab(49.1% 0.1102 -0.1957)
OKLCHoklch(49.1% 0.225 299.4)
XYZxyz(19.1296, 9.9137, 56.7714)
Luminance0.0991 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#772BCA #7ECA2B
analogous
#2B2FCA #772BCA #C62BCA
triadic
#772BCA #CA772B #2BCA77
tetradic
#772BCA #CA2B2F #7ECA2B #2BCAC6
square
#772BCA #CA2B2F #7ECA2B #2BCAC6
split-complementary
#772BCA #CAC62B #2FCA2B
monochromatic
#3C1665 #592098 #772BCA #9657DB #B689E6

Accessibility & contrast

On white

7.04
#772BCA on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.98
#772BCA on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #772BCA
7.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##772BCA#FFFFFF#000000##FFFFFF
##772BCA1.007.042.987.04
#FFFFFF7.041.0021.001.00
#0000002.9821.001.0021.00
##FFFFFF7.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0058CE
Deuteranopia (green-blind)
#0057C7
Tritanopia (blue-blind)
#63577B
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #772bca;
/* rgb */ color: rgb(119, 43, 202);
/* oklch */ color: oklch(49.1% 0.225 299.4);
Tailwind
colors: {
  custom: {
    50: '#a66edb',
    500: '#772bca',
    950: '#000000',
  },
}
SCSS
$custom: #772bca;
$custom-light: #a66edb;
$custom-dark: #000000;
JSON
{
  "hex": "#772bca",
  "rgb": {
    "r": 119,
    "g": 43,
    "b": 202
  },
  "hsl": {
    "h": 268.679,
    "s": 64.898,
    "l": 48.039
  },
  "oklch": {
    "l": 0.49096,
    "c": 0.22458,
    "h": 299.4
  },
  "luminance": 0.09914
}

Semantic roles & 50–950 ramp

primary
#772BCA
secondary
#AAD081
accent
#E84098
background
#FAF6FD
surface
#F4ECFB
border
#CEC7D4
text
#100815
muted
#7F7B83

Preview Lab

Preview with #772BCA

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

Preview Lab → · Contrast checker → · Palette generator →

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