#732CA8#732CA8

#732CA8 is a mid, vivid violet. Relative luminance 0.083; OKLCH L 45.9% C 0.189 H 306.3°. Best body text is #FFFFFF at 7.91:1 contrast (WCAG AA passes).

Color values

HEX#732CA8
RGBrgb(115, 44, 168)
HSLhsl(274, 58%, 42%)
HSVhsv(274, 74%, 66%)
CMYKcmyk(31.5%, 73.8%, 0%, 34.1%)
CIE-LABlab(34.55, 52.55, -53.47)
CIE-LCHlch(34.55, 74.97, 314.51°)
OKLaboklab(45.92% 0.1118 -0.1519)
OKLCHoklch(45.92% 0.189 306.3)
XYZxyz(15.0373, 8.2735, 37.8430)
Luminance0.0827 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#732CA8 #61A82C
analogous
#352CA8 #732CA8 #A82C9F
triadic
#732CA8 #A8732C #2CA873
tetradic
#732CA8 #A8352C #61A82C #2C9FA8
square
#732CA8 #A8352C #61A82C #2C9FA8
split-complementary
#732CA8 #9FA82C #2CA835
monochromatic
#311347 #521F78 #732CA8 #9343CE #AF74DB

Accessibility & contrast

On white

7.91
#732CA8 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.65
#732CA8 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #732CA8
7.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##732CA8#FFFFFF#000000##FFFFFF
##732CA81.007.912.657.91
#FFFFFF7.911.0021.001.00
#0000002.6521.001.0021.00
##FFFFFF7.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004FAC
Deuteranopia (green-blind)
#0052A5
Tritanopia (blue-blind)
#6A4A68
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #732ca8;
/* rgb */ color: rgb(115, 44, 168);
/* oklch */ color: oklch(45.9% 0.189 306.3);
Tailwind
colors: {
  custom: {
    50: '#a06cc3',
    500: '#732ca8',
    950: '#000000',
  },
}
SCSS
$custom: #732ca8;
$custom-light: #a06cc3;
$custom-dark: #000000;
JSON
{
  "hex": "#732ca8",
  "rgb": {
    "r": 115,
    "g": 44,
    "b": 168
  },
  "hsl": {
    "h": 274.355,
    "s": 58.491,
    "l": 41.569
  },
  "oklch": {
    "l": 0.45923,
    "c": 0.18865,
    "h": 306.3
  },
  "luminance": 0.08273
}

Semantic roles & 50–950 ramp

primary
#732CA8
secondary
#92C26E
accent
#E24689
background
#FAF6FC
surface
#F4ECF8
border
#CEC7D1
text
#0F0713
muted
#7F7A82

Preview Lab

Preview with #732CA8

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

Preview Lab → · Contrast checker → · Palette generator →

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