#8332CF#8332CF

#8332CF is a mid, highly saturated violet. Relative luminance 0.116; OKLCH L 51.6% C 0.225 H 302.4°. Best body text is #FFFFFF at 6.32:1 contrast (WCAG AA passes).

Color values

HEX#8332CF
RGBrgb(131, 50, 207)
HSLhsl(271, 62%, 50%)
HSVhsv(271, 76%, 81%)
CMYKcmyk(36.7%, 75.8%, 0%, 18.8%)
CIE-LABlab(40.59, 61.95, -66.50)
CIE-LCHlch(40.59, 90.88, 312.97°)
OKLaboklab(51.59% 0.1204 -0.1897)
OKLCHoklch(51.59% 0.225 302.4)
XYZxyz(21.7605, 11.6114, 60.1142)
Luminance0.1161 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8332CF #7ECF32
analogous
#3432CF #8332CF #CF32CD
triadic
#8332CF #CF8332 #32CF83
tetradic
#8332CF #CF3432 #7ECF32 #32CDCF
square
#8332CF #CF3432 #7ECF32 #32CDCF
split-complementary
#8332CF #CDCF32 #32CF34
monochromatic
#451A6D #64259F #8332CF #A164DB #BF95E6

Accessibility & contrast

On white

6.32
#8332CF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.32
#8332CF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8332CF
6.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8332CF#FFFFFF#000000##FFFFFF
##8332CF1.006.323.326.32
#FFFFFF6.321.0021.001.00
#0000003.3221.001.0021.00
##FFFFFF6.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005ED3
Deuteranopia (green-blind)
#005FCC
Tritanopia (blue-blind)
#735B7F
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #8332cf;
/* rgb */ color: rgb(131, 50, 207);
/* oklch */ color: oklch(51.6% 0.225 302.4);
Tailwind
colors: {
  custom: {
    50: '#ae72df',
    500: '#8332cf',
    950: '#000000',
  },
}
SCSS
$custom: #8332cf;
$custom-light: #ae72df;
$custom-dark: #000000;
JSON
{
  "hex": "#8332cf",
  "rgb": {
    "r": 131,
    "g": 50,
    "b": 207
  },
  "hsl": {
    "h": 270.955,
    "s": 62.055,
    "l": 50.392
  },
  "oklch": {
    "l": 0.51588,
    "c": 0.2247,
    "h": 302.4
  },
  "luminance": 0.11611
}

Semantic roles & 50–950 ramp

primary
#8332CF
secondary
#ADD18B
accent
#E54391
background
#FBF7FD
surface
#F6EDFB
border
#D0C8D4
text
#110815
muted
#807B83

Preview Lab

Preview with #8332CF

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

Preview Lab → · Contrast checker → · Palette generator →

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