#772DAF#772DAF

#772DAF is a mid, vivid violet. Relative luminance 0.089; OKLCH L 47.1% C 0.196 H 306.0°. Best body text is #FFFFFF at 7.56:1 contrast (WCAG AA passes).

Color values

HEX#772DAF
RGBrgb(119, 45, 175)
HSLhsl(274, 59%, 43%)
HSVhsv(274, 74%, 69%)
CMYKcmyk(32%, 74.3%, 0%, 31.4%)
CIE-LABlab(35.78, 54.50, -55.63)
CIE-LCHlch(35.78, 77.88, 314.42°)
OKLaboklab(47.08% 0.1151 -0.1582)
OKLCHoklch(47.08% 0.196 306)
XYZxyz(16.2823, 8.8940, 41.4081)
Luminance0.0889 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#772DAF #65AF2D
analogous
#362DAF #772DAF #AF2DA6
triadic
#772DAF #AF772D #2DAF77
tetradic
#772DAF #AF362D #65AF2D #2DA6AF
square
#772DAF #AF362D #65AF2D #2DA6AF
split-complementary
#772DAF #A6AF2D #2DAF36
monochromatic
#35144E #56207E #772DAF #9649D0 #B27ADD

Accessibility & contrast

On white

7.56
#772DAF on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.78
#772DAF on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #772DAF
7.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##772DAF#FFFFFF#000000##FFFFFF
##772DAF1.007.562.787.56
#FFFFFF7.561.0021.001.00
#0000002.7821.001.0021.00
##FFFFFF7.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0052B3
Deuteranopia (green-blind)
#0054AC
Tritanopia (blue-blind)
#6D4C6C
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #772daf;
/* rgb */ color: rgb(119, 45, 175);
/* oklch */ color: oklch(47.1% 0.196 306.0);
Tailwind
colors: {
  custom: {
    50: '#a36dc8',
    500: '#772daf',
    950: '#000000',
  },
}
SCSS
$custom: #772daf;
$custom-light: #a36dc8;
$custom-dark: #000000;
JSON
{
  "hex": "#772daf",
  "rgb": {
    "r": 119,
    "g": 45,
    "b": 175
  },
  "hsl": {
    "h": 274.154,
    "s": 59.091,
    "l": 43.137
  },
  "oklch": {
    "l": 0.47079,
    "c": 0.19559,
    "h": 306
  },
  "luminance": 0.08894
}

Semantic roles & 50–950 ramp

primary
#772DAF
secondary
#96C573
accent
#E24689
background
#FAF6FC
surface
#F4ECF8
border
#CEC7D1
text
#100713
muted
#7F7A82

Preview Lab

Preview with #772DAF

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

Preview Lab → · Contrast checker → · Palette generator →

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