#772CB0#772CB0

#772CB0 is a mid, vivid violet. Relative luminance 0.089; OKLCH L 47.1% C 0.198 H 305.9°. Best body text is #FFFFFF at 7.58:1 contrast (WCAG AA passes).

Color values

HEX#772CB0
RGBrgb(119, 44, 176)
HSLhsl(274, 60%, 43%)
HSVhsv(274, 75%, 69%)
CMYKcmyk(32.4%, 75%, 0%, 31%)
CIE-LABlab(35.71, 55.15, -56.34)
CIE-LCHlch(35.71, 78.84, 314.39°)
OKLaboklab(47.05% 0.1158 -0.1602)
OKLCHoklch(47.05% 0.198 305.9)
XYZxyz(16.3432, 8.8580, 41.9147)
Luminance0.0886 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#772CB0 #65B02C
analogous
#352CB0 #772CB0 #B02CA7
triadic
#772CB0 #B0772C #2CB077
tetradic
#772CB0 #B0352C #65B02C #2CA7B0
square
#772CB0 #B0352C #65B02C #2CA7B0
split-complementary
#772CB0 #A7B02C #2CB035
monochromatic
#35144E #56207F #772CB0 #9648D1 #B279DD

Accessibility & contrast

On white

7.58
#772CB0 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.77
#772CB0 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #772CB0
7.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##772CB0#FFFFFF#000000##FFFFFF
##772CB01.007.582.777.58
#FFFFFF7.581.0021.001.00
#0000002.7721.001.0021.00
##FFFFFF7.581.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0052B4
Deuteranopia (green-blind)
#0054AD
Tritanopia (blue-blind)
#6D4C6C
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #772cb0;
/* rgb */ color: rgb(119, 44, 176);
/* oklch */ color: oklch(47.1% 0.198 305.9);
Tailwind
colors: {
  custom: {
    50: '#a36dc8',
    500: '#772cb0',
    950: '#000000',
  },
}
SCSS
$custom: #772cb0;
$custom-light: #a36dc8;
$custom-dark: #000000;
JSON
{
  "hex": "#772cb0",
  "rgb": {
    "r": 119,
    "g": 44,
    "b": 176
  },
  "hsl": {
    "h": 274.091,
    "s": 60,
    "l": 43.137
  },
  "oklch": {
    "l": 0.47054,
    "c": 0.19771,
    "h": 305.9
  },
  "luminance": 0.08858
}

Semantic roles & 50–950 ramp

primary
#772CB0
secondary
#96C672
accent
#E34589
background
#FAF6FC
surface
#F4ECF8
border
#CEC7D1
text
#100713
muted
#7F7A82

Preview Lab

Preview with #772CB0

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

Preview Lab → · Contrast checker → · Palette generator →

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