#772DB8#772DB8

#772DB8 is a mid, highly saturated violet. Relative luminance 0.093; OKLCH L 47.8% C 0.205 H 303.6°. Best body text is #FFFFFF at 7.36:1 contrast (WCAG AA passes).

Color values

HEX#772DB8
RGBrgb(119, 45, 184)
HSLhsl(272, 61%, 45%)
HSVhsv(272, 76%, 72%)
CMYKcmyk(35.3%, 75.5%, 0%, 27.8%)
CIE-LABlab(36.48, 56.59, -59.83)
CIE-LCHlch(36.48, 82.35, 313.41°)
OKLaboklab(47.79% 0.1132 -0.1705)
OKLCHoklch(47.79% 0.205 303.6)
XYZxyz(17.1958, 9.2594, 46.2194)
Luminance0.0926 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#772DB8 #6EB82D
analogous
#312DB8 #772DB8 #B82DB4
triadic
#772DB8 #B8772D #2DB877
tetradic
#772DB8 #B8312D #6EB82D #2DB4B8
square
#772DB8 #B8312D #6EB82D #2DB4B8
split-complementary
#772DB8 #B4B82D #2DB831
monochromatic
#371556 #572187 #772DB8 #954ED4 #B380E0

Accessibility & contrast

On white

7.36
#772DB8 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.85
#772DB8 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #772DB8
7.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##772DB8#FFFFFF#000000##FFFFFF
##772DB81.007.362.857.36
#FFFFFF7.361.0021.001.00
#0000002.8521.001.0021.00
##FFFFFF7.361.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #772db8;
/* rgb */ color: rgb(119, 45, 184);
/* oklch */ color: oklch(47.8% 0.205 303.6);
Tailwind
colors: {
  custom: {
    50: '#a46ece',
    500: '#772db8',
    950: '#000000',
  },
}
SCSS
$custom: #772db8;
$custom-light: #a46ece;
$custom-dark: #000000;
JSON
{
  "hex": "#772db8",
  "rgb": {
    "r": 119,
    "g": 45,
    "b": 184
  },
  "hsl": {
    "h": 271.942,
    "s": 60.699,
    "l": 44.902
  },
  "oklch": {
    "l": 0.47791,
    "c": 0.20465,
    "h": 303.6
  },
  "luminance": 0.09259
}

Semantic roles & 50–950 ramp

primary
#772DB8
secondary
#9EC978
accent
#E4448F
background
#FAF6FC
surface
#F4ECF9
border
#CEC7D2
text
#100814
muted
#7F7B82

Preview Lab

Preview with #772DB8

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

Preview Lab → · Contrast checker → · Palette generator →

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