#772CB8#772CB8

#772CB8 is a mid, highly saturated violet. Relative luminance 0.092; OKLCH L 47.7% C 0.206 H 303.7°. Best body text is #FFFFFF at 7.40:1 contrast (WCAG AA passes).

Color values

HEX#772CB8
RGBrgb(119, 44, 184)
HSLhsl(272, 61%, 45%)
HSVhsv(272, 76%, 72%)
CMYKcmyk(35.3%, 76.1%, 0%, 27.8%)
CIE-LABlab(36.34, 57.00, -60.06)
CIE-LCHlch(36.34, 82.80, 313.50°)
OKLaboklab(47.69% 0.1141 -0.1712)
OKLCHoklch(47.69% 0.206 303.7)
XYZxyz(17.1581, 9.1840, 46.2069)
Luminance0.0918 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#772CB8 #6DB82C
analogous
#312CB8 #772CB8 #B82CB3
triadic
#772CB8 #B8772C #2CB877
tetradic
#772CB8 #B8312C #6DB82C #2CB3B8
square
#772CB8 #B8312C #6DB82C #2CB3B8
split-complementary
#772CB8 #B3B82C #2CB831
monochromatic
#371455 #572087 #772CB8 #954DD4 #B37EE0

Accessibility & contrast

On white

7.40
#772CB8 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.84
#772CB8 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #772CB8
7.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##772CB8#FFFFFF#000000##FFFFFF
##772CB81.007.402.847.40
#FFFFFF7.401.0021.001.00
#0000002.8421.001.0021.00
##FFFFFF7.401.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #772cb8;
/* rgb */ color: rgb(119, 44, 184);
/* oklch */ color: oklch(47.7% 0.206 303.7);
Tailwind
colors: {
  custom: {
    50: '#a46dce',
    500: '#772cb8',
    950: '#000000',
  },
}
SCSS
$custom: #772cb8;
$custom-light: #a46dce;
$custom-dark: #000000;
JSON
{
  "hex": "#772cb8",
  "rgb": {
    "r": 119,
    "g": 44,
    "b": 184
  },
  "hsl": {
    "h": 272.143,
    "s": 61.404,
    "l": 44.706
  },
  "oklch": {
    "l": 0.47691,
    "c": 0.20571,
    "h": 303.7
  },
  "luminance": 0.09184
}

Semantic roles & 50–950 ramp

primary
#772CB8
secondary
#9DC977
accent
#E5438E
background
#FAF6FC
surface
#F4ECF9
border
#CEC7D2
text
#100814
muted
#7F7B82

Preview Lab

Preview with #772CB8

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

Preview Lab → · Contrast checker → · Palette generator →

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