#732ABB#732ABB

#732ABB is a mid, highly saturated violet. Relative luminance 0.089; OKLCH L 47.3% C 0.210 H 301.4°. Best body text is #FFFFFF at 7.56:1 contrast (WCAG AA passes).

Color values

HEX#732ABB
RGBrgb(115, 42, 187)
HSLhsl(270, 63%, 45%)
HSVhsv(270, 78%, 73%)
CMYKcmyk(38.5%, 77.5%, 0%, 26.7%)
CIE-LABlab(35.77, 57.83, -62.78)
CIE-LCHlch(35.77, 85.35, 312.65°)
OKLaboklab(47.26% 0.1093 -0.1793)
OKLCHoklch(47.26% 0.21 301.4)
XYZxyz(16.8656, 8.8885, 47.8312)
Luminance0.0889 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#732ABB #72BB2A
analogous
#2B2ABB #732ABB #BB2ABB
triadic
#732ABB #BB732A #2ABB73
tetradic
#732ABB #BB2B2A #72BB2A #2ABBBB
square
#732ABB #BB2B2A #72BB2A #2ABBBB
split-complementary
#732ABB #BBBB2A #2ABB2B
monochromatic
#361457 #541F89 #732ABB #924CD7 #B07DE2

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##732ABB#FFFFFF#000000##FFFFFF
##732ABB1.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)
#0053BF
Deuteranopia (green-blind)
#0053B8
Tritanopia (blue-blind)
#635172
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #732abb;
/* rgb */ color: rgb(115, 42, 187);
/* oklch */ color: oklch(47.3% 0.210 301.4);
Tailwind
colors: {
  custom: {
    50: '#a26cd0',
    500: '#732abb',
    950: '#000000',
  },
}
SCSS
$custom: #732abb;
$custom-light: #a26cd0;
$custom-dark: #000000;
JSON
{
  "hex": "#732abb",
  "rgb": {
    "r": 115,
    "g": 42,
    "b": 187
  },
  "hsl": {
    "h": 270.207,
    "s": 63.319,
    "l": 44.902
  },
  "oklch": {
    "l": 0.47255,
    "c": 0.20999,
    "h": 301.4
  },
  "luminance": 0.08889
}

Semantic roles & 50–950 ramp

primary
#732ABB
secondary
#A0CA76
accent
#E64193
background
#FAF6FC
surface
#F4ECF9
border
#CEC7D2
text
#100714
muted
#7F7A82

Preview Lab

Preview with #732ABB

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

Preview Lab → · Contrast checker → · Palette generator →

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