#772DBA#772DBA

#772DBA is a mid, highly saturated violet. Relative luminance 0.093; OKLCH L 48.0% C 0.207 H 303.1°. Best body text is #FFFFFF at 7.32:1 contrast (WCAG AA passes).

Color values

HEX#772DBA
RGBrgb(119, 45, 186)
HSLhsl(271, 61%, 45%)
HSVhsv(271, 76%, 73%)
CMYKcmyk(36%, 75.8%, 0%, 27.1%)
CIE-LABlab(36.64, 57.05, -60.75)
CIE-LCHlch(36.64, 83.34, 313.20°)
OKLaboklab(47.95% 0.1127 -0.1732)
OKLCHoklch(47.95% 0.207 303.1)
XYZxyz(17.4070, 9.3439, 47.3313)
Luminance0.0934 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#772DBA #70BA2D
analogous
#302DBA #772DBA #BA2DB7
triadic
#772DBA #BA772D #2DBA77
tetradic
#772DBA #BA302D #70BA2D #2DB7BA
square
#772DBA #BA302D #70BA2D #2DB7BA
split-complementary
#772DBA #B7BA2D #2DBA30
monochromatic
#381557 #572189 #772DBA #9550D5 #B381E0

Accessibility & contrast

On white

7.32
#772DBA on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #772DBA
7.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##772DBA#FFFFFF#000000##FFFFFF
##772DBA1.007.322.877.32
#FFFFFF7.321.0021.001.00
#0000002.8721.001.0021.00
##FFFFFF7.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0055BE
Deuteranopia (green-blind)
#0056B7
Tritanopia (blue-blind)
#695172
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #772dba;
/* rgb */ color: rgb(119, 45, 186);
/* oklch */ color: oklch(48.0% 0.207 303.1);
Tailwind
colors: {
  custom: {
    50: '#a46ed0',
    500: '#772dba',
    950: '#000000',
  },
}
SCSS
$custom: #772dba;
$custom-light: #a46ed0;
$custom-dark: #000000;
JSON
{
  "hex": "#772dba",
  "rgb": {
    "r": 119,
    "g": 45,
    "b": 186
  },
  "hsl": {
    "h": 271.489,
    "s": 61.039,
    "l": 45.294
  },
  "oklch": {
    "l": 0.47953,
    "c": 0.20666,
    "h": 303.1
  },
  "luminance": 0.09344
}

Semantic roles & 50–950 ramp

primary
#772DBA
secondary
#9FC979
accent
#E44490
background
#FAF6FC
surface
#F4ECF9
border
#CEC7D2
text
#100814
muted
#7F7B82

Preview Lab

Preview with #772DBA

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

Preview Lab → · Contrast checker → · Palette generator →

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