#732BA2#732BA2

#732BA2 is a mid, vivid violet. Relative luminance 0.080; OKLCH L 45.4% C 0.184 H 308.3°. Best body text is #FFFFFF at 8.09:1 contrast (WCAG AA passes).

Color values

HEX#732BA2
RGBrgb(115, 43, 162)
HSLhsl(276, 58%, 40%)
HSVhsv(276, 73%, 64%)
CMYKcmyk(29%, 73.5%, 0%, 36.5%)
CIE-LABlab(33.94, 51.61, -50.83)
CIE-LCHlch(33.94, 72.44, 315.43°)
OKLaboklab(45.36% 0.1139 -0.1442)
OKLCHoklch(45.36% 0.184 308.3)
XYZxyz(14.4543, 7.9815, 34.9545)
Luminance0.0798 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#732BA2 #5AA22B
analogous
#382BA2 #732BA2 #A22B95
triadic
#732BA2 #A2732B #2BA273
tetradic
#732BA2 #A2382B #5AA22B #2B95A2
square
#732BA2 #A2382B #5AA22B #2B95A2
split-complementary
#732BA2 #95A22B #2BA238
monochromatic
#2E1141 #511E72 #732BA2 #943ECC #AF6FD9

Accessibility & contrast

On white

8.09
#732BA2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.60
#732BA2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #732BA2
8.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##732BA2#FFFFFF#000000##FFFFFF
##732BA21.008.092.608.09
#FFFFFF8.091.0021.001.00
#0000002.6021.001.0021.00
##FFFFFF8.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004DA5
Deuteranopia (green-blind)
#05519F
Tritanopia (blue-blind)
#6C4764
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #732ba2;
/* rgb */ color: rgb(115, 43, 162);
/* oklch */ color: oklch(45.4% 0.184 308.3);
Tailwind
colors: {
  custom: {
    50: '#a06bbe',
    500: '#732ba2',
    950: '#000000',
  },
}
SCSS
$custom: #732ba2;
$custom-light: #a06bbe;
$custom-dark: #000000;
JSON
{
  "hex": "#732ba2",
  "rgb": {
    "r": 115,
    "g": 43,
    "b": 162
  },
  "hsl": {
    "h": 276.303,
    "s": 58.049,
    "l": 40.196
  },
  "oklch": {
    "l": 0.45355,
    "c": 0.18373,
    "h": 308.3
  },
  "luminance": 0.07981
}

Semantic roles & 50–950 ramp

primary
#732BA2
secondary
#8BC069
accent
#E14784
background
#FAF6FB
surface
#F4ECF7
border
#CEC7D0
text
#0F0712
muted
#7F7A81

Preview Lab

Preview with #732BA2

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

Preview Lab → · Contrast checker → · Palette generator →

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