#732CA7#732CA7

#732CA7 is a mid, vivid violet. Relative luminance 0.082; OKLCH L 45.8% C 0.188 H 306.6°. Best body text is #FFFFFF at 7.93:1 contrast (WCAG AA passes).

Color values

HEX#732CA7
RGBrgb(115, 44, 167)
HSLhsl(275, 58%, 41%)
HSVhsv(275, 74%, 65%)
CMYKcmyk(31.1%, 73.7%, 0%, 34.5%)
CIE-LABlab(34.47, 52.32, -52.99)
CIE-LCHlch(34.47, 74.47, 314.64°)
OKLaboklab(45.85% 0.112 -0.1505)
OKLCHoklch(45.85% 0.188 306.6)
XYZxyz(14.9445, 8.2364, 37.3542)
Luminance0.0824 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#732CA7 #60A72C
analogous
#362CA7 #732CA7 #A72C9E
triadic
#732CA7 #A7732C #2CA773
tetradic
#732CA7 #A7362C #60A72C #2C9EA7
square
#732CA7 #A7362C #60A72C #2C9EA7
split-complementary
#732CA7 #9EA72C #2CA736
monochromatic
#301246 #521F77 #732CA7 #9343CD #AF73DA

Accessibility & contrast

On white

7.93
#732CA7 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.65
#732CA7 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #732CA7
7.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##732CA7#FFFFFF#000000##FFFFFF
##732CA71.007.932.657.93
#FFFFFF7.931.0021.001.00
#0000002.6521.001.0021.00
##FFFFFF7.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004FAB
Deuteranopia (green-blind)
#0051A4
Tritanopia (blue-blind)
#6A4967
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #732ca7;
/* rgb */ color: rgb(115, 44, 167);
/* oklch */ color: oklch(45.8% 0.188 306.6);
Tailwind
colors: {
  custom: {
    50: '#a06cc2',
    500: '#732ca7',
    950: '#000000',
  },
}
SCSS
$custom: #732ca7;
$custom-light: #a06cc2;
$custom-dark: #000000;
JSON
{
  "hex": "#732ca7",
  "rgb": {
    "r": 115,
    "g": 44,
    "b": 167
  },
  "hsl": {
    "h": 274.634,
    "s": 58.294,
    "l": 41.373
  },
  "oklch": {
    "l": 0.45846,
    "c": 0.18763,
    "h": 306.6
  },
  "luminance": 0.08236
}

Semantic roles & 50–950 ramp

primary
#732CA7
secondary
#91C26D
accent
#E24688
background
#FAF6FC
surface
#F4ECF8
border
#CEC7D1
text
#0F0712
muted
#7F7A81

Preview Lab

Preview with #732CA7

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

Preview Lab → · Contrast checker → · Palette generator →

#732CA7 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva