#732CA3#732CA3

#732CA3 is a mid, vivid violet. Relative luminance 0.081; OKLCH L 45.5% C 0.184 H 307.9°. Best body text is #FFFFFF at 8.02:1 contrast (WCAG AA passes).

Color values

HEX#732CA3
RGBrgb(115, 44, 163)
HSLhsl(276, 57%, 41%)
HSVhsv(276, 73%, 64%)
CMYKcmyk(29.4%, 73%, 0%, 36.1%)
CIE-LABlab(34.17, 51.40, -51.07)
CIE-LCHlch(34.17, 72.46, 315.19°)
OKLaboklab(45.54% 0.1127 -0.1449)
OKLCHoklch(45.54% 0.184 307.9)
XYZxyz(14.5804, 8.0908, 35.4368)
Luminance0.0809 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#732CA3 #5CA32C
analogous
#372CA3 #732CA3 #A32C97
triadic
#732CA3 #A3732C #2CA373
tetradic
#732CA3 #A3372C #5CA32C #2C97A3
square
#732CA3 #A3372C #5CA32C #2C97A3
split-complementary
#732CA3 #97A32C #2CA337
monochromatic
#2F1243 #511F73 #732CA3 #9441CC #AF71D9

Accessibility & contrast

On white

8.02
#732CA3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.62
#732CA3 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #732CA3
8.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##732CA3#FFFFFF#000000##FFFFFF
##732CA31.008.022.628.02
#FFFFFF8.021.0021.001.00
#0000002.6221.001.0021.00
##FFFFFF8.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004EA6
Deuteranopia (green-blind)
#0451A0
Tritanopia (blue-blind)
#6B4865
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #732ca3;
/* rgb */ color: rgb(115, 44, 163);
/* oklch */ color: oklch(45.5% 0.184 307.9);
Tailwind
colors: {
  custom: {
    50: '#a06cbf',
    500: '#732ca3',
    950: '#000000',
  },
}
SCSS
$custom: #732ca3;
$custom-light: #a06cbf;
$custom-dark: #000000;
JSON
{
  "hex": "#732ca3",
  "rgb": {
    "r": 115,
    "g": 44,
    "b": 163
  },
  "hsl": {
    "h": 275.798,
    "s": 57.488,
    "l": 40.588
  },
  "oklch": {
    "l": 0.4554,
    "c": 0.18355,
    "h": 307.9
  },
  "luminance": 0.08091
}

Semantic roles & 50–950 ramp

primary
#732CA3
secondary
#8DC06B
accent
#E14785
background
#FAF6FB
surface
#F4ECF7
border
#CEC7D0
text
#0F0712
muted
#7F7A81

Preview Lab

Preview with #732CA3

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

Preview Lab → · Contrast checker → · Palette generator →

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