#732FA6#732FA6

#732FA6 is a mid, vivid violet. Relative luminance 0.084; OKLCH L 46.1% C 0.183 H 306.6°. Best body text is #FFFFFF at 7.82:1 contrast (WCAG AA passes).

Color values

HEX#732FA6
RGBrgb(115, 47, 166)
HSLhsl(274, 56%, 42%)
HSVhsv(274, 72%, 65%)
CMYKcmyk(30.7%, 71.7%, 0%, 34.9%)
CIE-LABlab(34.87, 50.76, -51.75)
CIE-LCHlch(34.87, 72.49, 314.45°)
OKLaboklab(46.1% 0.1091 -0.1469)
OKLCHoklch(46.1% 0.183 306.6)
XYZxyz(14.9682, 8.4312, 36.9078)
Luminance0.0843 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#732FA6 #62A62F
analogous
#382FA6 #732FA6 #A62F9E
triadic
#732FA6 #A6732F #2FA673
tetradic
#732FA6 #A6382F #62A62F #2F9EA6
square
#732FA6 #A6382F #62A62F #2F9EA6
split-complementary
#732FA6 #9EA62F #2FA638
monochromatic
#311447 #522176 #732FA6 #9347CB #AF77D8

Accessibility & contrast

On white

7.82
#732FA6 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #732FA6
7.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##732FA6#FFFFFF#000000##FFFFFF
##732FA61.007.822.697.82
#FFFFFF7.821.0021.001.00
#0000002.6921.001.0021.00
##FFFFFF7.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0050A9
Deuteranopia (green-blind)
#0252A3
Tritanopia (blue-blind)
#6A4A67
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #732fa6;
/* rgb */ color: rgb(115, 47, 166);
/* oklch */ color: oklch(46.1% 0.183 306.6);
Tailwind
colors: {
  custom: {
    50: '#a06ec1',
    500: '#732fa6',
    950: '#000000',
  },
}
SCSS
$custom: #732fa6;
$custom-light: #a06ec1;
$custom-dark: #000000;
JSON
{
  "hex": "#732fa6",
  "rgb": {
    "r": 115,
    "g": 47,
    "b": 166
  },
  "hsl": {
    "h": 274.286,
    "s": 55.869,
    "l": 41.765
  },
  "oklch": {
    "l": 0.46103,
    "c": 0.183,
    "h": 306.6
  },
  "luminance": 0.08431
}

Semantic roles & 50–950 ramp

primary
#732FA6
secondary
#93C170
accent
#DF4989
background
#FAF6FC
surface
#F4ECF8
border
#CEC7D1
text
#0F0712
muted
#7F7A81

Preview Lab

Preview with #732FA6

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

Preview Lab → · Contrast checker → · Palette generator →

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