#732FB7#732FB7

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

Color values

HEX#732FB7
RGBrgb(115, 47, 183)
HSLhsl(270, 59%, 45%)
HSVhsv(270, 74%, 72%)
CMYKcmyk(37.2%, 74.3%, 0%, 28.2%)
CIE-LABlab(36.17, 54.79, -59.76)
CIE-LCHlch(36.17, 81.08, 312.52°)
OKLaboklab(47.44% 0.1059 -0.1705)
OKLCHoklch(47.44% 0.201 301.9)
XYZxyz(16.6319, 9.0967, 45.6702)
Luminance0.0910 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#732FB7 #73B72F
analogous
#2F2FB7 #732FB7 #B72FB7
triadic
#732FB7 #B7732F #2FB773
tetradic
#732FB7 #B72F2F #73B72F #2FB7B7
square
#732FB7 #B72F2F #73B72F #2FB7B7
split-complementary
#732FB7 #B7B72F #2FB72F
monochromatic
#361656 #542286 #732FB7 #9251D2 #B082DF

Accessibility & contrast

On white

7.45
#732FB7 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.82
#732FB7 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #732FB7
7.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##732FB7#FFFFFF#000000##FFFFFF
##732FB71.007.452.827.45
#FFFFFF7.451.0021.001.00
#0000002.8221.001.0021.00
##FFFFFF7.451.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #732fb7;
/* rgb */ color: rgb(115, 47, 183);
/* oklch */ color: oklch(47.4% 0.201 301.9);
Tailwind
colors: {
  custom: {
    50: '#a16ece',
    500: '#732fb7',
    950: '#000000',
  },
}
SCSS
$custom: #732fb7;
$custom-light: #a16ece;
$custom-dark: #000000;
JSON
{
  "hex": "#732fb7",
  "rgb": {
    "r": 115,
    "g": 47,
    "b": 183
  },
  "hsl": {
    "h": 270,
    "s": 59.13,
    "l": 45.098
  },
  "oklch": {
    "l": 0.47435,
    "c": 0.2007,
    "h": 301.9
  },
  "luminance": 0.09097
}

Semantic roles & 50–950 ramp

primary
#732FB7
secondary
#A1C87A
accent
#E24594
background
#FAF6FC
surface
#F4ECF9
border
#CEC7D2
text
#100814
muted
#7F7B82

Preview Lab

Preview with #732FB7

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

Preview Lab → · Contrast checker → · Palette generator →

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