#8732CE#8732CE

#8732CE is a mid, highly saturated violet. Relative luminance 0.119; OKLCH L 52.0% C 0.225 H 304.2°. Best body text is #FFFFFF at 6.22:1 contrast (WCAG AA passes).

Color values

HEX#8732CE
RGBrgb(135, 50, 206)
HSLhsl(273, 61%, 50%)
HSVhsv(273, 76%, 81%)
CMYKcmyk(34.5%, 75.7%, 0%, 19.2%)
CIE-LABlab(41.04, 62.39, -65.17)
CIE-LCHlch(41.04, 90.22, 313.75°)
OKLaboklab(51.99% 0.1262 -0.1857)
OKLCHoklch(51.99% 0.225 304.2)
XYZxyz(22.2703, 11.8884, 59.5020)
Luminance0.1189 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8732CE #79CE32
analogous
#3932CE #8732CE #CE32C7
triadic
#8732CE #CE8732 #32CE87
tetradic
#8732CE #CE3932 #79CE32 #32C7CE
square
#8732CE #CE3932 #79CE32 #32C7CE
split-complementary
#8732CE #C7CE32 #32CE39
monochromatic
#461A6C #67269D #8732CE #A463DA #C195E6

Accessibility & contrast

On white

6.22
#8732CE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.38
#8732CE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8732CE
6.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8732CE#FFFFFF#000000##FFFFFF
##8732CE1.006.223.386.22
#FFFFFF6.221.0021.001.00
#0000003.3821.001.0021.00
##FFFFFF6.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005FD2
Deuteranopia (green-blind)
#0061CB
Tritanopia (blue-blind)
#795A7F
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #8732ce;
/* rgb */ color: rgb(135, 50, 206);
/* oklch */ color: oklch(52.0% 0.225 304.2);
Tailwind
colors: {
  custom: {
    50: '#b073de',
    500: '#8732ce',
    950: '#000000',
  },
}
SCSS
$custom: #8732ce;
$custom-light: #b073de;
$custom-dark: #000000;
JSON
{
  "hex": "#8732ce",
  "rgb": {
    "r": 135,
    "g": 50,
    "b": 206
  },
  "hsl": {
    "h": 272.692,
    "s": 61.417,
    "l": 50.196
  },
  "oklch": {
    "l": 0.51989,
    "c": 0.2245,
    "h": 304.2
  },
  "luminance": 0.11888
}

Semantic roles & 50–950 ramp

primary
#8732CE
secondary
#ABD18B
accent
#E5438D
background
#FBF7FD
surface
#F6EDFB
border
#D0C8D4
text
#110915
muted
#807B83

Preview Lab

Preview with #8732CE

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

Preview Lab → · Contrast checker → · Palette generator →

#8732CE Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva