#732CA2#732CA2

#732CA2 is a mid, vivid violet. Relative luminance 0.081; OKLCH L 45.5% C 0.183 H 308.2°. Best body text is #FFFFFF at 8.04:1 contrast (WCAG AA passes).

Color values

HEX#732CA2
RGBrgb(115, 44, 162)
HSLhsl(276, 57%, 40%)
HSVhsv(276, 73%, 64%)
CMYKcmyk(29%, 72.8%, 0%, 36.5%)
CIE-LABlab(34.10, 51.17, -50.59)
CIE-LCHlch(34.10, 71.96, 315.33°)
OKLaboklab(45.46% 0.1129 -0.1435)
OKLCHoklch(45.46% 0.183 308.2)
XYZxyz(14.4911, 8.0551, 34.9668)
Luminance0.0805 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#732CA2 #5BA22C
analogous
#382CA2 #732CA2 #A22C96
triadic
#732CA2 #A2732C #2CA273
tetradic
#732CA2 #A2382C #5BA22C #2C96A2
square
#732CA2 #A2382C #5BA22C #2C96A2
split-complementary
#732CA2 #96A22C #2CA238
monochromatic
#2F1242 #511F72 #732CA2 #9440CB #AF70D8

Accessibility & contrast

On white

8.04
#732CA2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.61
#732CA2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #732CA2
8.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##732CA2#FFFFFF#000000##FFFFFF
##732CA21.008.042.618.04
#FFFFFF8.041.0021.001.00
#0000002.6121.001.0021.00
##FFFFFF8.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004EA5
Deuteranopia (green-blind)
#0851A0
Tritanopia (blue-blind)
#6C4764
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #732ca2;
/* rgb */ color: rgb(115, 44, 162);
/* oklch */ color: oklch(45.5% 0.183 308.2);
Tailwind
colors: {
  custom: {
    50: '#a06cbe',
    500: '#732ca2',
    950: '#000000',
  },
}
SCSS
$custom: #732ca2;
$custom-light: #a06cbe;
$custom-dark: #000000;
JSON
{
  "hex": "#732ca2",
  "rgb": {
    "r": 115,
    "g": 44,
    "b": 162
  },
  "hsl": {
    "h": 276.102,
    "s": 57.282,
    "l": 40.392
  },
  "oklch": {
    "l": 0.45464,
    "c": 0.18253,
    "h": 308.2
  },
  "luminance": 0.08055
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #732CA2

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

Preview Lab → · Contrast checker → · Palette generator →

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