#732CC4#732CC4

#732CC4 is a mid, highly saturated violet. Relative luminance 0.094; OKLCH L 48.2% C 0.217 H 299.0°. Best body text is #FFFFFF at 7.28:1 contrast (WCAG AA passes).

Color values

HEX#732CC4
RGBrgb(115, 44, 196)
HSLhsl(268, 63%, 47%)
HSVhsv(268, 78%, 77%)
CMYKcmyk(41.3%, 77.6%, 0%, 23.1%)
CIE-LABlab(36.80, 59.18, -66.38)
CIE-LCHlch(36.80, 88.92, 311.72°)
OKLaboklab(48.21% 0.1053 -0.1899)
OKLCHoklch(48.21% 0.217 299)
XYZxyz(17.9322, 9.4315, 53.0895)
Luminance0.0943 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#732CC4 #7DC42C
analogous
#2C31C4 #732CC4 #BF2CC4
triadic
#732CC4 #C4732C #2CC473
tetradic
#732CC4 #C42C31 #7DC42C #2CC4BF
square
#732CC4 #C42C31 #7DC42C #2CC4BF
split-complementary
#732CC4 #C4BF2C #31C42C
monochromatic
#381660 #562192 #732CC4 #9254D9 #B286E4

Accessibility & contrast

On white

7.28
#732CC4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.89
#732CC4 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #732CC4
7.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##732CC4#FFFFFF#000000##FFFFFF
##732CC41.007.282.897.28
#FFFFFF7.281.0021.001.00
#0000002.8921.001.0021.00
##FFFFFF7.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0057C8
Deuteranopia (green-blind)
#0055C1
Tritanopia (blue-blind)
#5F5577
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #732cc4;
/* rgb */ color: rgb(115, 44, 196);
/* oklch */ color: oklch(48.2% 0.217 299.0);
Tailwind
colors: {
  custom: {
    50: '#a36dd7',
    500: '#732cc4',
    950: '#000000',
  },
}
SCSS
$custom: #732cc4;
$custom-light: #a36dd7;
$custom-dark: #000000;
JSON
{
  "hex": "#732cc4",
  "rgb": {
    "r": 115,
    "g": 44,
    "b": 196
  },
  "hsl": {
    "h": 268.026,
    "s": 63.333,
    "l": 47.059
  },
  "oklch": {
    "l": 0.4821,
    "c": 0.21711,
    "h": 299
  },
  "luminance": 0.09432
}

Semantic roles & 50–950 ramp

primary
#732CC4
secondary
#A8CD7E
accent
#E64199
background
#FAF6FD
surface
#F4ECFA
border
#CEC7D3
text
#100815
muted
#7F7B83

Preview Lab

Preview with #732CC4

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

Preview Lab → · Contrast checker → · Palette generator →

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