#732EB8#732EB8

#732EB8 is a mid, highly saturated violet. Relative luminance 0.091; OKLCH L 47.4% C 0.203 H 301.7°. Best body text is #FFFFFF at 7.47:1 contrast (WCAG AA passes).

Color values

HEX#732EB8
RGBrgb(115, 46, 184)
HSLhsl(270, 60%, 45%)
HSVhsv(270, 75%, 72%)
CMYKcmyk(37.5%, 75%, 0%, 27.8%)
CIE-LABlab(36.10, 55.47, -60.47)
CIE-LCHlch(36.10, 82.06, 312.53°)
OKLaboklab(47.41% 0.1066 -0.1725)
OKLCHoklch(47.41% 0.203 301.7)
XYZxyz(16.6969, 9.0594, 46.2071)
Luminance0.0906 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#732EB8 #73B82E
analogous
#2E2EB8 #732EB8 #B82EB8
triadic
#732EB8 #B8732E #2EB873
tetradic
#732EB8 #B82E2E #73B82E #2EB8B8
square
#732EB8 #B82E2E #73B82E #2EB8B8
split-complementary
#732EB8 #B8B82E #2EB82E
monochromatic
#361656 #542287 #732EB8 #9250D3 #B081DF

Accessibility & contrast

On white

7.47
#732EB8 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.81
#732EB8 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #732EB8
7.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##732EB8#FFFFFF#000000##FFFFFF
##732EB81.007.472.817.47
#FFFFFF7.471.0021.001.00
#0000002.8121.001.0021.00
##FFFFFF7.471.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0054BC
Deuteranopia (green-blind)
#0054B5
Tritanopia (blue-blind)
#645171
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #732eb8;
/* rgb */ color: rgb(115, 46, 184);
/* oklch */ color: oklch(47.4% 0.203 301.7);
Tailwind
colors: {
  custom: {
    50: '#a16ece',
    500: '#732eb8',
    950: '#000000',
  },
}
SCSS
$custom: #732eb8;
$custom-light: #a16ece;
$custom-dark: #000000;
JSON
{
  "hex": "#732eb8",
  "rgb": {
    "r": 115,
    "g": 46,
    "b": 184
  },
  "hsl": {
    "h": 270,
    "s": 60,
    "l": 45.098
  },
  "oklch": {
    "l": 0.4741,
    "c": 0.20282,
    "h": 301.7
  },
  "luminance": 0.0906
}

Semantic roles & 50–950 ramp

primary
#732EB8
secondary
#A1C879
accent
#E34594
background
#FAF6FC
surface
#F4ECF9
border
#CEC7D2
text
#100814
muted
#7F7B82

Preview Lab

Preview with #732EB8

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

Preview Lab → · Contrast checker → · Palette generator →

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