#732FB5#732FB5

#732FB5 is a mid, vivid violet. Relative luminance 0.090; OKLCH L 47.3% C 0.199 H 302.4°. Best body text is #FFFFFF at 7.49:1 contrast (WCAG AA passes).

Color values

HEX#732FB5
RGBrgb(115, 47, 181)
HSLhsl(270, 59%, 45%)
HSVhsv(270, 74%, 71%)
CMYKcmyk(36.5%, 74%, 0%, 29%)
CIE-LABlab(36.01, 54.32, -58.84)
CIE-LCHlch(36.01, 80.07, 312.71°)
OKLaboklab(47.27% 0.1064 -0.1677)
OKLCHoklch(47.27% 0.199 302.4)
XYZxyz(16.4252, 9.0140, 44.5816)
Luminance0.0901 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#732FB5 #71B52F
analogous
#302FB5 #732FB5 #B52FB4
triadic
#732FB5 #B5732F #2FB573
tetradic
#732FB5 #B5302F #71B52F #2FB4B5
square
#732FB5 #B5302F #71B52F #2FB4B5
split-complementary
#732FB5 #B4B52F #2FB530
monochromatic
#351654 #542284 #732FB5 #9250D1 #B080DE

Accessibility & contrast

On white

7.49
#732FB5 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.80
#732FB5 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #732FB5
7.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##732FB5#FFFFFF#000000##FFFFFF
##732FB51.007.492.807.49
#FFFFFF7.491.0021.001.00
#0000002.8021.001.0021.00
##FFFFFF7.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0054B9
Deuteranopia (green-blind)
#0054B2
Tritanopia (blue-blind)
#655070
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #732fb5;
/* rgb */ color: rgb(115, 47, 181);
/* oklch */ color: oklch(47.3% 0.199 302.4);
Tailwind
colors: {
  custom: {
    50: '#a16ecc',
    500: '#732fb5',
    950: '#000000',
  },
}
SCSS
$custom: #732fb5;
$custom-light: #a16ecc;
$custom-dark: #000000;
JSON
{
  "hex": "#732fb5",
  "rgb": {
    "r": 115,
    "g": 47,
    "b": 181
  },
  "hsl": {
    "h": 270.448,
    "s": 58.772,
    "l": 44.706
  },
  "oklch": {
    "l": 0.47274,
    "c": 0.19862,
    "h": 302.4
  },
  "luminance": 0.09014
}

Semantic roles & 50–950 ramp

primary
#732FB5
secondary
#9FC779
accent
#E24693
background
#FAF6FC
surface
#F4ECF9
border
#CEC7D2
text
#100813
muted
#7F7B82

Preview Lab

Preview with #732FB5

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

Preview Lab → · Contrast checker → · Palette generator →

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