#732BB7#732BB7

#732BB7 is a mid, highly saturated violet. Relative luminance 0.088; OKLCH L 47.0% C 0.205 H 302.3°. Best body text is #FFFFFF at 7.61:1 contrast (WCAG AA passes).

Color values

HEX#732BB7
RGBrgb(115, 43, 183)
HSLhsl(271, 62%, 44%)
HSVhsv(271, 77%, 72%)
CMYKcmyk(37.2%, 76.5%, 0%, 28.2%)
CIE-LABlab(35.58, 56.48, -60.73)
CIE-LCHlch(35.58, 82.93, 312.93°)
OKLaboklab(47.02% 0.1095 -0.1733)
OKLCHoklch(47.02% 0.205 302.3)
XYZxyz(16.4793, 8.7914, 45.6193)
Luminance0.0879 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#732BB7 #6FB72B
analogous
#2D2BB7 #732BB7 #B72BB5
triadic
#732BB7 #B7732B #2BB773
tetradic
#732BB7 #B72D2B #6FB72B #2BB5B7
square
#732BB7 #B72D2B #6FB72B #2BB5B7
split-complementary
#732BB7 #B5B72B #2BB72D
monochromatic
#351454 #541F85 #732BB7 #924BD5 #B07CE0

Accessibility & contrast

On white

7.61
#732BB7 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.76
#732BB7 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #732BB7
7.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##732BB7#FFFFFF#000000##FFFFFF
##732BB71.007.612.767.61
#FFFFFF7.611.0021.001.00
#0000002.7621.001.0021.00
##FFFFFF7.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0053BB
Deuteranopia (green-blind)
#0053B4
Tritanopia (blue-blind)
#644F70
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #732bb7;
/* rgb */ color: rgb(115, 43, 183);
/* oklch */ color: oklch(47.0% 0.205 302.3);
Tailwind
colors: {
  custom: {
    50: '#a16cce',
    500: '#732bb7',
    950: '#000000',
  },
}
SCSS
$custom: #732bb7;
$custom-light: #a16cce;
$custom-dark: #000000;
JSON
{
  "hex": "#732bb7",
  "rgb": {
    "r": 115,
    "g": 43,
    "b": 183
  },
  "hsl": {
    "h": 270.857,
    "s": 61.947,
    "l": 44.314
  },
  "oklch": {
    "l": 0.4702,
    "c": 0.20496,
    "h": 302.3
  },
  "luminance": 0.08791
}

Semantic roles & 50–950 ramp

primary
#732BB7
secondary
#9EC975
accent
#E54392
background
#FAF6FC
surface
#F4ECF9
border
#CEC7D2
text
#100714
muted
#7F7A82

Preview Lab

Preview with #732BB7

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

Preview Lab → · Contrast checker → · Palette generator →

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