#732CA9#732CA9

#732CA9 is a mid, vivid violet. Relative luminance 0.083; OKLCH L 46.0% C 0.190 H 306.1°. Best body text is #FFFFFF at 7.89:1 contrast (WCAG AA passes).

Color values

HEX#732CA9
RGBrgb(115, 44, 169)
HSLhsl(274, 59%, 42%)
HSVhsv(274, 74%, 66%)
CMYKcmyk(32%, 74%, 0%, 33.7%)
CIE-LABlab(34.62, 52.79, -53.95)
CIE-LCHlch(34.62, 75.47, 314.38°)
OKLaboklab(46% 0.1116 -0.1533)
OKLCHoklch(46% 0.19 306.1)
XYZxyz(15.1308, 8.3109, 38.3355)
Luminance0.0831 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#732CA9 #62A92C
analogous
#352CA9 #732CA9 #A92CA1
triadic
#732CA9 #A9732C #2CA973
tetradic
#732CA9 #A9352C #62A92C #2CA1A9
square
#732CA9 #A9352C #62A92C #2CA1A9
split-complementary
#732CA9 #A1A92C #2CA935
monochromatic
#311348 #521F78 #732CA9 #9344CE #AF74DB

Accessibility & contrast

On white

7.89
#732CA9 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.66
#732CA9 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #732CA9
7.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##732CA9#FFFFFF#000000##FFFFFF
##732CA91.007.892.667.89
#FFFFFF7.891.0021.001.00
#0000002.6621.001.0021.00
##FFFFFF7.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004FAD
Deuteranopia (green-blind)
#0052A6
Tritanopia (blue-blind)
#694A68
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #732ca9;
/* rgb */ color: rgb(115, 44, 169);
/* oklch */ color: oklch(46.0% 0.190 306.1);
Tailwind
colors: {
  custom: {
    50: '#a06cc3',
    500: '#732ca9',
    950: '#000000',
  },
}
SCSS
$custom: #732ca9;
$custom-light: #a06cc3;
$custom-dark: #000000;
JSON
{
  "hex": "#732ca9",
  "rgb": {
    "r": 115,
    "g": 44,
    "b": 169
  },
  "hsl": {
    "h": 274.08,
    "s": 58.685,
    "l": 41.765
  },
  "oklch": {
    "l": 0.46001,
    "c": 0.18967,
    "h": 306.1
  },
  "luminance": 0.08311
}

Semantic roles & 50–950 ramp

primary
#732CA9
secondary
#93C36E
accent
#E24689
background
#FAF6FC
surface
#F4ECF8
border
#CEC7D1
text
#0F0713
muted
#7F7A82

Preview Lab

Preview with #732CA9

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

Preview Lab → · Contrast checker → · Palette generator →

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