#772DB5#772DB5

#772DB5 is a mid, highly saturated violet. Relative luminance 0.091; OKLCH L 47.6% C 0.202 H 304.4°. Best body text is #FFFFFF at 7.43:1 contrast (WCAG AA passes).

Color values

HEX#772DB5
RGBrgb(119, 45, 181)
HSLhsl(273, 60%, 44%)
HSVhsv(273, 75%, 71%)
CMYKcmyk(34.3%, 75.1%, 0%, 29%)
CIE-LABlab(36.24, 55.89, -58.44)
CIE-LCHlch(36.24, 80.86, 313.72°)
OKLaboklab(47.55% 0.1139 -0.1664)
OKLCHoklch(47.55% 0.202 304.4)
XYZxyz(16.8847, 9.1350, 44.5808)
Luminance0.0914 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#772DB5 #6BB52D
analogous
#332DB5 #772DB5 #B52DAF
triadic
#772DB5 #B5772D #2DB577
tetradic
#772DB5 #B5332D #6BB52D #2DAFB5
square
#772DB5 #B5332D #6BB52D #2DAFB5
split-complementary
#772DB5 #AFB52D #2DB533
monochromatic
#371553 #572184 #772DB5 #964DD3 #B27EDF

Accessibility & contrast

On white

7.43
#772DB5 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.83
#772DB5 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #772DB5
7.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##772DB5#FFFFFF#000000##FFFFFF
##772DB51.007.432.837.43
#FFFFFF7.431.0021.001.00
#0000002.8321.001.0021.00
##FFFFFF7.431.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0054B9
Deuteranopia (green-blind)
#0055B2
Tritanopia (blue-blind)
#6B4F6F
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #772db5;
/* rgb */ color: rgb(119, 45, 181);
/* oklch */ color: oklch(47.6% 0.202 304.4);
Tailwind
colors: {
  custom: {
    50: '#a46ecc',
    500: '#772db5',
    950: '#000000',
  },
}
SCSS
$custom: #772db5;
$custom-light: #a46ecc;
$custom-dark: #000000;
JSON
{
  "hex": "#772db5",
  "rgb": {
    "r": 119,
    "g": 45,
    "b": 181
  },
  "hsl": {
    "h": 272.647,
    "s": 60.177,
    "l": 44.314
  },
  "oklch": {
    "l": 0.47551,
    "c": 0.20164,
    "h": 304.4
  },
  "luminance": 0.09135
}

Semantic roles & 50–950 ramp

primary
#772DB5
secondary
#9BC776
accent
#E3448D
background
#FAF6FC
surface
#F4ECF9
border
#CEC7D2
text
#100813
muted
#7F7B82

Preview Lab

Preview with #772DB5

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

Preview Lab → · Contrast checker → · Palette generator →

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