#732EA8#732EA8

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

Color values

HEX#732EA8
RGBrgb(115, 46, 168)
HSLhsl(274, 57%, 42%)
HSVhsv(274, 73%, 66%)
CMYKcmyk(31.5%, 72.6%, 0%, 34.1%)
CIE-LABlab(34.85, 51.68, -52.97)
CIE-LCHlch(34.85, 74.00, 314.29°)
OKLaboklab(46.14% 0.1098 -0.1505)
OKLCHoklch(46.14% 0.186 306.1)
XYZxyz(15.1136, 8.4261, 37.8684)
Luminance0.0843 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#732EA8 #63A82E
analogous
#362EA8 #732EA8 #A82EA0
triadic
#732EA8 #A8732E #2EA873
tetradic
#732EA8 #A8362E #63A82E #2EA0A8
square
#732EA8 #A8362E #63A82E #2EA0A8
split-complementary
#732EA8 #A0A82E #2EA836
monochromatic
#311448 #522178 #732EA8 #9247CD #AF77DA

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##732EA8#FFFFFF#000000##FFFFFF
##732EA81.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)
#0050AC
Deuteranopia (green-blind)
#0052A5
Tritanopia (blue-blind)
#6A4B68
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #732ea8;
/* rgb */ color: rgb(115, 46, 168);
/* oklch */ color: oklch(46.1% 0.186 306.1);
Tailwind
colors: {
  custom: {
    50: '#a06dc3',
    500: '#732ea8',
    950: '#000000',
  },
}
SCSS
$custom: #732ea8;
$custom-light: #a06dc3;
$custom-dark: #000000;
JSON
{
  "hex": "#732ea8",
  "rgb": {
    "r": 115,
    "g": 46,
    "b": 168
  },
  "hsl": {
    "h": 273.934,
    "s": 57.009,
    "l": 41.961
  },
  "oklch": {
    "l": 0.46142,
    "c": 0.1863,
    "h": 306.1
  },
  "luminance": 0.08426
}

Semantic roles & 50–950 ramp

primary
#732EA8
secondary
#94C270
accent
#E0488A
background
#FAF6FC
surface
#F4ECF8
border
#CEC7D1
text
#0F0712
muted
#7F7A81

Preview Lab

Preview with #732EA8

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

Preview Lab → · Contrast checker → · Palette generator →

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