#772FB7#772FB7

#772FB7 is a mid, highly saturated violet. Relative luminance 0.094; OKLCH L 47.9% C 0.201 H 303.6°. Best body text is #FFFFFF at 7.30:1 contrast (WCAG AA passes).

Color values

HEX#772FB7
RGBrgb(119, 47, 183)
HSLhsl(272, 59%, 45%)
HSVhsv(272, 74%, 72%)
CMYKcmyk(35%, 74.3%, 0%, 28.2%)
CIE-LABlab(36.69, 55.52, -58.89)
CIE-LCHlch(36.69, 80.93, 313.31°)
OKLaboklab(47.92% 0.1116 -0.1677)
OKLCHoklch(47.92% 0.201 303.6)
XYZxyz(17.1695, 9.3739, 45.6954)
Luminance0.0937 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#772FB7 #6FB72F
analogous
#332FB7 #772FB7 #B72FB3
triadic
#772FB7 #B7772F #2FB777
tetradic
#772FB7 #B7332F #6FB72F #2FB3B7
square
#772FB7 #B7332F #6FB72F #2FB3B7
split-complementary
#772FB7 #B3B72F #2FB733
monochromatic
#381656 #572286 #772FB7 #9551D2 #B382DF

Accessibility & contrast

On white

7.30
#772FB7 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.87
#772FB7 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #772FB7
7.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##772FB7#FFFFFF#000000##FFFFFF
##772FB71.007.302.877.30
#FFFFFF7.301.0021.001.00
#0000002.8721.001.0021.00
##FFFFFF7.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0055BB
Deuteranopia (green-blind)
#0056B4
Tritanopia (blue-blind)
#6A5171
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #772fb7;
/* rgb */ color: rgb(119, 47, 183);
/* oklch */ color: oklch(47.9% 0.201 303.6);
Tailwind
colors: {
  custom: {
    50: '#a46fce',
    500: '#772fb7',
    950: '#000000',
  },
}
SCSS
$custom: #772fb7;
$custom-light: #a46fce;
$custom-dark: #000000;
JSON
{
  "hex": "#772fb7",
  "rgb": {
    "r": 119,
    "g": 47,
    "b": 183
  },
  "hsl": {
    "h": 271.765,
    "s": 59.13,
    "l": 45.098
  },
  "oklch": {
    "l": 0.47919,
    "c": 0.20148,
    "h": 303.6
  },
  "luminance": 0.09374
}

Semantic roles & 50–950 ramp

primary
#772FB7
secondary
#9FC87A
accent
#E2458F
background
#FAF6FC
surface
#F4ECF9
border
#CEC7D2
text
#100814
muted
#7F7B82

Preview Lab

Preview with #772FB7

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

Preview Lab → · Contrast checker → · Palette generator →

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