#772EBF#772EBF

#772EBF is a mid, highly saturated violet. Relative luminance 0.096; OKLCH L 48.5% C 0.211 H 301.7°. Best body text is #FFFFFF at 7.17:1 contrast (WCAG AA passes).

Color values

HEX#772EBF
RGBrgb(119, 46, 191)
HSLhsl(270, 61%, 46%)
HSVhsv(270, 76%, 75%)
CMYKcmyk(37.7%, 75.9%, 0%, 25.1%)
CIE-LABlab(37.18, 57.82, -62.80)
CIE-LCHlch(37.18, 85.37, 312.63°)
OKLaboklab(48.46% 0.1107 -0.1792)
OKLCHoklch(48.46% 0.211 301.7)
XYZxyz(17.9864, 9.6374, 50.1927)
Luminance0.0964 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#772EBF #76BF2E
analogous
#2F2EBF #772EBF #BF2EBF
triadic
#772EBF #BF772E #2EBF77
tetradic
#772EBF #BF2F2E #76BF2E #2EBFBF
square
#772EBF #BF2F2E #76BF2E #2EBFBF
split-complementary
#772EBF #BFBF2E #2EBF2F
monochromatic
#3A165C #58228E #772EBF #9654D6 #B486E2

Accessibility & contrast

On white

7.17
#772EBF on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.93
#772EBF on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #772EBF
7.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##772EBF#FFFFFF#000000##FFFFFF
##772EBF1.007.172.937.17
#FFFFFF7.171.0021.001.00
#0000002.9321.001.0021.00
##FFFFFF7.171.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #772ebf;
/* rgb */ color: rgb(119, 46, 191);
/* oklch */ color: oklch(48.5% 0.211 301.7);
Tailwind
colors: {
  custom: {
    50: '#a56fd3',
    500: '#772ebf',
    950: '#000000',
  },
}
SCSS
$custom: #772ebf;
$custom-light: #a56fd3;
$custom-dark: #000000;
JSON
{
  "hex": "#772ebf",
  "rgb": {
    "r": 119,
    "g": 46,
    "b": 191
  },
  "hsl": {
    "h": 270.207,
    "s": 61.181,
    "l": 46.471
  },
  "oklch": {
    "l": 0.48461,
    "c": 0.21067,
    "h": 301.7
  },
  "luminance": 0.09638
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #772EBF

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

Preview Lab → · Contrast checker → · Palette generator →

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