#732FA8#732FA8

#732FA8 is a mid, vivid violet. Relative luminance 0.085; OKLCH L 46.3% C 0.185 H 306.0°. Best body text is #FFFFFF at 7.77:1 contrast (WCAG AA passes).

Color values

HEX#732FA8
RGBrgb(115, 47, 168)
HSLhsl(274, 56%, 42%)
HSVhsv(274, 72%, 66%)
CMYKcmyk(31.5%, 72%, 0%, 34.1%)
CIE-LABlab(35.01, 51.23, -52.71)
CIE-LCHlch(35.01, 73.51, 314.18°)
OKLaboklab(46.26% 0.1088 -0.1497)
OKLCHoklch(46.26% 0.185 306)
XYZxyz(15.1531, 8.5052, 37.8816)
Luminance0.0851 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#732FA8 #64A82F
analogous
#372FA8 #732FA8 #A82FA1
triadic
#732FA8 #A8732F #2FA873
tetradic
#732FA8 #A8372F #64A82F #2FA1A8
square
#732FA8 #A8372F #64A82F #2FA1A8
split-complementary
#732FA8 #A1A82F #2FA837
monochromatic
#321448 #522278 #732FA8 #9248CC #AF78D9

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##732FA8#FFFFFF#000000##FFFFFF
##732FA81.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)
#0050AC
Deuteranopia (green-blind)
#0053A5
Tritanopia (blue-blind)
#6A4B68
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #732fa8;
/* rgb */ color: rgb(115, 47, 168);
/* oklch */ color: oklch(46.3% 0.185 306.0);
Tailwind
colors: {
  custom: {
    50: '#a06ec3',
    500: '#732fa8',
    950: '#000000',
  },
}
SCSS
$custom: #732fa8;
$custom-light: #a06ec3;
$custom-dark: #000000;
JSON
{
  "hex": "#732fa8",
  "rgb": {
    "r": 115,
    "g": 47,
    "b": 168
  },
  "hsl": {
    "h": 273.719,
    "s": 56.279,
    "l": 42.157
  },
  "oklch": {
    "l": 0.46255,
    "c": 0.18509,
    "h": 306
  },
  "luminance": 0.08505
}

Semantic roles & 50–950 ramp

primary
#732FA8
secondary
#94C171
accent
#E0488B
background
#FAF6FC
surface
#F4ECF8
border
#CEC7D1
text
#0F0712
muted
#7F7A81

Preview Lab

Preview with #732FA8

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

Preview Lab → · Contrast checker → · Palette generator →

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