#732AB7#732AB7

#732AB7 is a mid, highly saturated violet. Relative luminance 0.087; OKLCH L 46.9% C 0.206 H 302.4°. Best body text is #FFFFFF at 7.65:1 contrast (WCAG AA passes).

Color values

HEX#732AB7
RGBrgb(115, 42, 183)
HSLhsl(271, 63%, 44%)
HSVhsv(271, 77%, 72%)
CMYKcmyk(37.2%, 77%, 0%, 28.2%)
CIE-LABlab(35.44, 56.89, -60.95)
CIE-LCHlch(35.44, 83.38, 313.02°)
OKLaboklab(46.92% 0.1104 -0.1739)
OKLCHoklch(46.92% 0.206 302.4)
XYZxyz(16.4434, 8.7196, 45.6073)
Luminance0.0872 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#732AB7 #6EB72A
analogous
#2D2AB7 #732AB7 #B72AB5
triadic
#732AB7 #B7732A #2AB773
tetradic
#732AB7 #B72D2A #6EB72A #2AB5B7
square
#732AB7 #B72D2A #6EB72A #2AB5B7
split-complementary
#732AB7 #B5B72A #2AB72D
monochromatic
#341353 #541F85 #732AB7 #9249D5 #B07BE1

Accessibility & contrast

On white

7.65
#732AB7 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #732AB7
7.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##732AB7#FFFFFF#000000##FFFFFF
##732AB71.007.652.747.65
#FFFFFF7.651.0021.001.00
#0000002.7421.001.0021.00
##FFFFFF7.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0052BB
Deuteranopia (green-blind)
#0053B4
Tritanopia (blue-blind)
#654F70
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #732ab7;
/* rgb */ color: rgb(115, 42, 183);
/* oklch */ color: oklch(46.9% 0.206 302.4);
Tailwind
colors: {
  custom: {
    50: '#a26cce',
    500: '#732ab7',
    950: '#000000',
  },
}
SCSS
$custom: #732ab7;
$custom-light: #a26cce;
$custom-dark: #000000;
JSON
{
  "hex": "#732ab7",
  "rgb": {
    "r": 115,
    "g": 42,
    "b": 183
  },
  "hsl": {
    "h": 271.064,
    "s": 62.667,
    "l": 44.118
  },
  "oklch": {
    "l": 0.46921,
    "c": 0.20598,
    "h": 302.4
  },
  "luminance": 0.0872
}

Semantic roles & 50–950 ramp

primary
#732AB7
secondary
#9DC974
accent
#E64291
background
#FAF6FC
surface
#F4ECF9
border
#CEC7D2
text
#100714
muted
#7F7A82

Preview Lab

Preview with #732AB7

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

Preview Lab → · Contrast checker → · Palette generator →

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