#732CB8#732CB8

#732CB8 is a mid, highly saturated violet. Relative luminance 0.089; OKLCH L 47.2% C 0.205 H 301.9°. Best body text is #FFFFFF at 7.55:1 contrast (WCAG AA passes).

Color values

HEX#732CB8
RGBrgb(115, 44, 184)
HSLhsl(270, 61%, 45%)
HSVhsv(270, 76%, 72%)
CMYKcmyk(37.5%, 76.1%, 0%, 27.8%)
CIE-LABlab(35.80, 56.31, -60.95)
CIE-LCHlch(35.80, 82.98, 312.73°)
OKLaboklab(47.2% 0.1084 -0.1739)
OKLCHoklch(47.2% 0.205 301.9)
XYZxyz(16.6206, 8.9068, 46.1817)
Luminance0.0891 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#732CB8 #71B82C
analogous
#2D2CB8 #732CB8 #B82CB7
triadic
#732CB8 #B8732C #2CB873
tetradic
#732CB8 #B82D2C #71B82C #2CB7B8
square
#732CB8 #B82D2C #71B82C #2CB7B8
split-complementary
#732CB8 #B7B82C #2CB82D
monochromatic
#351455 #542087 #732CB8 #924DD4 #B07EE0

Accessibility & contrast

On white

7.55
#732CB8 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #732CB8
7.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##732CB8#FFFFFF#000000##FFFFFF
##732CB81.007.552.787.55
#FFFFFF7.551.0021.001.00
#0000002.7821.001.0021.00
##FFFFFF7.551.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #732cb8;
/* rgb */ color: rgb(115, 44, 184);
/* oklch */ color: oklch(47.2% 0.205 301.9);
Tailwind
colors: {
  custom: {
    50: '#a26dce',
    500: '#732cb8',
    950: '#000000',
  },
}
SCSS
$custom: #732cb8;
$custom-light: #a26dce;
$custom-dark: #000000;
JSON
{
  "hex": "#732cb8",
  "rgb": {
    "r": 115,
    "g": 44,
    "b": 184
  },
  "hsl": {
    "h": 270.429,
    "s": 61.404,
    "l": 44.706
  },
  "oklch": {
    "l": 0.47203,
    "c": 0.20494,
    "h": 301.9
  },
  "luminance": 0.08907
}

Semantic roles & 50–950 ramp

primary
#732CB8
secondary
#9FC977
accent
#E54393
background
#FAF6FC
surface
#F4ECF9
border
#CEC7D2
text
#100714
muted
#7F7A82

Preview Lab

Preview with #732CB8

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

Preview Lab → · Contrast checker → · Palette generator →

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