#732BB2#732BB2

#732BB2 is a mid, vivid violet. Relative luminance 0.086; OKLCH L 46.6% C 0.200 H 303.6°. Best body text is #FFFFFF at 7.73:1 contrast (WCAG AA passes).

Color values

HEX#732BB2
RGBrgb(115, 43, 178)
HSLhsl(272, 61%, 43%)
HSVhsv(272, 76%, 70%)
CMYKcmyk(35.4%, 75.8%, 0%, 30.2%)
CIE-LABlab(35.18, 55.30, -58.42)
CIE-LCHlch(35.18, 80.44, 313.43°)
OKLaboklab(46.61% 0.1107 -0.1665)
OKLCHoklch(46.61% 0.2 303.6)
XYZxyz(15.9681, 8.5870, 42.9271)
Luminance0.0859 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#732BB2 #6AB22B
analogous
#2F2BB2 #732BB2 #B22BAD
triadic
#732BB2 #B2732B #2BB273
tetradic
#732BB2 #B22F2B #6AB22B #2BADB2
square
#732BB2 #B22F2B #6AB22B #2BADB2
split-complementary
#732BB2 #ADB22B #2BB22F
monochromatic
#33134F #531F81 #732BB2 #9248D3 #AF79DF

Accessibility & contrast

On white

7.73
#732BB2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.72
#732BB2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #732BB2
7.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##732BB2#FFFFFF#000000##FFFFFF
##732BB21.007.732.727.73
#FFFFFF7.731.0021.001.00
#0000002.7221.001.0021.00
##FFFFFF7.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0051B6
Deuteranopia (green-blind)
#0052AF
Tritanopia (blue-blind)
#664D6D
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #732bb2;
/* rgb */ color: rgb(115, 43, 178);
/* oklch */ color: oklch(46.6% 0.200 303.6);
Tailwind
colors: {
  custom: {
    50: '#a16cca',
    500: '#732bb2',
    950: '#000000',
  },
}
SCSS
$custom: #732bb2;
$custom-light: #a16cca;
$custom-dark: #000000;
JSON
{
  "hex": "#732bb2",
  "rgb": {
    "r": 115,
    "g": 43,
    "b": 178
  },
  "hsl": {
    "h": 272,
    "s": 61.086,
    "l": 43.333
  },
  "oklch": {
    "l": 0.46612,
    "c": 0.19991,
    "h": 303.6
  },
  "luminance": 0.08587
}

Semantic roles & 50–950 ramp

primary
#732BB2
secondary
#9AC772
accent
#E4448F
background
#FAF6FC
surface
#F4ECF8
border
#CEC7D1
text
#100713
muted
#7F7A82

Preview Lab

Preview with #732BB2

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

Preview Lab → · Contrast checker → · Palette generator →

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