#732EAC#732EAC

#732EAC is a mid, vivid violet. Relative luminance 0.086; OKLCH L 46.5% C 0.190 H 305.0°. Best body text is #FFFFFF at 7.73:1 contrast (WCAG AA passes).

Color values

HEX#732EAC
RGBrgb(115, 46, 172)
HSLhsl(273, 58%, 43%)
HSVhsv(273, 73%, 67%)
CMYKcmyk(33.1%, 73.3%, 0%, 32.5%)
CIE-LABlab(35.16, 52.62, -54.87)
CIE-LCHlch(35.16, 76.02, 313.80°)
OKLaboklab(46.45% 0.1091 -0.1561)
OKLCHoklch(46.45% 0.19 305)
XYZxyz(15.4919, 8.5775, 39.8612)
Luminance0.0858 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#732EAC #67AC2E
analogous
#342EAC #732EAC #AC2EA6
triadic
#732EAC #AC732E #2EAC73
tetradic
#732EAC #AC342E #67AC2E #2EA6AC
square
#732EAC #AC342E #67AC2E #2EA6AC
split-complementary
#732EAC #A6AC2E #2EAC34
monochromatic
#32144B #53217C #732EAC #9249CE #AF79DB

Accessibility & contrast

On white

7.73
#732EAC on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.72
#732EAC on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #732EAC
7.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##732EAC#FFFFFF#000000##FFFFFF
##732EAC1.007.732.727.73
#FFFFFF7.731.0021.001.00
#0000002.7221.001.0021.00
##FFFFFF7.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0051B0
Deuteranopia (green-blind)
#0053A9
Tritanopia (blue-blind)
#684C6A
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #732eac;
/* rgb */ color: rgb(115, 46, 172);
/* oklch */ color: oklch(46.5% 0.190 305.0);
Tailwind
colors: {
  custom: {
    50: '#a06dc6',
    500: '#732eac',
    950: '#000000',
  },
}
SCSS
$custom: #732eac;
$custom-light: #a06dc6;
$custom-dark: #000000;
JSON
{
  "hex": "#732eac",
  "rgb": {
    "r": 115,
    "g": 46,
    "b": 172
  },
  "hsl": {
    "h": 272.857,
    "s": 57.798,
    "l": 42.745
  },
  "oklch": {
    "l": 0.46452,
    "c": 0.19043,
    "h": 305
  },
  "luminance": 0.08577
}

Semantic roles & 50–950 ramp

primary
#732EAC
secondary
#97C372
accent
#E1478D
background
#FAF6FC
surface
#F4ECF8
border
#CEC7D1
text
#0F0713
muted
#7F7A82

Preview Lab

Preview with #732EAC

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

Preview Lab → · Contrast checker → · Palette generator →

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