#732AB6#732AB6

#732AB6 is a mid, highly saturated violet. Relative luminance 0.087; OKLCH L 46.8% C 0.205 H 302.7°. Best body text is #FFFFFF at 7.68:1 contrast (WCAG AA passes).

Color values

HEX#732AB6
RGBrgb(115, 42, 182)
HSLhsl(271, 63%, 44%)
HSVhsv(271, 77%, 71%)
CMYKcmyk(36.8%, 76.9%, 0%, 28.6%)
CIE-LABlab(35.36, 56.65, -60.50)
CIE-LCHlch(35.36, 82.88, 313.12°)
OKLaboklab(46.84% 0.1106 -0.1726)
OKLCHoklch(46.84% 0.205 302.7)
XYZxyz(16.3397, 8.6781, 45.0611)
Luminance0.0868 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#732AB6 #6DB62A
analogous
#2D2AB6 #732AB6 #B62AB3
triadic
#732AB6 #B6732A #2AB673
tetradic
#732AB6 #B62D2A #6DB62A #2AB3B6
square
#732AB6 #B62D2A #6DB62A #2AB3B6
split-complementary
#732AB6 #B3B62A #2AB62D
monochromatic
#341353 #541F84 #732AB6 #9248D5 #AF7AE0

Accessibility & contrast

On white

7.68
#732AB6 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.74
#732AB6 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #732AB6
7.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##732AB6#FFFFFF#000000##FFFFFF
##732AB61.007.682.747.68
#FFFFFF7.681.0021.001.00
#0000002.7421.001.0021.00
##FFFFFF7.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0052BA
Deuteranopia (green-blind)
#0053B3
Tritanopia (blue-blind)
#654E6F
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #732ab6;
/* rgb */ color: rgb(115, 42, 182);
/* oklch */ color: oklch(46.8% 0.205 302.7);
Tailwind
colors: {
  custom: {
    50: '#a16ccd',
    500: '#732ab6',
    950: '#000000',
  },
}
SCSS
$custom: #732ab6;
$custom-light: #a16ccd;
$custom-dark: #000000;
JSON
{
  "hex": "#732ab6",
  "rgb": {
    "r": 115,
    "g": 42,
    "b": 182
  },
  "hsl": {
    "h": 271.286,
    "s": 62.5,
    "l": 43.922
  },
  "oklch": {
    "l": 0.46839,
    "c": 0.20498,
    "h": 302.7
  },
  "luminance": 0.08678
}

Semantic roles & 50–950 ramp

primary
#732AB6
secondary
#9CC873
accent
#E64290
background
#FAF6FC
surface
#F4ECF9
border
#CEC7D2
text
#100714
muted
#7F7A82

Preview Lab

Preview with #732AB6

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

Preview Lab → · Contrast checker → · Palette generator →

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