#732FB8#732FB8

#732FB8 is a mid, highly saturated violet. Relative luminance 0.091; OKLCH L 47.5% C 0.202 H 301.6°. Best body text is #FFFFFF at 7.43:1 contrast (WCAG AA passes).

Color values

HEX#732FB8
RGBrgb(115, 47, 184)
HSLhsl(270, 59%, 45%)
HSVhsv(270, 74%, 72%)
CMYKcmyk(37.5%, 74.5%, 0%, 27.8%)
CIE-LABlab(36.25, 55.04, -60.22)
CIE-LCHlch(36.25, 81.58, 312.42°)
OKLaboklab(47.52% 0.1057 -0.1718)
OKLCHoklch(47.52% 0.202 301.6)
XYZxyz(16.7364, 9.1385, 46.2203)
Luminance0.0914 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#732FB8 #74B82F
analogous
#2F30B8 #732FB8 #B72FB8
triadic
#732FB8 #B8732F #2FB873
tetradic
#732FB8 #B82F30 #74B82F #2FB8B7
square
#732FB8 #B82F30 #74B82F #2FB8B7
split-complementary
#732FB8 #B8B72F #30B82F
monochromatic
#361657 #552387 #732FB8 #9252D3 #B082DF

Accessibility & contrast

On white

7.43
#732FB8 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.83
#732FB8 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #732FB8
7.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##732FB8#FFFFFF#000000##FFFFFF
##732FB81.007.432.837.43
#FFFFFF7.431.0021.001.00
#0000002.8321.001.0021.00
##FFFFFF7.431.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0054BC
Deuteranopia (green-blind)
#0055B5
Tritanopia (blue-blind)
#645271
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #732fb8;
/* rgb */ color: rgb(115, 47, 184);
/* oklch */ color: oklch(47.5% 0.202 301.6);
Tailwind
colors: {
  custom: {
    50: '#a16ece',
    500: '#732fb8',
    950: '#000000',
  },
}
SCSS
$custom: #732fb8;
$custom-light: #a16ece;
$custom-dark: #000000;
JSON
{
  "hex": "#732fb8",
  "rgb": {
    "r": 115,
    "g": 47,
    "b": 184
  },
  "hsl": {
    "h": 269.781,
    "s": 59.307,
    "l": 45.294
  },
  "oklch": {
    "l": 0.47516,
    "c": 0.20173,
    "h": 301.6
  },
  "luminance": 0.09139
}

Semantic roles & 50–950 ramp

primary
#732FB8
secondary
#A2C87B
accent
#E24594
background
#FAF6FC
surface
#F4ECF9
border
#CEC7D2
text
#100814
muted
#7F7B82

Preview Lab

Preview with #732FB8

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

Preview Lab → · Contrast checker → · Palette generator →

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