#732AB2#732AB2

#732AB2 is a mid, highly saturated violet. Relative luminance 0.085; OKLCH L 46.5% C 0.201 H 303.7°. Best body text is #FFFFFF at 7.77:1 contrast (WCAG AA passes).

Color values

HEX#732AB2
RGBrgb(115, 42, 178)
HSLhsl(272, 62%, 43%)
HSVhsv(272, 76%, 70%)
CMYKcmyk(35.4%, 76.4%, 0%, 30.2%)
CIE-LABlab(35.03, 55.72, -58.65)
CIE-LCHlch(35.03, 80.89, 313.53°)
OKLaboklab(46.51% 0.1116 -0.1672)
OKLCHoklch(46.51% 0.201 303.7)
XYZxyz(15.9322, 8.5151, 42.9151)
Luminance0.0852 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#732AB2 #69B22A
analogous
#2F2AB2 #732AB2 #B22AAD
triadic
#732AB2 #B2732A #2AB273
tetradic
#732AB2 #B22F2A #69B22A #2AADB2
square
#732AB2 #B22F2A #69B22A #2AADB2
split-complementary
#732AB2 #ADB22A #2AB22F
monochromatic
#33134F #531E80 #732AB2 #9246D3 #AF77DF

Accessibility & contrast

On white

7.77
#732AB2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.70
#732AB2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #732AB2
7.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##732AB2#FFFFFF#000000##FFFFFF
##732AB21.007.772.707.77
#FFFFFF7.771.0021.001.00
#0000002.7021.001.0021.00
##FFFFFF7.771.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #732ab2;
/* rgb */ color: rgb(115, 42, 178);
/* oklch */ color: oklch(46.5% 0.201 303.7);
Tailwind
colors: {
  custom: {
    50: '#a16cca',
    500: '#732ab2',
    950: '#000000',
  },
}
SCSS
$custom: #732ab2;
$custom-light: #a16cca;
$custom-dark: #000000;
JSON
{
  "hex": "#732ab2",
  "rgb": {
    "r": 115,
    "g": 42,
    "b": 178
  },
  "hsl": {
    "h": 272.206,
    "s": 61.818,
    "l": 43.137
  },
  "oklch": {
    "l": 0.46511,
    "c": 0.20097,
    "h": 303.7
  },
  "luminance": 0.08515
}

Semantic roles & 50–950 ramp

primary
#732AB2
secondary
#99C771
accent
#E5438E
background
#FAF6FC
surface
#F4ECF8
border
#CEC7D1
text
#100713
muted
#7F7A82

Preview Lab

Preview with #732AB2

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

Preview Lab → · Contrast checker → · Palette generator →

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