#8732CF#8732CF

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

Color values

HEX#8732CF
RGBrgb(135, 50, 207)
HSLhsl(272, 62%, 50%)
HSVhsv(272, 76%, 81%)
CMYKcmyk(34.8%, 75.8%, 0%, 18.8%)
CIE-LABlab(41.12, 62.62, -65.62)
CIE-LCHlch(41.12, 90.71, 313.66°)
OKLaboklab(52.07% 0.126 -0.187)
OKLCHoklch(52.07% 0.225 304)
XYZxyz(22.3922, 11.9371, 60.1438)
Luminance0.1194 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8732CF #7ACF32
analogous
#3832CF #8732CF #CF32C8
triadic
#8732CF #CF8732 #32CF87
tetradic
#8732CF #CF3832 #7ACF32 #32C8CF
square
#8732CF #CF3832 #7ACF32 #32C8CF
split-complementary
#8732CF #C8CF32 #32CF38
monochromatic
#471A6D #67259F #8732CF #A464DB #C195E6

Accessibility & contrast

On white

6.20
#8732CF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.39
#8732CF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8732CF
6.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8732CF#FFFFFF#000000##FFFFFF
##8732CF1.006.203.396.20
#FFFFFF6.201.0021.001.00
#0000003.3921.001.0021.00
##FFFFFF6.201.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #8732cf;
/* rgb */ color: rgb(135, 50, 207);
/* oklch */ color: oklch(52.1% 0.225 304.0);
Tailwind
colors: {
  custom: {
    50: '#b073df',
    500: '#8732cf',
    950: '#000000',
  },
}
SCSS
$custom: #8732cf;
$custom-light: #b073df;
$custom-dark: #000000;
JSON
{
  "hex": "#8732cf",
  "rgb": {
    "r": 135,
    "g": 50,
    "b": 207
  },
  "hsl": {
    "h": 272.484,
    "s": 62.055,
    "l": 50.392
  },
  "oklch": {
    "l": 0.52068,
    "c": 0.22548,
    "h": 304
  },
  "luminance": 0.11937
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #8732CF

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

Preview Lab → · Contrast checker → · Palette generator →

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