#732ECA#732ECA

#732ECA is a mid, highly saturated violet. Relative luminance 0.099; OKLCH L 48.9% C 0.221 H 297.5°. Best body text is #FFFFFF at 7.06:1 contrast (WCAG AA passes).

Color values

HEX#732ECA
RGBrgb(115, 46, 202)
HSLhsl(267, 63%, 49%)
HSVhsv(267, 77%, 79%)
CMYKcmyk(43.1%, 77.2%, 0%, 20.8%)
CIE-LABlab(37.59, 59.82, -68.58)
CIE-LCHlch(37.59, 91.00, 311.10°)
OKLaboklab(48.92% 0.1021 -0.1963)
OKLCHoklch(48.92% 0.221 297.5)
XYZxyz(18.7051, 9.8627, 56.7839)
Luminance0.0986 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#732ECA #85CA2E
analogous
#2E37CA #732ECA #C12ECA
triadic
#732ECA #CA732E #2ECA73
tetradic
#732ECA #CA2E37 #85CA2E #2ECAC1
square
#732ECA #CA2E37 #85CA2E #2ECAC1
split-complementary
#732ECA #CAC12E #37CA2E
monochromatic
#3A1766 #572398 #732ECA #935BDA #B48DE5

Accessibility & contrast

On white

7.06
#732ECA on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.97
#732ECA on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #732ECA
7.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##732ECA#FFFFFF#000000##FFFFFF
##732ECA1.007.062.977.06
#FFFFFF7.061.0021.001.00
#0000002.9721.001.0021.00
##FFFFFF7.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0059CE
Deuteranopia (green-blind)
#0057C7
Tritanopia (blue-blind)
#5C597B
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #732eca;
/* rgb */ color: rgb(115, 46, 202);
/* oklch */ color: oklch(48.9% 0.221 297.5);
Tailwind
colors: {
  custom: {
    50: '#a36fdb',
    500: '#732eca',
    950: '#000000',
  },
}
SCSS
$custom: #732eca;
$custom-light: #a36fdb;
$custom-dark: #000000;
JSON
{
  "hex": "#732eca",
  "rgb": {
    "r": 115,
    "g": 46,
    "b": 202
  },
  "hsl": {
    "h": 266.538,
    "s": 62.903,
    "l": 48.627
  },
  "oklch": {
    "l": 0.48922,
    "c": 0.22129,
    "h": 297.5
  },
  "luminance": 0.09863
}

Semantic roles & 50–950 ramp

primary
#732ECA
secondary
#AECF84
accent
#E6429D
background
#FAF7FD
surface
#F4EDFB
border
#CEC8D4
text
#100815
muted
#7F7B83

Preview Lab

Preview with #732ECA

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

Preview Lab → · Contrast checker → · Palette generator →

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