#732FB2#732FB2

#732FB2 is a mid, vivid violet. Relative luminance 0.089; OKLCH L 47.0% C 0.196 H 303.2°. Best body text is #FFFFFF at 7.56:1 contrast (WCAG AA passes).

Color values

HEX#732FB2
RGBrgb(115, 47, 178)
HSLhsl(271, 58%, 44%)
HSVhsv(271, 74%, 70%)
CMYKcmyk(35.4%, 73.6%, 0%, 30.2%)
CIE-LABlab(35.78, 53.60, -57.44)
CIE-LCHlch(35.78, 78.56, 313.02°)
OKLaboklab(47.03% 0.107 -0.1636)
OKLCHoklch(47.03% 0.196 303.2)
XYZxyz(16.1207, 8.8922, 42.9779)
Luminance0.0889 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#732FB2 #6EB22F
analogous
#322FB2 #732FB2 #B22FB0
triadic
#732FB2 #B2732F #2FB273
tetradic
#732FB2 #B2322F #6EB22F #2FB0B2
square
#732FB2 #B2322F #6EB22F #2FB0B2
split-complementary
#732FB2 #B0B22F #2FB232
monochromatic
#341551 #542282 #732FB2 #924ED0 #B07EDD

Accessibility & contrast

On white

7.56
#732FB2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.78
#732FB2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #732FB2
7.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##732FB2#FFFFFF#000000##FFFFFF
##732FB21.007.562.787.56
#FFFFFF7.561.0021.001.00
#0000002.7821.001.0021.00
##FFFFFF7.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0053B6
Deuteranopia (green-blind)
#0054AF
Tritanopia (blue-blind)
#664F6E
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #732fb2;
/* rgb */ color: rgb(115, 47, 178);
/* oklch */ color: oklch(47.0% 0.196 303.2);
Tailwind
colors: {
  custom: {
    50: '#a16eca',
    500: '#732fb2',
    950: '#000000',
  },
}
SCSS
$custom: #732fb2;
$custom-light: #a16eca;
$custom-dark: #000000;
JSON
{
  "hex": "#732fb2",
  "rgb": {
    "r": 115,
    "g": 47,
    "b": 178
  },
  "hsl": {
    "h": 271.145,
    "s": 58.222,
    "l": 44.118
  },
  "oklch": {
    "l": 0.47034,
    "c": 0.1955,
    "h": 303.2
  },
  "luminance": 0.08892
}

Semantic roles & 50–950 ramp

primary
#732FB2
secondary
#9DC677
accent
#E14691
background
#FAF6FC
surface
#F4ECF8
border
#CEC7D1
text
#0F0813
muted
#7F7B82

Preview Lab

Preview with #732FB2

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

Preview Lab → · Contrast checker → · Palette generator →

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