#732BB8#732BB8

#732BB8 is a mid, highly saturated violet. Relative luminance 0.088; OKLCH L 47.1% C 0.206 H 302.0°. Best body text is #FFFFFF at 7.59:1 contrast (WCAG AA passes).

Color values

HEX#732BB8
RGBrgb(115, 43, 184)
HSLhsl(271, 62%, 45%)
HSVhsv(271, 77%, 72%)
CMYKcmyk(37.5%, 76.6%, 0%, 27.8%)
CIE-LABlab(35.66, 56.72, -61.18)
CIE-LCHlch(35.66, 83.43, 312.83°)
OKLaboklab(47.1% 0.1093 -0.1746)
OKLCHoklch(47.1% 0.206 302)
XYZxyz(16.5838, 8.8332, 46.1694)
Luminance0.0883 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#732BB8 #70B82B
analogous
#2C2BB8 #732BB8 #B82BB7
triadic
#732BB8 #B8732B #2BB873
tetradic
#732BB8 #B82C2B #70B82B #2BB7B8
square
#732BB8 #B82C2B #70B82B #2BB7B8
split-complementary
#732BB8 #B7B82B #2BB82C
monochromatic
#351455 #541F86 #732BB8 #924BD5 #B07DE1

Accessibility & contrast

On white

7.59
#732BB8 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.77
#732BB8 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #732BB8
7.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##732BB8#FFFFFF#000000##FFFFFF
##732BB81.007.592.777.59
#FFFFFF7.591.0021.001.00
#0000002.7721.001.0021.00
##FFFFFF7.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0053BC
Deuteranopia (green-blind)
#0053B5
Tritanopia (blue-blind)
#645070
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #732bb8;
/* rgb */ color: rgb(115, 43, 184);
/* oklch */ color: oklch(47.1% 0.206 302.0);
Tailwind
colors: {
  custom: {
    50: '#a26cce',
    500: '#732bb8',
    950: '#000000',
  },
}
SCSS
$custom: #732bb8;
$custom-light: #a26cce;
$custom-dark: #000000;
JSON
{
  "hex": "#732bb8",
  "rgb": {
    "r": 115,
    "g": 43,
    "b": 184
  },
  "hsl": {
    "h": 270.638,
    "s": 62.115,
    "l": 44.51
  },
  "oklch": {
    "l": 0.47103,
    "c": 0.20597,
    "h": 302
  },
  "luminance": 0.08833
}

Semantic roles & 50–950 ramp

primary
#732BB8
secondary
#9FC976
accent
#E54392
background
#FAF6FC
surface
#F4ECF9
border
#CEC7D2
text
#100714
muted
#7F7A82

Preview Lab

Preview with #732BB8

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

Preview Lab → · Contrast checker → · Palette generator →

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