#732CB7#732CB7

#732CB7 is a mid, highly saturated violet. Relative luminance 0.089; OKLCH L 47.1% C 0.204 H 302.2°. Best body text is #FFFFFF at 7.57:1 contrast (WCAG AA passes).

Color values

HEX#732CB7
RGBrgb(115, 44, 183)
HSLhsl(271, 61%, 45%)
HSVhsv(271, 76%, 72%)
CMYKcmyk(37.2%, 76%, 0%, 28.2%)
CIE-LABlab(35.72, 56.07, -60.49)
CIE-LCHlch(35.72, 82.48, 312.83°)
OKLaboklab(47.12% 0.1086 -0.1726)
OKLCHoklch(47.12% 0.204 302.2)
XYZxyz(16.5161, 8.8650, 45.6316)
Luminance0.0887 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#732CB7 #70B72C
analogous
#2D2CB7 #732CB7 #B72CB6
triadic
#732CB7 #B7732C #2CB773
tetradic
#732CB7 #B72D2C #70B72C #2CB6B7
square
#732CB7 #B72D2C #70B72C #2CB6B7
split-complementary
#732CB7 #B6B72C #2CB72D
monochromatic
#351454 #542086 #732CB7 #924CD4 #B07EE0

Accessibility & contrast

On white

7.57
#732CB7 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.77
#732CB7 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #732CB7
7.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##732CB7#FFFFFF#000000##FFFFFF
##732CB71.007.572.777.57
#FFFFFF7.571.0021.001.00
#0000002.7721.001.0021.00
##FFFFFF7.571.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #732cb7;
/* rgb */ color: rgb(115, 44, 183);
/* oklch */ color: oklch(47.1% 0.204 302.2);
Tailwind
colors: {
  custom: {
    50: '#a16dce',
    500: '#732cb7',
    950: '#000000',
  },
}
SCSS
$custom: #732cb7;
$custom-light: #a16dce;
$custom-dark: #000000;
JSON
{
  "hex": "#732cb7",
  "rgb": {
    "r": 115,
    "g": 44,
    "b": 183
  },
  "hsl": {
    "h": 270.647,
    "s": 61.233,
    "l": 44.51
  },
  "oklch": {
    "l": 0.47121,
    "c": 0.20393,
    "h": 302.2
  },
  "luminance": 0.08865
}

Semantic roles & 50–950 ramp

primary
#732CB7
secondary
#9FC876
accent
#E44392
background
#FAF6FC
surface
#F4ECF9
border
#CEC7D2
text
#100714
muted
#7F7A82

Preview Lab

Preview with #732CB7

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

Preview Lab → · Contrast checker → · Palette generator →

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