#772AB8#772AB8

#772AB8 is a mid, highly saturated violet. Relative luminance 0.090; OKLCH L 47.5% C 0.208 H 303.9°. Best body text is #FFFFFF at 7.48:1 contrast (WCAG AA passes).

Color values

HEX#772AB8
RGBrgb(119, 42, 184)
HSLhsl(273, 63%, 44%)
HSVhsv(273, 77%, 72%)
CMYKcmyk(35.3%, 77.2%, 0%, 27.8%)
CIE-LABlab(36.06, 57.79, -60.51)
CIE-LCHlch(36.06, 83.68, 313.68°)
OKLaboklab(47.5% 0.1158 -0.1725)
OKLCHoklch(47.5% 0.208 303.9)
XYZxyz(17.0854, 9.0386, 46.1826)
Luminance0.0904 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#772AB8 #6BB82A
analogous
#302AB8 #772AB8 #B82AB2
triadic
#772AB8 #B8772A #2AB877
tetradic
#772AB8 #B8302A #6BB82A #2AB2B8
square
#772AB8 #B8302A #6BB82A #2AB2B8
split-complementary
#772AB8 #B2B82A #2AB830
monochromatic
#371354 #571F86 #772AB8 #964AD6 #B27BE1

Accessibility & contrast

On white

7.48
#772AB8 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.81
#772AB8 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #772AB8
7.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##772AB8#FFFFFF#000000##FFFFFF
##772AB81.007.482.817.48
#FFFFFF7.481.0021.001.00
#0000002.8121.001.0021.00
##FFFFFF7.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0053BC
Deuteranopia (green-blind)
#0055B5
Tritanopia (blue-blind)
#6A4F70
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #772ab8;
/* rgb */ color: rgb(119, 42, 184);
/* oklch */ color: oklch(47.5% 0.208 303.9);
Tailwind
colors: {
  custom: {
    50: '#a46cce',
    500: '#772ab8',
    950: '#000000',
  },
}
SCSS
$custom: #772ab8;
$custom-light: #a46cce;
$custom-dark: #000000;
JSON
{
  "hex": "#772ab8",
  "rgb": {
    "r": 119,
    "g": 42,
    "b": 184
  },
  "hsl": {
    "h": 272.535,
    "s": 62.832,
    "l": 44.314
  },
  "oklch": {
    "l": 0.47496,
    "c": 0.20776,
    "h": 303.9
  },
  "luminance": 0.09039
}

Semantic roles & 50–950 ramp

primary
#772AB8
secondary
#9BC975
accent
#E6428D
background
#FAF6FC
surface
#F4ECF9
border
#CEC7D2
text
#100714
muted
#7F7A82

Preview Lab

Preview with #772AB8

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

Preview Lab → · Contrast checker → · Palette generator →

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