#8732B3#8732B3

#8732B3 is a mid, vivid violet. Relative luminance 0.107; OKLCH L 50.0% C 0.198 H 311.4°. Best body text is #FFFFFF at 6.69:1 contrast (WCAG AA passes).

Color values

HEX#8732B3
RGBrgb(135, 50, 179)
HSLhsl(280, 56%, 45%)
HSVhsv(280, 72%, 70%)
CMYKcmyk(24.6%, 72.1%, 0%, 29.8%)
CIE-LABlab(39.05, 56.44, -52.60)
CIE-LCHlch(39.05, 77.15, 317.02°)
OKLaboklab(49.96% 0.1311 -0.1487)
OKLCHoklch(49.96% 0.198 311.4)
XYZxyz(19.2674, 10.6873, 43.6870)
Luminance0.1069 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8732B3 #5EB332
analogous
#4732B3 #8732B3 #B3329E
triadic
#8732B3 #B38732 #32B387
tetradic
#8732B3 #B34732 #5EB332 #329EB3
square
#8732B3 #B34732 #5EB332 #329EB3
split-complementary
#8732B3 #9EB332 #32B347
monochromatic
#3F1753 #632583 #8732B3 #A553CF #BE83DC

Accessibility & contrast

On white

6.69
#8732B3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.14
#8732B3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8732B3
6.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8732B3#FFFFFF#000000##FFFFFF
##8732B31.006.693.146.69
#FFFFFF6.691.0021.001.00
#0000003.1421.001.0021.00
##FFFFFF6.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0058B7
Deuteranopia (green-blind)
#1F5DB0
Tritanopia (blue-blind)
#814F6F
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #8732b3;
/* rgb */ color: rgb(135, 50, 179);
/* oklch */ color: oklch(50.0% 0.198 311.4);
Tailwind
colors: {
  custom: {
    50: '#ae72ca',
    500: '#8732b3',
    950: '#000000',
  },
}
SCSS
$custom: #8732b3;
$custom-light: #ae72ca;
$custom-dark: #000000;
JSON
{
  "hex": "#8732b3",
  "rgb": {
    "r": 135,
    "g": 50,
    "b": 179
  },
  "hsl": {
    "h": 279.535,
    "s": 56.332,
    "l": 44.902
  },
  "oklch": {
    "l": 0.49959,
    "c": 0.1983,
    "h": 311.4
  },
  "luminance": 0.10687
}

Semantic roles & 50–950 ramp

primary
#8732B3
secondary
#95C67B
accent
#E0487C
background
#FBF7FC
surface
#F6EDF8
border
#D0C8D1
text
#110813
muted
#807B82

Preview Lab

Preview with #8732B3

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

Preview Lab → · Contrast checker → · Palette generator →

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