#772FB8#772FB8

#772FB8 is a mid, highly saturated violet. Relative luminance 0.094; OKLCH L 48.0% C 0.202 H 303.4°. Best body text is #FFFFFF at 7.28:1 contrast (WCAG AA passes).

Color values

HEX#772FB8
RGBrgb(119, 47, 184)
HSLhsl(272, 59%, 45%)
HSVhsv(272, 74%, 72%)
CMYKcmyk(35.3%, 74.5%, 0%, 27.8%)
CIE-LABlab(36.77, 55.75, -59.35)
CIE-LCHlch(36.77, 81.43, 313.21°)
OKLaboklab(48% 0.1114 -0.1691)
OKLCHoklch(48% 0.202 303.4)
XYZxyz(17.2740, 9.4157, 46.2455)
Luminance0.0942 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#772FB8 #70B82F
analogous
#332FB8 #772FB8 #B82FB4
triadic
#772FB8 #B8772F #2FB877
tetradic
#772FB8 #B8332F #70B82F #2FB4B8
square
#772FB8 #B8332F #70B82F #2FB4B8
split-complementary
#772FB8 #B4B82F #2FB833
monochromatic
#381657 #572387 #772FB8 #9552D3 #B382DF

Accessibility & contrast

On white

7.28
#772FB8 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.88
#772FB8 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #772FB8
7.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##772FB8#FFFFFF#000000##FFFFFF
##772FB81.007.282.887.28
#FFFFFF7.281.0021.001.00
#0000002.8821.001.0021.00
##FFFFFF7.281.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #772fb8;
/* rgb */ color: rgb(119, 47, 184);
/* oklch */ color: oklch(48.0% 0.202 303.4);
Tailwind
colors: {
  custom: {
    50: '#a46fce',
    500: '#772fb8',
    950: '#000000',
  },
}
SCSS
$custom: #772fb8;
$custom-light: #a46fce;
$custom-dark: #000000;
JSON
{
  "hex": "#772fb8",
  "rgb": {
    "r": 119,
    "g": 47,
    "b": 184
  },
  "hsl": {
    "h": 271.533,
    "s": 59.307,
    "l": 45.294
  },
  "oklch": {
    "l": 0.47998,
    "c": 0.20249,
    "h": 303.4
  },
  "luminance": 0.09416
}

Semantic roles & 50–950 ramp

primary
#772FB8
secondary
#9FC87B
accent
#E24590
background
#FAF6FC
surface
#F4ECF9
border
#CEC7D2
text
#100814
muted
#7F7B82

Preview Lab

Preview with #772FB8

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

Preview Lab → · Contrast checker → · Palette generator →

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