#772EAF#772EAF

#772EAF is a mid, vivid violet. Relative luminance 0.090; OKLCH L 47.2% C 0.194 H 305.9°. Best body text is #FFFFFF at 7.52:1 contrast (WCAG AA passes).

Color values

HEX#772EAF
RGBrgb(119, 46, 175)
HSLhsl(274, 58%, 43%)
HSVhsv(274, 74%, 69%)
CMYKcmyk(32%, 73.7%, 0%, 31.4%)
CIE-LABlab(35.93, 54.08, -55.38)
CIE-LCHlch(35.93, 77.41, 314.32°)
OKLaboklab(47.19% 0.1141 -0.1574)
OKLCHoklch(47.19% 0.194 305.9)
XYZxyz(16.3209, 8.9712, 41.4209)
Luminance0.0897 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#772EAF #66AF2E
analogous
#362EAF #772EAF #AF2EA6
triadic
#772EAF #AF772E #2EAF77
tetradic
#772EAF #AF362E #66AF2E #2EA6AF
square
#772EAF #AF362E #66AF2E #2EA6AF
split-complementary
#772EAF #A6AF2E #2EAF36
monochromatic
#35154E #56217F #772EAF #964BD0 #B27BDC

Accessibility & contrast

On white

7.52
#772EAF on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.79
#772EAF on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #772EAF
7.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##772EAF#FFFFFF#000000##FFFFFF
##772EAF1.007.522.797.52
#FFFFFF7.521.0021.001.00
#0000002.7921.001.0021.00
##FFFFFF7.521.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #772eaf;
/* rgb */ color: rgb(119, 46, 175);
/* oklch */ color: oklch(47.2% 0.194 305.9);
Tailwind
colors: {
  custom: {
    50: '#a36ec8',
    500: '#772eaf',
    950: '#000000',
  },
}
SCSS
$custom: #772eaf;
$custom-light: #a36ec8;
$custom-dark: #000000;
JSON
{
  "hex": "#772eaf",
  "rgb": {
    "r": 119,
    "g": 46,
    "b": 175
  },
  "hsl": {
    "h": 273.953,
    "s": 58.371,
    "l": 43.333
  },
  "oklch": {
    "l": 0.47185,
    "c": 0.19446,
    "h": 305.9
  },
  "luminance": 0.08971
}

Semantic roles & 50–950 ramp

primary
#772EAF
secondary
#97C574
accent
#E2468A
background
#FAF6FC
surface
#F4ECF8
border
#CEC7D1
text
#100813
muted
#7F7B82

Preview Lab

Preview with #772EAF

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

Preview Lab → · Contrast checker → · Palette generator →

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