#772FBE#772FBE

#772FBE is a mid, highly saturated violet. Relative luminance 0.097; OKLCH L 48.5% C 0.209 H 301.8°. Best body text is #FFFFFF at 7.16:1 contrast (WCAG AA passes).

Color values

HEX#772FBE
RGBrgb(119, 47, 190)
HSLhsl(270, 60%, 46%)
HSVhsv(270, 75%, 75%)
CMYKcmyk(37.4%, 75.3%, 0%, 25.5%)
CIE-LABlab(37.25, 57.17, -62.11)
CIE-LCHlch(37.25, 84.41, 312.63°)
OKLaboklab(48.48% 0.11 -0.1772)
OKLCHoklch(48.48% 0.209 301.8)
XYZxyz(17.9163, 9.6726, 49.6283)
Luminance0.0967 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#772FBE #76BE2F
analogous
#302FBE #772FBE #BE2FBE
triadic
#772FBE #BE772F #2FBE77
tetradic
#772FBE #BE302F #76BE2F #2FBEBE
square
#772FBE #BE302F #76BE2F #2FBEBE
split-complementary
#772FBE #BEBE2F #2FBE30
monochromatic
#3A175C #58238D #772FBE #9655D5 #B486E1

Accessibility & contrast

On white

7.16
#772FBE on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.93
#772FBE on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #772FBE
7.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##772FBE#FFFFFF#000000##FFFFFF
##772FBE1.007.162.937.16
#FFFFFF7.161.0021.001.00
#0000002.9321.001.0021.00
##FFFFFF7.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0057C2
Deuteranopia (green-blind)
#0057BB
Tritanopia (blue-blind)
#685475
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #772fbe;
/* rgb */ color: rgb(119, 47, 190);
/* oklch */ color: oklch(48.5% 0.209 301.8);
Tailwind
colors: {
  custom: {
    50: '#a46fd3',
    500: '#772fbe',
    950: '#000000',
  },
}
SCSS
$custom: #772fbe;
$custom-light: #a46fd3;
$custom-dark: #000000;
JSON
{
  "hex": "#772fbe",
  "rgb": {
    "r": 119,
    "g": 47,
    "b": 190
  },
  "hsl": {
    "h": 270.21,
    "s": 60.338,
    "l": 46.471
  },
  "oklch": {
    "l": 0.48481,
    "c": 0.2086,
    "h": 301.8
  },
  "luminance": 0.09673
}

Semantic roles & 50–950 ramp

primary
#772FBE
secondary
#A4CB7E
accent
#E34493
background
#FAF7FD
surface
#F4EDFA
border
#CEC8D3
text
#100814
muted
#7F7B83

Preview Lab

Preview with #772FBE

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

Preview Lab → · Contrast checker → · Palette generator →

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