#732DB2#732DB2

#732DB2 is a mid, vivid violet. Relative luminance 0.087; OKLCH L 46.8% C 0.198 H 303.4°. Best body text is #FFFFFF at 7.64:1 contrast (WCAG AA passes).

Color values

HEX#732DB2
RGBrgb(115, 45, 178)
HSLhsl(272, 60%, 44%)
HSVhsv(272, 75%, 70%)
CMYKcmyk(35.4%, 74.7%, 0%, 30.2%)
CIE-LABlab(35.47, 54.46, -57.94)
CIE-LCHlch(35.47, 79.52, 313.23°)
OKLaboklab(46.82% 0.1089 -0.1651)
OKLCHoklch(46.82% 0.198 303.4)
XYZxyz(16.0426, 8.7360, 42.9519)
Luminance0.0874 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#732DB2 #6CB22D
analogous
#302DB2 #732DB2 #B22DAE
triadic
#732DB2 #B2732D #2DB273
tetradic
#732DB2 #B2302D #6CB22D #2DAEB2
square
#732DB2 #B2302D #6CB22D #2DAEB2
split-complementary
#732DB2 #AEB22D #2DB230
monochromatic
#341450 #532181 #732DB2 #924BD1 #AF7CDE

Accessibility & contrast

On white

7.64
#732DB2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.75
#732DB2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #732DB2
7.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##732DB2#FFFFFF#000000##FFFFFF
##732DB21.007.642.757.64
#FFFFFF7.641.0021.001.00
#0000002.7521.001.0021.00
##FFFFFF7.641.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: #732db2;
/* rgb */ color: rgb(115, 45, 178);
/* oklch */ color: oklch(46.8% 0.198 303.4);
Tailwind
colors: {
  custom: {
    50: '#a16dca',
    500: '#732db2',
    950: '#000000',
  },
}
SCSS
$custom: #732db2;
$custom-light: #a16dca;
$custom-dark: #000000;
JSON
{
  "hex": "#732db2",
  "rgb": {
    "r": 115,
    "g": 45,
    "b": 178
  },
  "hsl": {
    "h": 271.579,
    "s": 59.641,
    "l": 43.725
  },
  "oklch": {
    "l": 0.46819,
    "c": 0.19774,
    "h": 303.4
  },
  "luminance": 0.08736
}

Semantic roles & 50–950 ramp

primary
#732DB2
secondary
#9BC675
accent
#E34590
background
#FAF6FC
surface
#F4ECF8
border
#CEC7D1
text
#0F0713
muted
#7F7A82

Preview Lab

Preview with #732DB2

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

Preview Lab → · Contrast checker → · Palette generator →

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