#732CB2#732CB2

#732CB2 is a mid, vivid violet. Relative luminance 0.087; OKLCH L 46.7% C 0.199 H 303.5°. Best body text is #FFFFFF at 7.69:1 contrast (WCAG AA passes).

Color values

HEX#732CB2
RGBrgb(115, 44, 178)
HSLhsl(272, 60%, 44%)
HSVhsv(272, 75%, 70%)
CMYKcmyk(35.4%, 75.3%, 0%, 30.2%)
CIE-LABlab(35.32, 54.89, -58.18)
CIE-LCHlch(35.32, 79.98, 313.33°)
OKLaboklab(46.71% 0.1098 -0.1658)
OKLCHoklch(46.71% 0.199 303.5)
XYZxyz(16.0049, 8.6606, 42.9393)
Luminance0.0866 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#732CB2 #6BB22C
analogous
#302CB2 #732CB2 #B22CAE
triadic
#732CB2 #B2732C #2CB273
tetradic
#732CB2 #B2302C #6BB22C #2CAEB2
square
#732CB2 #B2302C #6BB22C #2CAEB2
split-complementary
#732CB2 #AEB22C #2CB230
monochromatic
#341450 #532081 #732CB2 #9249D2 #AF7ADE

Accessibility & contrast

On white

7.69
#732CB2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.73
#732CB2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #732CB2
7.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##732CB2#FFFFFF#000000##FFFFFF
##732CB21.007.692.737.69
#FFFFFF7.691.0021.001.00
#0000002.7321.001.0021.00
##FFFFFF7.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0052B6
Deuteranopia (green-blind)
#0053AF
Tritanopia (blue-blind)
#664E6D
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #732cb2;
/* rgb */ color: rgb(115, 44, 178);
/* oklch */ color: oklch(46.7% 0.199 303.5);
Tailwind
colors: {
  custom: {
    50: '#a16cca',
    500: '#732cb2',
    950: '#000000',
  },
}
SCSS
$custom: #732cb2;
$custom-light: #a16cca;
$custom-dark: #000000;
JSON
{
  "hex": "#732cb2",
  "rgb": {
    "r": 115,
    "g": 44,
    "b": 178
  },
  "hsl": {
    "h": 271.791,
    "s": 60.36,
    "l": 43.529
  },
  "oklch": {
    "l": 0.46714,
    "c": 0.19884,
    "h": 303.5
  },
  "luminance": 0.08661
}

Semantic roles & 50–950 ramp

primary
#732CB2
secondary
#9AC673
accent
#E4448F
background
#FAF6FC
surface
#F4ECF8
border
#CEC7D1
text
#100713
muted
#7F7A82

Preview Lab

Preview with #732CB2

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

Preview Lab → · Contrast checker → · Palette generator →

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