#732BBB#732BBB

#732BBB is a mid, highly saturated violet. Relative luminance 0.090; OKLCH L 47.4% C 0.209 H 301.3°. Best body text is #FFFFFF at 7.52:1 contrast (WCAG AA passes).

Color values

HEX#732BBB
RGBrgb(115, 43, 187)
HSLhsl(270, 63%, 45%)
HSVhsv(270, 77%, 73%)
CMYKcmyk(38.5%, 77%, 0%, 26.7%)
CIE-LABlab(35.91, 57.43, -62.55)
CIE-LCHlch(35.91, 84.92, 312.55°)
OKLaboklab(47.35% 0.1085 -0.1786)
OKLCHoklch(47.35% 0.209 301.3)
XYZxyz(16.9016, 8.9603, 47.8431)
Luminance0.0896 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#732BBB #73BB2B
analogous
#2B2BBB #732BBB #BB2BBB
triadic
#732BBB #BB732B #2BBB73
tetradic
#732BBB #BB2B2B #73BB2B #2BBBBB
square
#732BBB #BB2B2B #73BB2B #2BBBBB
split-complementary
#732BBB #BBBB2B #2BBB2B
monochromatic
#361457 #542089 #732BBB #924DD6 #B07FE2

Accessibility & contrast

On white

7.52
#732BBB on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.79
#732BBB on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #732BBB
7.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##732BBB#FFFFFF#000000##FFFFFF
##732BBB1.007.522.797.52
#FFFFFF7.521.0021.001.00
#0000002.7921.001.0021.00
##FFFFFF7.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0054BF
Deuteranopia (green-blind)
#0054B8
Tritanopia (blue-blind)
#635172
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #732bbb;
/* rgb */ color: rgb(115, 43, 187);
/* oklch */ color: oklch(47.4% 0.209 301.3);
Tailwind
colors: {
  custom: {
    50: '#a26cd0',
    500: '#732bbb',
    950: '#000000',
  },
}
SCSS
$custom: #732bbb;
$custom-light: #a26cd0;
$custom-dark: #000000;
JSON
{
  "hex": "#732bbb",
  "rgb": {
    "r": 115,
    "g": 43,
    "b": 187
  },
  "hsl": {
    "h": 270,
    "s": 62.609,
    "l": 45.098
  },
  "oklch": {
    "l": 0.47352,
    "c": 0.209,
    "h": 301.3
  },
  "luminance": 0.0896
}

Semantic roles & 50–950 ramp

primary
#732BBB
secondary
#A1CA78
accent
#E64294
background
#FAF6FC
surface
#F4ECF9
border
#CEC7D2
text
#100714
muted
#7F7A82

Preview Lab

Preview with #732BBB

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

Preview Lab → · Contrast checker → · Palette generator →

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