#772ABF#772ABF

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

Color values

HEX#772ABF
RGBrgb(119, 42, 191)
HSLhsl(271, 64%, 46%)
HSVhsv(271, 78%, 75%)
CMYKcmyk(37.7%, 78%, 0%, 25.1%)
CIE-LABlab(36.63, 59.41, -63.71)
CIE-LCHlch(36.63, 87.11, 313.00°)
OKLaboklab(48.07% 0.114 -0.1819)
OKLCHoklch(48.07% 0.215 302.1)
XYZxyz(17.8374, 9.3394, 50.1431)
Luminance0.0934 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#772ABF #72BF2A
analogous
#2D2ABF #772ABF #BF2ABC
triadic
#772ABF #BF772A #2ABF77
tetradic
#772ABF #BF2D2A #72BF2A #2ABCBF
square
#772ABF #BF2D2A #72BF2A #2ABCBF
split-complementary
#772ABF #BCBF2A #2ABF2D
monochromatic
#38145B #581F8D #772ABF #954ED8 #B380E3

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##772ABF#FFFFFF#000000##FFFFFF
##772ABF1.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)
#0055C3
Deuteranopia (green-blind)
#0055BC
Tritanopia (blue-blind)
#675274
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #772abf;
/* rgb */ color: rgb(119, 42, 191);
/* oklch */ color: oklch(48.1% 0.215 302.1);
Tailwind
colors: {
  custom: {
    50: '#a56dd3',
    500: '#772abf',
    950: '#000000',
  },
}
SCSS
$custom: #772abf;
$custom-light: #a56dd3;
$custom-dark: #000000;
JSON
{
  "hex": "#772abf",
  "rgb": {
    "r": 119,
    "g": 42,
    "b": 191
  },
  "hsl": {
    "h": 271.007,
    "s": 63.948,
    "l": 45.686
  },
  "oklch": {
    "l": 0.48073,
    "c": 0.21466,
    "h": 302.1
  },
  "luminance": 0.09339
}

Semantic roles & 50–950 ramp

primary
#772ABF
secondary
#A1CC79
accent
#E74191
background
#FAF6FD
surface
#F4ECFA
border
#CEC7D3
text
#100714
muted
#7F7A83

Preview Lab

Preview with #772ABF

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

Preview Lab → · Contrast checker → · Palette generator →

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