#732DB7#732DB7

#732DB7 is a mid, highly saturated violet. Relative luminance 0.089; OKLCH L 47.2% C 0.203 H 302.1°. Best body text is #FFFFFF at 7.53:1 contrast (WCAG AA passes).

Color values

HEX#732DB7
RGBrgb(115, 45, 183)
HSLhsl(270, 61%, 45%)
HSVhsv(270, 75%, 72%)
CMYKcmyk(37.2%, 75.4%, 0%, 28.2%)
CIE-LABlab(35.87, 55.65, -60.25)
CIE-LCHlch(35.87, 82.02, 312.73°)
OKLaboklab(47.22% 0.1077 -0.1719)
OKLCHoklch(47.22% 0.203 302.1)
XYZxyz(16.5538, 8.9404, 45.6441)
Luminance0.0894 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#732DB7 #71B72D
analogous
#2E2DB7 #732DB7 #B72DB6
triadic
#732DB7 #B7732D #2DB773
tetradic
#732DB7 #B72E2D #71B72D #2DB6B7
square
#732DB7 #B72E2D #71B72D #2DB6B7
split-complementary
#732DB7 #B6B72D #2DB72E
monochromatic
#351555 #542186 #732DB7 #924ED3 #B07FDF

Accessibility & contrast

On white

7.53
#732DB7 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.79
#732DB7 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #732DB7
7.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##732DB7#FFFFFF#000000##FFFFFF
##732DB71.007.532.797.53
#FFFFFF7.531.0021.001.00
#0000002.7921.001.0021.00
##FFFFFF7.531.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0053BB
Deuteranopia (green-blind)
#0054B4
Tritanopia (blue-blind)
#645070
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #732db7;
/* rgb */ color: rgb(115, 45, 183);
/* oklch */ color: oklch(47.2% 0.203 302.1);
Tailwind
colors: {
  custom: {
    50: '#a16dce',
    500: '#732db7',
    950: '#000000',
  },
}
SCSS
$custom: #732db7;
$custom-light: #a16dce;
$custom-dark: #000000;
JSON
{
  "hex": "#732db7",
  "rgb": {
    "r": 115,
    "g": 45,
    "b": 183
  },
  "hsl": {
    "h": 270.435,
    "s": 60.526,
    "l": 44.706
  },
  "oklch": {
    "l": 0.47224,
    "c": 0.20286,
    "h": 302.1
  },
  "luminance": 0.08941
}

Semantic roles & 50–950 ramp

primary
#732DB7
secondary
#9FC878
accent
#E44493
background
#FAF6FC
surface
#F4ECF9
border
#CEC7D2
text
#100714
muted
#7F7A82

Preview Lab

Preview with #732DB7

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

Preview Lab → · Contrast checker → · Palette generator →

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