#732CA5#732CA5

#732CA5 is a mid, vivid violet. Relative luminance 0.082; OKLCH L 45.7% C 0.186 H 307.3°. Best body text is #FFFFFF at 7.98:1 contrast (WCAG AA passes).

Color values

HEX#732CA5
RGBrgb(115, 44, 165)
HSLhsl(275, 58%, 41%)
HSVhsv(275, 73%, 65%)
CMYKcmyk(30.3%, 73.3%, 0%, 35.3%)
CIE-LABlab(34.32, 51.86, -52.03)
CIE-LCHlch(34.32, 73.46, 314.91°)
OKLaboklab(45.69% 0.1124 -0.1477)
OKLCHoklch(45.69% 0.186 307.3)
XYZxyz(14.7610, 8.1630, 36.3880)
Luminance0.0816 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#732CA5 #5EA52C
analogous
#372CA5 #732CA5 #A52C9A
triadic
#732CA5 #A5732C #2CA573
tetradic
#732CA5 #A5372C #5EA52C #2C9AA5
square
#732CA5 #A5372C #5EA52C #2C9AA5
split-complementary
#732CA5 #9AA52C #2CA537
monochromatic
#301244 #511F75 #732CA5 #9342CD #AF72D9

Accessibility & contrast

On white

7.98
#732CA5 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.63
#732CA5 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #732CA5
7.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##732CA5#FFFFFF#000000##FFFFFF
##732CA51.007.982.637.98
#FFFFFF7.981.0021.001.00
#0000002.6321.001.0021.00
##FFFFFF7.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004EA8
Deuteranopia (green-blind)
#0051A2
Tritanopia (blue-blind)
#6B4866
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #732ca5;
/* rgb */ color: rgb(115, 44, 165);
/* oklch */ color: oklch(45.7% 0.186 307.3);
Tailwind
colors: {
  custom: {
    50: '#a06cc0',
    500: '#732ca5',
    950: '#000000',
  },
}
SCSS
$custom: #732ca5;
$custom-light: #a06cc0;
$custom-dark: #000000;
JSON
{
  "hex": "#732ca5",
  "rgb": {
    "r": 115,
    "g": 44,
    "b": 165
  },
  "hsl": {
    "h": 275.207,
    "s": 57.895,
    "l": 40.98
  },
  "oklch": {
    "l": 0.45692,
    "c": 0.1856,
    "h": 307.3
  },
  "luminance": 0.08163
}

Semantic roles & 50–950 ramp

primary
#732CA5
secondary
#8FC16C
accent
#E14786
background
#FAF6FB
surface
#F4ECF7
border
#CEC7D0
text
#0F0712
muted
#7F7A81

Preview Lab

Preview with #732CA5

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

Preview Lab → · Contrast checker → · Palette generator →

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