#732FA7#732FA7

#732FA7 is a mid, vivid violet. Relative luminance 0.085; OKLCH L 46.2% C 0.184 H 306.3°. Best body text is #FFFFFF at 7.80:1 contrast (WCAG AA passes).

Color values

HEX#732FA7
RGBrgb(115, 47, 167)
HSLhsl(274, 56%, 42%)
HSVhsv(274, 72%, 65%)
CMYKcmyk(31.1%, 71.9%, 0%, 34.5%)
CIE-LABlab(34.94, 51.00, -52.23)
CIE-LCHlch(34.94, 73.00, 314.32°)
OKLaboklab(46.18% 0.109 -0.1483)
OKLCHoklch(46.18% 0.184 306.3)
XYZxyz(15.0603, 8.4680, 37.3928)
Luminance0.0847 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#732FA7 #63A72F
analogous
#372FA7 #732FA7 #A72F9F
triadic
#732FA7 #A7732F #2FA773
tetradic
#732FA7 #A7372F #63A72F #2F9FA7
square
#732FA7 #A7372F #63A72F #2F9FA7
split-complementary
#732FA7 #9FA72F #2FA737
monochromatic
#311447 #522277 #732FA7 #9248CB #AF78D9

Accessibility & contrast

On white

7.80
#732FA7 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.69
#732FA7 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #732FA7
7.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##732FA7#FFFFFF#000000##FFFFFF
##732FA71.007.802.697.80
#FFFFFF7.801.0021.001.00
#0000002.6921.001.0021.00
##FFFFFF7.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0050AA
Deuteranopia (green-blind)
#0053A4
Tritanopia (blue-blind)
#6A4B68
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #732fa7;
/* rgb */ color: rgb(115, 47, 167);
/* oklch */ color: oklch(46.2% 0.184 306.3);
Tailwind
colors: {
  custom: {
    50: '#a06ec2',
    500: '#732fa7',
    950: '#000000',
  },
}
SCSS
$custom: #732fa7;
$custom-light: #a06ec2;
$custom-dark: #000000;
JSON
{
  "hex": "#732fa7",
  "rgb": {
    "r": 115,
    "g": 47,
    "b": 167
  },
  "hsl": {
    "h": 274,
    "s": 56.075,
    "l": 41.961
  },
  "oklch": {
    "l": 0.46178,
    "c": 0.18405,
    "h": 306.3
  },
  "luminance": 0.08468
}

Semantic roles & 50–950 ramp

primary
#732FA7
secondary
#94C171
accent
#DF488A
background
#FAF6FC
surface
#F4ECF8
border
#CEC7D1
text
#0F0712
muted
#7F7A81

Preview Lab

Preview with #732FA7

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

Preview Lab → · Contrast checker → · Palette generator →

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