#732EA2#732EA2

#732EA2 is a mid, vivid violet. Relative luminance 0.082; OKLCH L 45.7% C 0.180 H 308.0°. Best body text is #FFFFFF at 7.95:1 contrast (WCAG AA passes).

Color values

HEX#732EA2
RGBrgb(115, 46, 162)
HSLhsl(276, 56%, 41%)
HSVhsv(276, 72%, 64%)
CMYKcmyk(29%, 71.6%, 0%, 36.5%)
CIE-LABlab(34.41, 50.29, -50.08)
CIE-LCHlch(34.41, 70.97, 315.12°)
OKLaboklab(45.69% 0.1108 -0.142)
OKLCHoklch(45.69% 0.18 308)
XYZxyz(14.5675, 8.2077, 34.9922)
Luminance0.0821 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#732EA2 #5DA22E
analogous
#392EA2 #732EA2 #A22E97
triadic
#732EA2 #A2732E #2EA273
tetradic
#732EA2 #A2392E #5DA22E #2E97A2
square
#732EA2 #A2392E #5DA22E #2E97A2
split-complementary
#732EA2 #97A22E #2EA239
monochromatic
#2F1343 #512072 #732EA2 #9343CA #AF73D7

Accessibility & contrast

On white

7.95
#732EA2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.64
#732EA2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #732EA2
7.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##732EA2#FFFFFF#000000##FFFFFF
##732EA21.007.952.647.95
#FFFFFF7.951.0021.001.00
#0000002.6421.001.0021.00
##FFFFFF7.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004EA5
Deuteranopia (green-blind)
#0D52A0
Tritanopia (blue-blind)
#6C4865
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #732ea2;
/* rgb */ color: rgb(115, 46, 162);
/* oklch */ color: oklch(45.7% 0.180 308.0);
Tailwind
colors: {
  custom: {
    50: '#a06dbe',
    500: '#732ea2',
    950: '#000000',
  },
}
SCSS
$custom: #732ea2;
$custom-light: #a06dbe;
$custom-dark: #000000;
JSON
{
  "hex": "#732ea2",
  "rgb": {
    "r": 115,
    "g": 46,
    "b": 162
  },
  "hsl": {
    "h": 275.69,
    "s": 55.769,
    "l": 40.784
  },
  "oklch": {
    "l": 0.45687,
    "c": 0.18009,
    "h": 308
  },
  "luminance": 0.08207
}

Semantic roles & 50–950 ramp

primary
#732EA2
secondary
#8EBF6D
accent
#DF4986
background
#FAF6FB
surface
#F4ECF7
border
#CEC7D0
text
#0F0712
muted
#7F7A81

Preview Lab

Preview with #732EA2

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

Preview Lab → · Contrast checker → · Palette generator →

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