#8F32C7#8F32C7

#8F32C7 is a mid, highly saturated violet. Relative luminance 0.122; OKLCH L 52.5% C 0.220 H 309.1°. Best body text is #FFFFFF at 6.09:1 contrast (WCAG AA passes).

Color values

HEX#8F32C7
RGBrgb(143, 50, 199)
HSLhsl(277, 60%, 49%)
HSVhsv(277, 75%, 78%)
CMYKcmyk(28.1%, 74.9%, 0%, 22%)
CIE-LABlab(41.60, 62.27, -60.15)
CIE-LCHlch(41.60, 86.57, 316.00°)
OKLaboklab(52.45% 0.1385 -0.1706)
OKLCHoklch(52.45% 0.22 309.1)
XYZxyz(22.7750, 12.2448, 55.1855)
Luminance0.1224 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F32C7 #6AC732
analogous
#4532C7 #8F32C7 #C732B5
triadic
#8F32C7 #C78F32 #32C78F
tetradic
#8F32C7 #C74532 #6AC732 #32B5C7
square
#8F32C7 #C74532 #6AC732 #32B5C7
split-complementary
#8F32C7 #B5C732 #32C745
monochromatic
#491965 #6C2696 #8F32C7 #AA5FD7 #C490E3

Accessibility & contrast

On white

6.09
#8F32C7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.45
#8F32C7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8F32C7
6.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F32C7#FFFFFF#000000##FFFFFF
##8F32C71.006.093.456.09
#FFFFFF6.091.0021.001.00
#0000003.4521.001.0021.00
##FFFFFF6.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005FCB
Deuteranopia (green-blind)
#0063C4
Tritanopia (blue-blind)
#86567B
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #8f32c7;
/* rgb */ color: rgb(143, 50, 199);
/* oklch */ color: oklch(52.5% 0.220 309.1);
Tailwind
colors: {
  custom: {
    50: '#b573d9',
    500: '#8f32c7',
    950: '#000000',
  },
}
SCSS
$custom: #8f32c7;
$custom-light: #b573d9;
$custom-dark: #000000;
JSON
{
  "hex": "#8f32c7",
  "rgb": {
    "r": 143,
    "g": 50,
    "b": 199
  },
  "hsl": {
    "h": 277.45,
    "s": 59.839,
    "l": 48.824
  },
  "oklch": {
    "l": 0.52451,
    "c": 0.21974,
    "h": 309.1
  },
  "luminance": 0.12244
}

Semantic roles & 50–950 ramp

primary
#8F32C7
secondary
#A2CE87
accent
#E34580
background
#FBF7FD
surface
#F6EDFB
border
#D0C8D4
text
#120915
muted
#817B83

Preview Lab

Preview with #8F32C7

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

Preview Lab → · Contrast checker → · Palette generator →

#8F32C7 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva