#732EB7#732EB7

#732EB7 is a mid, highly saturated violet. Relative luminance 0.090; OKLCH L 47.3% C 0.202 H 302.0°. Best body text is #FFFFFF at 7.49:1 contrast (WCAG AA passes).

Color values

HEX#732EB7
RGBrgb(115, 46, 183)
HSLhsl(270, 60%, 45%)
HSVhsv(270, 75%, 72%)
CMYKcmyk(37.2%, 74.9%, 0%, 28.2%)
CIE-LABlab(36.02, 55.23, -60.01)
CIE-LCHlch(36.02, 81.55, 312.62°)
OKLaboklab(47.33% 0.1068 -0.1712)
OKLCHoklch(47.33% 0.202 302)
XYZxyz(16.5924, 9.0177, 45.6570)
Luminance0.0902 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#732EB7 #72B72E
analogous
#2F2EB7 #732EB7 #B72EB6
triadic
#732EB7 #B7732E #2EB773
tetradic
#732EB7 #B72F2E #72B72E #2EB6B7
square
#732EB7 #B72F2E #72B72E #2EB6B7
split-complementary
#732EB7 #B6B72E #2EB72F
monochromatic
#361555 #542286 #732EB7 #924FD3 #B080DF

Accessibility & contrast

On white

7.49
#732EB7 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.80
#732EB7 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #732EB7
7.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##732EB7#FFFFFF#000000##FFFFFF
##732EB71.007.492.807.49
#FFFFFF7.491.0021.001.00
#0000002.8021.001.0021.00
##FFFFFF7.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0054BB
Deuteranopia (green-blind)
#0054B4
Tritanopia (blue-blind)
#645171
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #732eb7;
/* rgb */ color: rgb(115, 46, 183);
/* oklch */ color: oklch(47.3% 0.202 302.0);
Tailwind
colors: {
  custom: {
    50: '#a16ece',
    500: '#732eb7',
    950: '#000000',
  },
}
SCSS
$custom: #732eb7;
$custom-light: #a16ece;
$custom-dark: #000000;
JSON
{
  "hex": "#732eb7",
  "rgb": {
    "r": 115,
    "g": 46,
    "b": 183
  },
  "hsl": {
    "h": 270.219,
    "s": 59.825,
    "l": 44.902
  },
  "oklch": {
    "l": 0.47328,
    "c": 0.20179,
    "h": 302
  },
  "luminance": 0.09018
}

Semantic roles & 50–950 ramp

primary
#732EB7
secondary
#A0C879
accent
#E34593
background
#FAF6FC
surface
#F4ECF9
border
#CEC7D2
text
#100814
muted
#7F7B82

Preview Lab

Preview with #732EB7

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

Preview Lab → · Contrast checker → · Palette generator →

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