#772EBC#772EBC

#772EBC is a mid, highly saturated violet. Relative luminance 0.095; OKLCH L 48.2% C 0.208 H 302.4°. Best body text is #FFFFFF at 7.24:1 contrast (WCAG AA passes).

Color values

HEX#772EBC
RGBrgb(119, 46, 188)
HSLhsl(271, 61%, 46%)
HSVhsv(271, 76%, 74%)
CMYKcmyk(36.7%, 75.5%, 0%, 26.3%)
CIE-LABlab(36.94, 57.11, -61.43)
CIE-LCHlch(36.94, 83.88, 312.91°)
OKLaboklab(48.22% 0.1114 -0.1752)
OKLCHoklch(48.22% 0.208 302.4)
XYZxyz(17.6597, 9.5067, 48.4718)
Luminance0.0951 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#772EBC #73BC2E
analogous
#302EBC #772EBC #BC2EBA
triadic
#772EBC #BC772E #2EBC77
tetradic
#772EBC #BC302E #73BC2E #2EBABC
square
#772EBC #BC302E #73BC2E #2EBABC
split-complementary
#772EBC #BABC2E #2EBC30
monochromatic
#39165A #58228B #772EBC #9552D5 #B484E1

Accessibility & contrast

On white

7.24
#772EBC on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.90
#772EBC on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #772EBC
7.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##772EBC#FFFFFF#000000##FFFFFF
##772EBC1.007.242.907.24
#FFFFFF7.241.0021.001.00
#0000002.9021.001.0021.00
##FFFFFF7.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0056C0
Deuteranopia (green-blind)
#0056B9
Tritanopia (blue-blind)
#685273
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #772ebc;
/* rgb */ color: rgb(119, 46, 188);
/* oklch */ color: oklch(48.2% 0.208 302.4);
Tailwind
colors: {
  custom: {
    50: '#a46ed1',
    500: '#772ebc',
    950: '#000000',
  },
}
SCSS
$custom: #772ebc;
$custom-light: #a46ed1;
$custom-dark: #000000;
JSON
{
  "hex": "#772ebc",
  "rgb": {
    "r": 119,
    "g": 46,
    "b": 188
  },
  "hsl": {
    "h": 270.845,
    "s": 60.684,
    "l": 45.882
  },
  "oklch": {
    "l": 0.48216,
    "c": 0.20764,
    "h": 302.4
  },
  "luminance": 0.09507
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #772EBC

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

Preview Lab → · Contrast checker → · Palette generator →

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