#772FAF#772FAF

#772FAF is a mid, vivid violet. Relative luminance 0.090; OKLCH L 47.3% C 0.193 H 305.8°. Best body text is #FFFFFF at 7.47:1 contrast (WCAG AA passes).

Color values

HEX#772FAF
RGBrgb(119, 47, 175)
HSLhsl(274, 58%, 44%)
HSVhsv(274, 73%, 69%)
CMYKcmyk(32%, 73.1%, 0%, 31.4%)
CIE-LABlab(36.08, 53.65, -55.14)
CIE-LCHlch(36.08, 76.93, 314.22°)
OKLaboklab(47.29% 0.1132 -0.1567)
OKLCHoklch(47.29% 0.193 305.8)
XYZxyz(16.3604, 9.0503, 41.4341)
Luminance0.0905 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#772FAF #67AF2F
analogous
#372FAF #772FAF #AF2FA7
triadic
#772FAF #AF772F #2FAF77
tetradic
#772FAF #AF372F #67AF2F #2FA7AF
square
#772FAF #AF372F #67AF2F #2FA7AF
split-complementary
#772FAF #A7AF2F #2FAF37
monochromatic
#35154F #56227F #772FAF #964CCF #B27CDC

Accessibility & contrast

On white

7.47
#772FAF on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #772FAF
7.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##772FAF#FFFFFF#000000##FFFFFF
##772FAF1.007.472.817.47
#FFFFFF7.471.0021.001.00
#0000002.8121.001.0021.00
##FFFFFF7.471.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0053B3
Deuteranopia (green-blind)
#0055AC
Tritanopia (blue-blind)
#6D4E6C
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #772faf;
/* rgb */ color: rgb(119, 47, 175);
/* oklch */ color: oklch(47.3% 0.193 305.8);
Tailwind
colors: {
  custom: {
    50: '#a36ec8',
    500: '#772faf',
    950: '#000000',
  },
}
SCSS
$custom: #772faf;
$custom-light: #a36ec8;
$custom-dark: #000000;
JSON
{
  "hex": "#772faf",
  "rgb": {
    "r": 119,
    "g": 47,
    "b": 175
  },
  "hsl": {
    "h": 273.75,
    "s": 57.658,
    "l": 43.529
  },
  "oklch": {
    "l": 0.47293,
    "c": 0.19331,
    "h": 305.8
  },
  "luminance": 0.0905
}

Semantic roles & 50–950 ramp

primary
#772FAF
secondary
#98C475
accent
#E1478A
background
#FAF6FC
surface
#F4ECF8
border
#CEC7D1
text
#100813
muted
#7F7B82

Preview Lab

Preview with #772FAF

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

Preview Lab → · Contrast checker → · Palette generator →

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