#732CAB#732CAB

#732CAB is a mid, vivid violet. Relative luminance 0.084; OKLCH L 46.2% C 0.192 H 305.5°. Best body text is #FFFFFF at 7.84:1 contrast (WCAG AA passes).

Color values

HEX#732CAB
RGBrgb(115, 44, 171)
HSLhsl(274, 59%, 42%)
HSVhsv(274, 74%, 67%)
CMYKcmyk(32.7%, 74.3%, 0%, 32.9%)
CIE-LABlab(34.78, 53.25, -54.89)
CIE-LCHlch(34.78, 76.48, 314.13°)
OKLaboklab(46.16% 0.1112 -0.1561)
OKLCHoklch(46.16% 0.192 305.5)
XYZxyz(15.3200, 8.3866, 39.3319)
Luminance0.0839 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#732CAB #64AB2C
analogous
#332CAB #732CAB #AB2CA4
triadic
#732CAB #AB732C #2CAB73
tetradic
#732CAB #AB332C #64AB2C #2CA4AB
square
#732CAB #AB332C #64AB2C #2CA4AB
split-complementary
#732CAB #A4AB2C #2CAB33
monochromatic
#32134A #521F7A #732CAB #9245CF #AF76DC

Accessibility & contrast

On white

7.84
#732CAB on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.68
#732CAB on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #732CAB
7.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##732CAB#FFFFFF#000000##FFFFFF
##732CAB1.007.842.687.84
#FFFFFF7.841.0021.001.00
#0000002.6821.001.0021.00
##FFFFFF7.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0050AF
Deuteranopia (green-blind)
#0052A8
Tritanopia (blue-blind)
#694B69
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #732cab;
/* rgb */ color: rgb(115, 44, 171);
/* oklch */ color: oklch(46.2% 0.192 305.5);
Tailwind
colors: {
  custom: {
    50: '#a06cc5',
    500: '#732cab',
    950: '#000000',
  },
}
SCSS
$custom: #732cab;
$custom-light: #a06cc5;
$custom-dark: #000000;
JSON
{
  "hex": "#732cab",
  "rgb": {
    "r": 115,
    "g": 44,
    "b": 171
  },
  "hsl": {
    "h": 273.543,
    "s": 59.07,
    "l": 42.157
  },
  "oklch": {
    "l": 0.46157,
    "c": 0.19171,
    "h": 305.5
  },
  "luminance": 0.08386
}

Semantic roles & 50–950 ramp

primary
#732CAB
secondary
#94C36F
accent
#E2468B
background
#FAF6FC
surface
#F4ECF8
border
#CEC7D1
text
#0F0713
muted
#7F7A82

Preview Lab

Preview with #732CAB

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

Preview Lab → · Contrast checker → · Palette generator →

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