#772CBF#772CBF

#772CBF is a mid, highly saturated violet. Relative luminance 0.095; OKLCH L 48.3% C 0.213 H 301.9°. Best body text is #FFFFFF at 7.25:1 contrast (WCAG AA passes).

Color values

HEX#772CBF
RGBrgb(119, 44, 191)
HSLhsl(271, 63%, 46%)
HSVhsv(271, 77%, 75%)
CMYKcmyk(37.7%, 77%, 0%, 25.1%)
CIE-LABlab(36.90, 58.63, -63.26)
CIE-LCHlch(36.90, 86.25, 312.82°)
OKLaboklab(48.26% 0.1124 -0.1806)
OKLCHoklch(48.26% 0.213 301.9)
XYZxyz(17.9101, 9.4848, 50.1673)
Luminance0.0949 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#772CBF #74BF2C
analogous
#2D2CBF #772CBF #BF2CBD
triadic
#772CBF #BF772C #2CBF77
tetradic
#772CBF #BF2D2C #74BF2C #2CBDBF
square
#772CBF #BF2D2C #74BF2C #2CBDBF
split-complementary
#772CBF #BDBF2C #2CBF2D
monochromatic
#39155C #58218D #772CBF #9551D7 #B483E2

Accessibility & contrast

On white

7.25
#772CBF on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.90
#772CBF on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #772CBF
7.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##772CBF#FFFFFF#000000##FFFFFF
##772CBF1.007.252.907.25
#FFFFFF7.251.0021.001.00
#0000002.9021.001.0021.00
##FFFFFF7.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0056C3
Deuteranopia (green-blind)
#0056BC
Tritanopia (blue-blind)
#675375
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #772cbf;
/* rgb */ color: rgb(119, 44, 191);
/* oklch */ color: oklch(48.3% 0.213 301.9);
Tailwind
colors: {
  custom: {
    50: '#a56ed3',
    500: '#772cbf',
    950: '#000000',
  },
}
SCSS
$custom: #772cbf;
$custom-light: #a56ed3;
$custom-dark: #000000;
JSON
{
  "hex": "#772cbf",
  "rgb": {
    "r": 119,
    "g": 44,
    "b": 191
  },
  "hsl": {
    "h": 270.612,
    "s": 62.553,
    "l": 46.078
  },
  "oklch": {
    "l": 0.48263,
    "c": 0.2127,
    "h": 301.9
  },
  "luminance": 0.09485
}

Semantic roles & 50–950 ramp

primary
#772CBF
secondary
#A3CC7B
accent
#E64292
background
#FAF6FD
surface
#F4ECFA
border
#CEC7D3
text
#100814
muted
#7F7B83

Preview Lab

Preview with #772CBF

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

Preview Lab → · Contrast checker → · Palette generator →

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