#772FBC#772FBC

#772FBC is a mid, highly saturated violet. Relative luminance 0.096; OKLCH L 48.3% C 0.207 H 302.3°. Best body text is #FFFFFF at 7.20:1 contrast (WCAG AA passes).

Color values

HEX#772FBC
RGBrgb(119, 47, 188)
HSLhsl(271, 60%, 46%)
HSVhsv(271, 75%, 74%)
CMYKcmyk(36.7%, 75%, 0%, 26.3%)
CIE-LABlab(37.09, 56.69, -61.19)
CIE-LCHlch(37.09, 83.42, 312.81°)
OKLaboklab(48.32% 0.1105 -0.1745)
OKLCHoklch(48.32% 0.207 302.3)
XYZxyz(17.6992, 9.5858, 48.4850)
Luminance0.0959 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#772FBC #74BC2F
analogous
#302FBC #772FBC #BC2FBA
triadic
#772FBC #BC772F #2FBC77
tetradic
#772FBC #BC302F #74BC2F #2FBABC
square
#772FBC #BC302F #74BC2F #2FBABC
split-complementary
#772FBC #BABC2F #2FBC30
monochromatic
#39175A #58238B #772FBC #9554D4 #B485E0

Accessibility & contrast

On white

7.20
#772FBC on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.92
#772FBC on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #772FBC
7.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##772FBC#FFFFFF#000000##FFFFFF
##772FBC1.007.202.927.20
#FFFFFF7.201.0021.001.00
#0000002.9221.001.0021.00
##FFFFFF7.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0056C0
Deuteranopia (green-blind)
#0057B9
Tritanopia (blue-blind)
#685374
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #772fbc;
/* rgb */ color: rgb(119, 47, 188);
/* oklch */ color: oklch(48.3% 0.207 302.3);
Tailwind
colors: {
  custom: {
    50: '#a46fd1',
    500: '#772fbc',
    950: '#000000',
  },
}
SCSS
$custom: #772fbc;
$custom-light: #a46fd1;
$custom-dark: #000000;
JSON
{
  "hex": "#772fbc",
  "rgb": {
    "r": 119,
    "g": 47,
    "b": 188
  },
  "hsl": {
    "h": 270.638,
    "s": 60,
    "l": 46.078
  },
  "oklch": {
    "l": 0.48319,
    "c": 0.20657,
    "h": 302.3
  },
  "luminance": 0.09586
}

Semantic roles & 50–950 ramp

primary
#772FBC
secondary
#A3CA7D
accent
#E34592
background
#FAF7FD
surface
#F4EDFA
border
#CEC8D3
text
#100814
muted
#7F7B83

Preview Lab

Preview with #772FBC

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

Preview Lab → · Contrast checker → · Palette generator →

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