#732DCA#732DCA

#732DCA is a mid, highly saturated violet. Relative luminance 0.098; OKLCH L 48.8% C 0.222 H 297.6°. Best body text is #FFFFFF at 7.10:1 contrast (WCAG AA passes).

Color values

HEX#732DCA
RGBrgb(115, 45, 202)
HSLhsl(267, 64%, 48%)
HSVhsv(267, 78%, 79%)
CMYKcmyk(43.1%, 77.7%, 0%, 20.8%)
CIE-LABlab(37.45, 60.22, -68.81)
CIE-LCHlch(37.45, 91.44, 311.19°)
OKLaboklab(48.82% 0.1028 -0.197)
OKLCHoklch(48.82% 0.222 297.6)
XYZxyz(18.6665, 9.7855, 56.7710)
Luminance0.0979 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#732DCA #84CA2D
analogous
#2D35CA #732DCA #C12DCA
triadic
#732DCA #CA732D #2DCA73
tetradic
#732DCA #CA2D35 #84CA2D #2DCAC1
square
#732DCA #CA2D35 #84CA2D #2DCAC1
split-complementary
#732DCA #CAC12D #35CA2D
monochromatic
#3A1766 #572298 #732DCA #935ADA #B48CE5

Accessibility & contrast

On white

7.10
#732DCA on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.96
#732DCA on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #732DCA
7.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##732DCA#FFFFFF#000000##FFFFFF
##732DCA1.007.102.967.10
#FFFFFF7.101.0021.001.00
#0000002.9621.001.0021.00
##FFFFFF7.101.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #732dca;
/* rgb */ color: rgb(115, 45, 202);
/* oklch */ color: oklch(48.8% 0.222 297.6);
Tailwind
colors: {
  custom: {
    50: '#a36edb',
    500: '#732dca',
    950: '#000000',
  },
}
SCSS
$custom: #732dca;
$custom-light: #a36edb;
$custom-dark: #000000;
JSON
{
  "hex": "#732dca",
  "rgb": {
    "r": 115,
    "g": 45,
    "b": 202
  },
  "hsl": {
    "h": 266.752,
    "s": 63.563,
    "l": 48.431
  },
  "oklch": {
    "l": 0.48824,
    "c": 0.22225,
    "h": 297.6
  },
  "luminance": 0.09786
}

Semantic roles & 50–950 ramp

primary
#732DCA
secondary
#AECF83
accent
#E7419D
background
#FAF6FD
surface
#F4ECFB
border
#CEC7D4
text
#100815
muted
#7F7B83

Preview Lab

Preview with #732DCA

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

Preview Lab → · Contrast checker → · Palette generator →

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