#732DC6#732DC6

#732DC6 is a mid, highly saturated violet. Relative luminance 0.096; OKLCH L 48.5% C 0.218 H 298.5°. Best body text is #FFFFFF at 7.19:1 contrast (WCAG AA passes).

Color values

HEX#732DC6
RGBrgb(115, 45, 198)
HSLhsl(267, 63%, 48%)
HSVhsv(267, 77%, 78%)
CMYKcmyk(41.9%, 77.3%, 0%, 22.4%)
CIE-LABlab(37.11, 59.26, -67.04)
CIE-LCHlch(37.11, 89.47, 311.47°)
OKLaboklab(48.48% 0.104 -0.1918)
OKLCHoklch(48.48% 0.218 298.5)
XYZxyz(18.1990, 9.5985, 54.3090)
Luminance0.0960 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#732DC6 #80C62D
analogous
#2D33C6 #732DC6 #BF2DC6
triadic
#732DC6 #C6732D #2DC673
tetradic
#732DC6 #C62D33 #80C62D #2DC6BF
square
#732DC6 #C62D33 #80C62D #2DC6BF
split-complementary
#732DC6 #C6BF2D #33C62D
monochromatic
#391662 #562294 #732DC6 #9357D9 #B389E4

Accessibility & contrast

On white

7.19
#732DC6 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.92
#732DC6 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #732DC6
7.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##732DC6#FFFFFF#000000##FFFFFF
##732DC61.007.192.927.19
#FFFFFF7.191.0021.001.00
#0000002.9221.001.0021.00
##FFFFFF7.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0057CA
Deuteranopia (green-blind)
#0056C3
Tritanopia (blue-blind)
#5E5779
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #732dc6;
/* rgb */ color: rgb(115, 45, 198);
/* oklch */ color: oklch(48.5% 0.218 298.5);
Tailwind
colors: {
  custom: {
    50: '#a36ed8',
    500: '#732dc6',
    950: '#000000',
  },
}
SCSS
$custom: #732dc6;
$custom-light: #a36ed8;
$custom-dark: #000000;
JSON
{
  "hex": "#732dc6",
  "rgb": {
    "r": 115,
    "g": 45,
    "b": 198
  },
  "hsl": {
    "h": 267.451,
    "s": 62.963,
    "l": 47.647
  },
  "oklch": {
    "l": 0.48479,
    "c": 0.21818,
    "h": 298.5
  },
  "luminance": 0.09599
}

Semantic roles & 50–950 ramp

primary
#732DC6
secondary
#ABCE81
accent
#E6429B
background
#FAF6FD
surface
#F4ECFB
border
#CEC7D4
text
#100815
muted
#7F7B83

Preview Lab

Preview with #732DC6

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

Preview Lab → · Contrast checker → · Palette generator →

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