#732AA2#732AA2

#732AA2 is a mid, vivid violet. Relative luminance 0.079; OKLCH L 45.2% C 0.185 H 308.4°. Best body text is #FFFFFF at 8.13:1 contrast (WCAG AA passes).

Color values

HEX#732AA2
RGBrgb(115, 42, 162)
HSLhsl(277, 59%, 40%)
HSVhsv(277, 74%, 64%)
CMYKcmyk(29%, 74.1%, 0%, 36.5%)
CIE-LABlab(33.79, 52.03, -51.08)
CIE-LCHlch(33.79, 72.91, 315.53°)
OKLaboklab(45.25% 0.1149 -0.1449)
OKLCHoklch(45.25% 0.185 308.4)
XYZxyz(14.4184, 7.9096, 34.9426)
Luminance0.0791 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#732AA2 #59A22A
analogous
#372AA2 #732AA2 #A22A95
triadic
#732AA2 #A2732A #2AA273
tetradic
#732AA2 #A2372A #59A22A #2A95A2
square
#732AA2 #A2372A #59A22A #2A95A2
split-complementary
#732AA2 #95A22A #2AA237
monochromatic
#2E1141 #511D71 #732AA2 #943DCD #AF6DD9

Accessibility & contrast

On white

8.13
#732AA2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.58
#732AA2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #732AA2
8.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##732AA2#FFFFFF#000000##FFFFFF
##732AA21.008.132.588.13
#FFFFFF8.131.0021.001.00
#0000002.5821.001.0021.00
##FFFFFF8.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004DA5
Deuteranopia (green-blind)
#02509F
Tritanopia (blue-blind)
#6C4664
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #732aa2;
/* rgb */ color: rgb(115, 42, 162);
/* oklch */ color: oklch(45.2% 0.185 308.4);
Tailwind
colors: {
  custom: {
    50: '#a06bbe',
    500: '#732aa2',
    950: '#000000',
  },
}
SCSS
$custom: #732aa2;
$custom-light: #a06bbe;
$custom-dark: #000000;
JSON
{
  "hex": "#732aa2",
  "rgb": {
    "r": 115,
    "g": 42,
    "b": 162
  },
  "hsl": {
    "h": 276.5,
    "s": 58.824,
    "l": 40
  },
  "oklch": {
    "l": 0.45249,
    "c": 0.1849,
    "h": 308.4
  },
  "luminance": 0.07909
}

Semantic roles & 50–950 ramp

primary
#732AA2
secondary
#8AC068
accent
#E24683
background
#FAF6FB
surface
#F4ECF7
border
#CEC7D0
text
#0F0712
muted
#7F7A81

Preview Lab

Preview with #732AA2

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

Preview Lab → · Contrast checker → · Palette generator →

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