#7732B2#7732B2

#7732B2 is a mid, vivid violet. Relative luminance 0.094; OKLCH L 47.9% C 0.193 H 304.6°. Best body text is #FFFFFF at 7.28:1 contrast (WCAG AA passes).

Color values

HEX#7732B2
RGBrgb(119, 50, 178)
HSLhsl(272, 56%, 45%)
HSVhsv(272, 72%, 70%)
CMYKcmyk(33.1%, 71.9%, 0%, 30.2%)
CIE-LABlab(36.78, 53.02, -55.79)
CIE-LCHlch(36.78, 76.97, 313.54°)
OKLaboklab(47.86% 0.1096 -0.1587)
OKLCHoklch(47.86% 0.193 304.6)
XYZxyz(16.7824, 9.4176, 43.0445)
Luminance0.0942 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7732B2 #6DB232
analogous
#3732B2 #7732B2 #B232AD
triadic
#7732B2 #B27732 #32B277
tetradic
#7732B2 #B23732 #6DB232 #32ADB2
square
#7732B2 #B23732 #6DB232 #32ADB2
split-complementary
#7732B2 #ADB232 #32B237
monochromatic
#371752 #572582 #7732B2 #9553CF #B382DC

Accessibility & contrast

On white

7.28
#7732B2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.88
#7732B2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7732B2
7.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7732B2#FFFFFF#000000##FFFFFF
##7732B21.007.282.887.28
#FFFFFF7.281.0021.001.00
#0000002.8821.001.0021.00
##FFFFFF7.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0055B6
Deuteranopia (green-blind)
#0057AF
Tritanopia (blue-blind)
#6C506F
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #7732b2;
/* rgb */ color: rgb(119, 50, 178);
/* oklch */ color: oklch(47.9% 0.193 304.6);
Tailwind
colors: {
  custom: {
    50: '#a370ca',
    500: '#7732b2',
    950: '#000000',
  },
}
SCSS
$custom: #7732b2;
$custom-light: #a370ca;
$custom-dark: #000000;
JSON
{
  "hex": "#7732b2",
  "rgb": {
    "r": 119,
    "g": 50,
    "b": 178
  },
  "hsl": {
    "h": 272.344,
    "s": 56.14,
    "l": 44.706
  },
  "oklch": {
    "l": 0.47857,
    "c": 0.19287,
    "h": 304.6
  },
  "luminance": 0.09417
}

Semantic roles & 50–950 ramp

primary
#7732B2
secondary
#9DC57B
accent
#DF488E
background
#FAF7FC
surface
#F4EDF8
border
#CEC8D1
text
#100813
muted
#7F7B82

Preview Lab

Preview with #7732B2

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

Preview Lab → · Contrast checker → · Palette generator →

#7732B2 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva