#7732B5#7732B5

#7732B5 is a mid, vivid violet. Relative luminance 0.095; OKLCH L 48.1% C 0.196 H 303.8°. Best body text is #FFFFFF at 7.22:1 contrast (WCAG AA passes).

Color values

HEX#7732B5
RGBrgb(119, 50, 181)
HSLhsl(272, 57%, 45%)
HSVhsv(272, 72%, 71%)
CMYKcmyk(34.3%, 72.4%, 0%, 29%)
CIE-LABlab(37.00, 53.73, -57.20)
CIE-LCHlch(37.00, 78.48, 313.21°)
OKLaboklab(48.09% 0.1091 -0.1628)
OKLCHoklch(48.09% 0.196 303.8)
XYZxyz(17.0869, 9.5394, 44.6482)
Luminance0.0954 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7732B5 #70B532
analogous
#3532B5 #7732B5 #B532B1
triadic
#7732B5 #B57732 #32B577
tetradic
#7732B5 #B53532 #70B532 #32B1B5
square
#7732B5 #B53532 #70B532 #32B1B5
split-complementary
#7732B5 #B1B532 #32B535
monochromatic
#381855 #572585 #7732B5 #9554D0 #B384DD

Accessibility & contrast

On white

7.22
#7732B5 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.91
#7732B5 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7732B5
7.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7732B5#FFFFFF#000000##FFFFFF
##7732B51.007.222.917.22
#FFFFFF7.221.0021.001.00
#0000002.9121.001.0021.00
##FFFFFF7.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0056B9
Deuteranopia (green-blind)
#0057B2
Tritanopia (blue-blind)
#6B5270
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #7732b5;
/* rgb */ color: rgb(119, 50, 181);
/* oklch */ color: oklch(48.1% 0.196 303.8);
Tailwind
colors: {
  custom: {
    50: '#a470cc',
    500: '#7732b5',
    950: '#000000',
  },
}
SCSS
$custom: #7732b5;
$custom-light: #a470cc;
$custom-dark: #000000;
JSON
{
  "hex": "#7732b5",
  "rgb": {
    "r": 119,
    "g": 50,
    "b": 181
  },
  "hsl": {
    "h": 271.603,
    "s": 56.71,
    "l": 45.294
  },
  "oklch": {
    "l": 0.48088,
    "c": 0.196,
    "h": 303.8
  },
  "luminance": 0.09539
}

Semantic roles & 50–950 ramp

primary
#7732B5
secondary
#9FC77C
accent
#E04890
background
#FAF7FC
surface
#F4EDF9
border
#CEC8D2
text
#100813
muted
#7F7B82

Preview Lab

Preview with #7732B5

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

Preview Lab → · Contrast checker → · Palette generator →

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