#772DB1#772DB1

#772DB1 is a mid, vivid violet. Relative luminance 0.090; OKLCH L 47.2% C 0.198 H 305.5°. Best body text is #FFFFFF at 7.51:1 contrast (WCAG AA passes).

Color values

HEX#772DB1
RGBrgb(119, 45, 177)
HSLhsl(274, 59%, 44%)
HSVhsv(274, 75%, 69%)
CMYKcmyk(32.8%, 74.6%, 0%, 30.6%)
CIE-LABlab(35.93, 54.96, -56.57)
CIE-LCHlch(35.93, 78.87, 314.18°)
OKLaboklab(47.24% 0.1147 -0.1609)
OKLCHoklch(47.24% 0.198 305.5)
XYZxyz(16.4802, 8.9732, 42.4502)
Luminance0.0897 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#772DB1 #67B12D
analogous
#352DB1 #772DB1 #B12DA9
triadic
#772DB1 #B1772D #2DB177
tetradic
#772DB1 #B1352D #67B12D #2DA9B1
square
#772DB1 #B1352D #67B12D #2DA9B1
split-complementary
#772DB1 #A9B12D #2DB135
monochromatic
#35144F #562180 #772DB1 #964AD1 #B27BDD

Accessibility & contrast

On white

7.51
#772DB1 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.79
#772DB1 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #772DB1
7.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##772DB1#FFFFFF#000000##FFFFFF
##772DB11.007.512.797.51
#FFFFFF7.511.0021.001.00
#0000002.7921.001.0021.00
##FFFFFF7.511.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0052B5
Deuteranopia (green-blind)
#0055AE
Tritanopia (blue-blind)
#6C4D6D
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #772db1;
/* rgb */ color: rgb(119, 45, 177);
/* oklch */ color: oklch(47.2% 0.198 305.5);
Tailwind
colors: {
  custom: {
    50: '#a36dc9',
    500: '#772db1',
    950: '#000000',
  },
}
SCSS
$custom: #772db1;
$custom-light: #a36dc9;
$custom-dark: #000000;
JSON
{
  "hex": "#772db1",
  "rgb": {
    "r": 119,
    "g": 45,
    "b": 177
  },
  "hsl": {
    "h": 273.636,
    "s": 59.459,
    "l": 43.529
  },
  "oklch": {
    "l": 0.47236,
    "c": 0.19761,
    "h": 305.5
  },
  "luminance": 0.08973
}

Semantic roles & 50–950 ramp

primary
#772DB1
secondary
#98C674
accent
#E3458A
background
#FAF6FC
surface
#F4ECF8
border
#CEC7D1
text
#100713
muted
#7F7A82

Preview Lab

Preview with #772DB1

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

Preview Lab → · Contrast checker → · Palette generator →

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