#732EB5#732EB5

#732EB5 is a mid, vivid violet. Relative luminance 0.089; OKLCH L 47.2% C 0.200 H 302.5°. Best body text is #FFFFFF at 7.53:1 contrast (WCAG AA passes).

Color values

HEX#732EB5
RGBrgb(115, 46, 181)
HSLhsl(271, 59%, 45%)
HSVhsv(271, 75%, 71%)
CMYKcmyk(36.5%, 74.6%, 0%, 29%)
CIE-LABlab(35.86, 54.75, -59.09)
CIE-LCHlch(35.86, 80.55, 312.82°)
OKLaboklab(47.17% 0.1073 -0.1685)
OKLCHoklch(47.17% 0.2 302.5)
XYZxyz(16.3857, 8.9350, 44.5685)
Luminance0.0893 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#732EB5 #70B52E
analogous
#302EB5 #732EB5 #B52EB3
triadic
#732EB5 #B5732E #2EB573
tetradic
#732EB5 #B5302E #70B52E #2EB3B5
square
#732EB5 #B5302E #70B52E #2EB3B5
split-complementary
#732EB5 #B3B52E #2EB530
monochromatic
#351553 #542284 #732EB5 #924ED2 #B07FDE

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##732EB5#FFFFFF#000000##FFFFFF
##732EB51.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)
#0053B9
Deuteranopia (green-blind)
#0054B2
Tritanopia (blue-blind)
#65506F
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #732eb5;
/* rgb */ color: rgb(115, 46, 181);
/* oklch */ color: oklch(47.2% 0.200 302.5);
Tailwind
colors: {
  custom: {
    50: '#a16ecc',
    500: '#732eb5',
    950: '#000000',
  },
}
SCSS
$custom: #732eb5;
$custom-light: #a16ecc;
$custom-dark: #000000;
JSON
{
  "hex": "#732eb5",
  "rgb": {
    "r": 115,
    "g": 46,
    "b": 181
  },
  "hsl": {
    "h": 270.667,
    "s": 59.471,
    "l": 44.51
  },
  "oklch": {
    "l": 0.47166,
    "c": 0.19973,
    "h": 302.5
  },
  "luminance": 0.08935
}

Semantic roles & 50–950 ramp

primary
#732EB5
secondary
#9FC778
accent
#E34592
background
#FAF6FC
surface
#F4ECF9
border
#CEC7D2
text
#100813
muted
#7F7B82

Preview Lab

Preview with #732EB5

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

Preview Lab → · Contrast checker → · Palette generator →

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