#732CCA#732CCA

#732CCA is a mid, highly saturated violet. Relative luminance 0.097; OKLCH L 48.7% C 0.223 H 297.7°. Best body text is #FFFFFF at 7.14:1 contrast (WCAG AA passes).

Color values

HEX#732CCA
RGBrgb(115, 44, 202)
HSLhsl(267, 64%, 48%)
HSVhsv(267, 78%, 79%)
CMYKcmyk(43.1%, 78.2%, 0%, 20.8%)
CIE-LABlab(37.32, 60.62, -69.03)
CIE-LCHlch(37.32, 91.87, 311.29°)
OKLaboklab(48.73% 0.1036 -0.1977)
OKLCHoklch(48.73% 0.223 297.7)
XYZxyz(18.6288, 9.7101, 56.7584)
Luminance0.0971 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#732CCA #83CA2C
analogous
#2C34CA #732CCA #C22CCA
triadic
#732CCA #CA732C #2CCA73
tetradic
#732CCA #CA2C34 #83CA2C #2CCAC2
square
#732CCA #CA2C34 #83CA2C #2CCAC2
split-complementary
#732CCA #CAC22C #34CA2C
monochromatic
#3A1665 #562198 #732CCA #9358DB #B48BE6

Accessibility & contrast

On white

7.14
#732CCA on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.94
#732CCA on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #732CCA
7.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##732CCA#FFFFFF#000000##FFFFFF
##732CCA1.007.142.947.14
#FFFFFF7.141.0021.001.00
#0000002.9421.001.0021.00
##FFFFFF7.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0058CE
Deuteranopia (green-blind)
#0056C7
Tritanopia (blue-blind)
#5C587B
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #732cca;
/* rgb */ color: rgb(115, 44, 202);
/* oklch */ color: oklch(48.7% 0.223 297.7);
Tailwind
colors: {
  custom: {
    50: '#a36edb',
    500: '#732cca',
    950: '#000000',
  },
}
SCSS
$custom: #732cca;
$custom-light: #a36edb;
$custom-dark: #000000;
JSON
{
  "hex": "#732cca",
  "rgb": {
    "r": 115,
    "g": 44,
    "b": 202
  },
  "hsl": {
    "h": 266.962,
    "s": 64.228,
    "l": 48.235
  },
  "oklch": {
    "l": 0.48728,
    "c": 0.22317,
    "h": 297.7
  },
  "luminance": 0.0971
}

Semantic roles & 50–950 ramp

primary
#732CCA
secondary
#ADD082
accent
#E7419C
background
#FAF6FD
surface
#F4ECFB
border
#CEC7D4
text
#100815
muted
#7F7B83

Preview Lab

Preview with #732CCA

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

Preview Lab → · Contrast checker → · Palette generator →

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