#732EB2#732EB2

#732EB2 is a mid, vivid violet. Relative luminance 0.088; OKLCH L 46.9% C 0.197 H 303.3°. Best body text is #FFFFFF at 7.60:1 contrast (WCAG AA passes).

Color values

HEX#732EB2
RGBrgb(115, 46, 178)
HSLhsl(271, 59%, 44%)
HSVhsv(271, 74%, 70%)
CMYKcmyk(35.4%, 74.2%, 0%, 30.2%)
CIE-LABlab(35.62, 54.03, -57.69)
CIE-LCHlch(35.62, 79.04, 313.13°)
OKLaboklab(46.93% 0.1079 -0.1644)
OKLCHoklch(46.93% 0.197 303.3)
XYZxyz(16.0812, 8.8132, 42.9648)
Luminance0.0881 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#732EB2 #6DB22E
analogous
#312EB2 #732EB2 #B22EAF
triadic
#732EB2 #B2732E #2EB273
tetradic
#732EB2 #B2312E #6DB22E #2EAFB2
square
#732EB2 #B2312E #6DB22E #2EAFB2
split-complementary
#732EB2 #AFB22E #2EB231
monochromatic
#341551 #542181 #732EB2 #924CD1 #AF7DDD

Accessibility & contrast

On white

7.60
#732EB2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #732EB2
7.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##732EB2#FFFFFF#000000##FFFFFF
##732EB21.007.602.767.60
#FFFFFF7.601.0021.001.00
#0000002.7621.001.0021.00
##FFFFFF7.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0052B6
Deuteranopia (green-blind)
#0053AF
Tritanopia (blue-blind)
#664F6E
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #732eb2;
/* rgb */ color: rgb(115, 46, 178);
/* oklch */ color: oklch(46.9% 0.197 303.3);
Tailwind
colors: {
  custom: {
    50: '#a16eca',
    500: '#732eb2',
    950: '#000000',
  },
}
SCSS
$custom: #732eb2;
$custom-light: #a16eca;
$custom-dark: #000000;
JSON
{
  "hex": "#732eb2",
  "rgb": {
    "r": 115,
    "g": 46,
    "b": 178
  },
  "hsl": {
    "h": 271.364,
    "s": 58.929,
    "l": 43.922
  },
  "oklch": {
    "l": 0.46926,
    "c": 0.19663,
    "h": 303.3
  },
  "luminance": 0.08813
}

Semantic roles & 50–950 ramp

primary
#732EB2
secondary
#9CC676
accent
#E24690
background
#FAF6FC
surface
#F4ECF8
border
#CEC7D1
text
#0F0713
muted
#7F7A82

Preview Lab

Preview with #732EB2

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

Preview Lab → · Contrast checker → · Palette generator →

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