#772FBA#772FBA

#772FBA is a mid, highly saturated violet. Relative luminance 0.095; OKLCH L 48.2% C 0.205 H 302.9°. Best body text is #FFFFFF at 7.24:1 contrast (WCAG AA passes).

Color values

HEX#772FBA
RGBrgb(119, 47, 186)
HSLhsl(271, 60%, 46%)
HSVhsv(271, 75%, 73%)
CMYKcmyk(36%, 74.7%, 0%, 27.1%)
CIE-LABlab(36.93, 56.22, -60.27)
CIE-LCHlch(36.93, 82.42, 313.01°)
OKLaboklab(48.16% 0.111 -0.1718)
OKLCHoklch(48.16% 0.205 302.9)
XYZxyz(17.4851, 9.5001, 47.3574)
Luminance0.0950 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#772FBA #72BA2F
analogous
#312FBA #772FBA #BA2FB7
triadic
#772FBA #BA772F #2FBA77
tetradic
#772FBA #BA312F #72BA2F #2FB7BA
square
#772FBA #BA312F #72BA2F #2FB7BA
split-complementary
#772FBA #B7BA2F #2FBA31
monochromatic
#381658 #582389 #772FBA #9553D3 #B384E0

Accessibility & contrast

On white

7.24
#772FBA on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #772FBA
7.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##772FBA#FFFFFF#000000##FFFFFF
##772FBA1.007.242.907.24
#FFFFFF7.241.0021.001.00
#0000002.9021.001.0021.00
##FFFFFF7.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0056BE
Deuteranopia (green-blind)
#0056B7
Tritanopia (blue-blind)
#695272
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #772fba;
/* rgb */ color: rgb(119, 47, 186);
/* oklch */ color: oklch(48.2% 0.205 302.9);
Tailwind
colors: {
  custom: {
    50: '#a46fd0',
    500: '#772fba',
    950: '#000000',
  },
}
SCSS
$custom: #772fba;
$custom-light: #a46fd0;
$custom-dark: #000000;
JSON
{
  "hex": "#772fba",
  "rgb": {
    "r": 119,
    "g": 47,
    "b": 186
  },
  "hsl": {
    "h": 271.079,
    "s": 59.657,
    "l": 45.686
  },
  "oklch": {
    "l": 0.48158,
    "c": 0.20454,
    "h": 302.9
  },
  "luminance": 0.095
}

Semantic roles & 50–950 ramp

primary
#772FBA
secondary
#A1C97C
accent
#E34591
background
#FAF6FC
surface
#F4ECF9
border
#CEC7D2
text
#100814
muted
#7F7B82

Preview Lab

Preview with #772FBA

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

Preview Lab → · Contrast checker → · Palette generator →

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