#8F3CC7#8F3CC7

#8F3CC7 is a mid, highly saturated violet. Relative luminance 0.132; OKLCH L 53.5% C 0.208 H 308.2°. Best body text is #FFFFFF at 5.77:1 contrast (WCAG AA passes).

Color values

HEX#8F3CC7
RGBrgb(143, 60, 199)
HSLhsl(276, 55%, 51%)
HSVhsv(276, 70%, 78%)
CMYKcmyk(28.1%, 69.8%, 0%, 22%)
CIE-LABlab(43.06, 58.15, -57.79)
CIE-LCHlch(43.06, 81.99, 315.18°)
OKLaboklab(53.48% 0.1288 -0.1638)
OKLCHoklch(53.48% 0.208 308.2)
XYZxyz(23.2502, 13.1952, 55.3439)
Luminance0.1320 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F3CC7 #74C73C
analogous
#493CC7 #8F3CC7 #C73CB9
triadic
#8F3CC7 #C78F3C #3CC78F
tetradic
#8F3CC7 #C7493C #74C73C #3CB9C7
square
#8F3CC7 #C7493C #74C73C #3CB9C7
split-complementary
#8F3CC7 #B9C73C #3CC749
monochromatic
#4C1E6A #6E2C9A #8F3CC7 #AA6CD5 #C69BE2

Accessibility & contrast

On white

5.77
#8F3CC7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.64
#8F3CC7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8F3CC7
5.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F3CC7#FFFFFF#000000##FFFFFF
##8F3CC71.005.773.645.77
#FFFFFF5.771.0021.001.00
#0000003.6421.001.0021.00
##FFFFFF5.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0063CB
Deuteranopia (green-blind)
#1967C4
Tritanopia (blue-blind)
#865B7D
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #8f3cc7;
/* rgb */ color: rgb(143, 60, 199);
/* oklch */ color: oklch(53.5% 0.208 308.2);
Tailwind
colors: {
  custom: {
    50: '#b478d9',
    500: '#8f3cc7',
    950: '#000000',
  },
}
SCSS
$custom: #8f3cc7;
$custom-light: #b478d9;
$custom-dark: #000000;
JSON
{
  "hex": "#8f3cc7",
  "rgb": {
    "r": 143,
    "g": 60,
    "b": 199
  },
  "hsl": {
    "h": 275.827,
    "s": 55.378,
    "l": 50.784
  },
  "oklch": {
    "l": 0.53482,
    "c": 0.20836,
    "h": 308.2
  },
  "luminance": 0.13195
}

Semantic roles & 50–950 ramp

primary
#8F3CC7
secondary
#A9CE91
accent
#DF4985
background
#FBF7FD
surface
#F6EEFB
border
#D0C9D4
text
#120915
muted
#817B83

Preview Lab

Preview with #8F3CC7

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

Preview Lab → · Contrast checker → · Palette generator →

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