#8F3CC2#8F3CC2

#8F3CC2 is a mid, highly saturated violet. Relative luminance 0.130; OKLCH L 53.1% C 0.203 H 309.5°. Best body text is #FFFFFF at 5.84:1 contrast (WCAG AA passes).

Color values

HEX#8F3CC2
RGBrgb(143, 60, 194)
HSLhsl(277, 53%, 50%)
HSVhsv(277, 69%, 76%)
CMYKcmyk(26.3%, 69.1%, 0%, 23.9%)
CIE-LABlab(42.71, 57.05, -55.44)
CIE-LCHlch(42.71, 79.55, 315.82°)
OKLaboklab(53.13% 0.1294 -0.1569)
OKLCHoklch(53.13% 0.203 309.5)
XYZxyz(22.6792, 12.9668, 52.3366)
Luminance0.1297 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F3CC2 #6FC23C
analogous
#4C3CC2 #8F3CC2 #C23CB2
triadic
#8F3CC2 #C28F3C #3CC28F
tetradic
#8F3CC2 #C24C3C #6FC23C #3CB2C2
square
#8F3CC2 #C24C3C #6FC23C #3CB2C2
split-complementary
#8F3CC2 #B2C23C #3CC24C
monochromatic
#4A1F65 #6D2E93 #8F3CC2 #AA6AD1 #C599DF

Accessibility & contrast

On white

5.84
#8F3CC2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.59
#8F3CC2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8F3CC2
5.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F3CC2#FFFFFF#000000##FFFFFF
##8F3CC21.005.843.595.84
#FFFFFF5.841.0021.001.00
#0000003.5921.001.0021.00
##FFFFFF5.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0061C6
Deuteranopia (green-blind)
#2366BF
Tritanopia (blue-blind)
#88597B
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #8f3cc2;
/* rgb */ color: rgb(143, 60, 194);
/* oklch */ color: oklch(53.1% 0.203 309.5);
Tailwind
colors: {
  custom: {
    50: '#b478d5',
    500: '#8f3cc2',
    950: '#000000',
  },
}
SCSS
$custom: #8f3cc2;
$custom-light: #b478d5;
$custom-dark: #000000;
JSON
{
  "hex": "#8f3cc2",
  "rgb": {
    "r": 143,
    "g": 60,
    "b": 194
  },
  "hsl": {
    "h": 277.164,
    "s": 52.756,
    "l": 49.804
  },
  "oklch": {
    "l": 0.53129,
    "c": 0.20335,
    "h": 309.5
  },
  "luminance": 0.12966
}

Semantic roles & 50–950 ramp

primary
#8F3CC2
secondary
#A6CB8F
accent
#DC4C83
background
#FBF7FD
surface
#F6EEFA
border
#D0C9D3
text
#120914
muted
#817B83

Preview Lab

Preview with #8F3CC2

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

Preview Lab → · Contrast checker → · Palette generator →

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