#772DB2#772DB2

#772DB2 is a mid, vivid violet. Relative luminance 0.090; OKLCH L 47.3% C 0.199 H 305.2°. Best body text is #FFFFFF at 7.49:1 contrast (WCAG AA passes).

Color values

HEX#772DB2
RGBrgb(119, 45, 178)
HSLhsl(273, 60%, 44%)
HSVhsv(273, 75%, 70%)
CMYKcmyk(33.1%, 74.7%, 0%, 30.2%)
CIE-LABlab(36.01, 55.20, -57.04)
CIE-LCHlch(36.01, 79.37, 314.06°)
OKLaboklab(47.31% 0.1145 -0.1623)
OKLCHoklch(47.31% 0.199 305.2)
XYZxyz(16.5802, 9.0132, 42.9771)
Luminance0.0901 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#772DB2 #68B22D
analogous
#342DB2 #772DB2 #B22DAA
triadic
#772DB2 #B2772D #2DB277
tetradic
#772DB2 #B2342D #68B22D #2DAAB2
square
#772DB2 #B2342D #68B22D #2DAAB2
split-complementary
#772DB2 #AAB22D #2DB234
monochromatic
#361450 #562181 #772DB2 #964BD1 #B27CDE

Accessibility & contrast

On white

7.49
#772DB2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.80
#772DB2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #772DB2
7.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##772DB2#FFFFFF#000000##FFFFFF
##772DB21.007.492.807.49
#FFFFFF7.491.0021.001.00
#0000002.8021.001.0021.00
##FFFFFF7.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0053B6
Deuteranopia (green-blind)
#0055AF
Tritanopia (blue-blind)
#6C4E6D
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #772db2;
/* rgb */ color: rgb(119, 45, 178);
/* oklch */ color: oklch(47.3% 0.199 305.2);
Tailwind
colors: {
  custom: {
    50: '#a46dca',
    500: '#772db2',
    950: '#000000',
  },
}
SCSS
$custom: #772db2;
$custom-light: #a46dca;
$custom-dark: #000000;
JSON
{
  "hex": "#772db2",
  "rgb": {
    "r": 119,
    "g": 45,
    "b": 178
  },
  "hsl": {
    "h": 273.383,
    "s": 59.641,
    "l": 43.725
  },
  "oklch": {
    "l": 0.47314,
    "c": 0.19861,
    "h": 305.2
  },
  "luminance": 0.09013
}

Semantic roles & 50–950 ramp

primary
#772DB2
secondary
#99C675
accent
#E3458B
background
#FAF6FC
surface
#F4ECF8
border
#CEC7D1
text
#100813
muted
#7F7B82

Preview Lab

Preview with #772DB2

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

Preview Lab → · Contrast checker → · Palette generator →

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