#732DB8#732DB8

#732DB8 is a mid, highly saturated violet. Relative luminance 0.090; OKLCH L 47.3% C 0.204 H 301.8°. Best body text is #FFFFFF at 7.51:1 contrast (WCAG AA passes).

Color values

HEX#732DB8
RGBrgb(115, 45, 184)
HSLhsl(270, 61%, 45%)
HSVhsv(270, 76%, 72%)
CMYKcmyk(37.5%, 75.5%, 0%, 27.8%)
CIE-LABlab(35.95, 55.89, -60.71)
CIE-LCHlch(35.95, 82.52, 312.63°)
OKLaboklab(47.31% 0.1075 -0.1732)
OKLCHoklch(47.31% 0.204 301.8)
XYZxyz(16.6583, 8.9822, 46.1942)
Luminance0.0898 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#732DB8 #72B82D
analogous
#2E2DB8 #732DB8 #B82DB8
triadic
#732DB8 #B8732D #2DB873
tetradic
#732DB8 #B82E2D #72B82D #2DB8B8
square
#732DB8 #B82E2D #72B82D #2DB8B8
split-complementary
#732DB8 #B8B82D #2DB82E
monochromatic
#361556 #542187 #732DB8 #924ED4 #B080E0

Accessibility & contrast

On white

7.51
#732DB8 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.80
#732DB8 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #732DB8
7.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##732DB8#FFFFFF#000000##FFFFFF
##732DB81.007.512.807.51
#FFFFFF7.511.0021.001.00
#0000002.8021.001.0021.00
##FFFFFF7.511.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0054BC
Deuteranopia (green-blind)
#0054B5
Tritanopia (blue-blind)
#645171
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #732db8;
/* rgb */ color: rgb(115, 45, 184);
/* oklch */ color: oklch(47.3% 0.204 301.8);
Tailwind
colors: {
  custom: {
    50: '#a16dce',
    500: '#732db8',
    950: '#000000',
  },
}
SCSS
$custom: #732db8;
$custom-light: #a16dce;
$custom-dark: #000000;
JSON
{
  "hex": "#732db8",
  "rgb": {
    "r": 115,
    "g": 45,
    "b": 184
  },
  "hsl": {
    "h": 270.216,
    "s": 60.699,
    "l": 44.902
  },
  "oklch": {
    "l": 0.47305,
    "c": 0.20388,
    "h": 301.8
  },
  "luminance": 0.08982
}

Semantic roles & 50–950 ramp

primary
#732DB8
secondary
#A0C978
accent
#E44493
background
#FAF6FC
surface
#F4ECF9
border
#CEC7D2
text
#100714
muted
#7F7A82

Preview Lab

Preview with #732DB8

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

Preview Lab → · Contrast checker → · Palette generator →

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