#772BB0#772BB0

#772BB0 is a mid, vivid violet. Relative luminance 0.088; OKLCH L 47.0% C 0.199 H 306.0°. Best body text is #FFFFFF at 7.62:1 contrast (WCAG AA passes).

Color values

HEX#772BB0
RGBrgb(119, 43, 176)
HSLhsl(274, 61%, 43%)
HSVhsv(274, 76%, 69%)
CMYKcmyk(32.4%, 75.6%, 0%, 31%)
CIE-LABlab(35.57, 55.56, -56.57)
CIE-LCHlch(35.57, 79.29, 314.49°)
OKLaboklab(46.95% 0.1168 -0.1609)
OKLCHoklch(46.95% 0.199 306)
XYZxyz(16.3064, 8.7844, 41.9024)
Luminance0.0878 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#772BB0 #64B02B
analogous
#352BB0 #772BB0 #B02BA6
triadic
#772BB0 #B0772B #2BB077
tetradic
#772BB0 #B0352B #64B02B #2BA6B0
square
#772BB0 #B0352B #64B02B #2BA6B0
split-complementary
#772BB0 #A6B02B #2BB035
monochromatic
#34134E #561F7F #772BB0 #9646D2 #B278DE

Accessibility & contrast

On white

7.62
#772BB0 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.76
#772BB0 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #772BB0
7.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##772BB0#FFFFFF#000000##FFFFFF
##772BB01.007.622.767.62
#FFFFFF7.621.0021.001.00
#0000002.7621.001.0021.00
##FFFFFF7.621.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #772bb0;
/* rgb */ color: rgb(119, 43, 176);
/* oklch */ color: oklch(47.0% 0.199 306.0);
Tailwind
colors: {
  custom: {
    50: '#a36cc8',
    500: '#772bb0',
    950: '#000000',
  },
}
SCSS
$custom: #772bb0;
$custom-light: #a36cc8;
$custom-dark: #000000;
JSON
{
  "hex": "#772bb0",
  "rgb": {
    "r": 119,
    "g": 43,
    "b": 176
  },
  "hsl": {
    "h": 274.286,
    "s": 60.731,
    "l": 42.941
  },
  "oklch": {
    "l": 0.46953,
    "c": 0.1988,
    "h": 306
  },
  "luminance": 0.08784
}

Semantic roles & 50–950 ramp

primary
#772BB0
secondary
#95C671
accent
#E44488
background
#FAF6FC
surface
#F4ECF8
border
#CEC7D1
text
#100713
muted
#7F7A82

Preview Lab

Preview with #772BB0

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

Preview Lab → · Contrast checker → · Palette generator →

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