#732AA8#732AA8

#732AA8 is a mid, vivid violet. Relative luminance 0.081; OKLCH L 45.7% C 0.191 H 306.6°. Best body text is #FFFFFF at 8.00:1 contrast (WCAG AA passes).

Color values

HEX#732AA8
RGBrgb(115, 42, 168)
HSLhsl(275, 60%, 41%)
HSVhsv(275, 75%, 66%)
CMYKcmyk(31.5%, 75%, 0%, 34.1%)
CIE-LABlab(34.25, 53.40, -53.95)
CIE-LCHlch(34.25, 75.91, 314.71°)
OKLaboklab(45.71% 0.1137 -0.1533)
OKLCHoklch(45.71% 0.191 306.6)
XYZxyz(14.9645, 8.1281, 37.8187)
Luminance0.0813 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#732AA8 #5FA82A
analogous
#342AA8 #732AA8 #A82A9E
triadic
#732AA8 #A8732A #2AA873
tetradic
#732AA8 #A8342A #5FA82A #2A9EA8
square
#732AA8 #A8342A #5FA82A #2A9EA8
split-complementary
#732AA8 #9EA82A #2AA834
monochromatic
#301246 #511E77 #732AA8 #9340CF #AF71DB

Accessibility & contrast

On white

8.00
#732AA8 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.63
#732AA8 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #732AA8
8.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##732AA8#FFFFFF#000000##FFFFFF
##732AA81.008.002.638.00
#FFFFFF8.001.0021.001.00
#0000002.6321.001.0021.00
##FFFFFF8.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004EAC
Deuteranopia (green-blind)
#0051A5
Tritanopia (blue-blind)
#6A4967
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #732aa8;
/* rgb */ color: rgb(115, 42, 168);
/* oklch */ color: oklch(45.7% 0.191 306.6);
Tailwind
colors: {
  custom: {
    50: '#a06bc3',
    500: '#732aa8',
    950: '#000000',
  },
}
SCSS
$custom: #732aa8;
$custom-light: #a06bc3;
$custom-dark: #000000;
JSON
{
  "hex": "#732aa8",
  "rgb": {
    "r": 115,
    "g": 42,
    "b": 168
  },
  "hsl": {
    "h": 274.762,
    "s": 60,
    "l": 41.176
  },
  "oklch": {
    "l": 0.45713,
    "c": 0.19092,
    "h": 306.6
  },
  "luminance": 0.08128
}

Semantic roles & 50–950 ramp

primary
#732AA8
secondary
#90C36B
accent
#E34587
background
#FAF6FC
surface
#F4ECF8
border
#CEC7D1
text
#0F0713
muted
#7F7A82

Preview Lab

Preview with #732AA8

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

Preview Lab → · Contrast checker → · Palette generator →

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