#8F3CC8#8F3CC8

#8F3CC8 is a mid, highly saturated violet. Relative luminance 0.132; OKLCH L 53.6% C 0.209 H 307.9°. Best body text is #FFFFFF at 5.76:1 contrast (WCAG AA passes).

Color values

HEX#8F3CC8
RGBrgb(143, 60, 200)
HSLhsl(276, 56%, 51%)
HSVhsv(276, 70%, 78%)
CMYKcmyk(28.5%, 70%, 0%, 21.6%)
CIE-LABlab(43.13, 58.37, -58.26)
CIE-LCHlch(43.13, 82.47, 315.06°)
OKLaboklab(53.55% 0.1286 -0.1652)
OKLCHoklch(53.55% 0.209 307.9)
XYZxyz(23.3667, 13.2418, 55.9573)
Luminance0.1324 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F3CC8 #75C83C
analogous
#493CC8 #8F3CC8 #C83CBB
triadic
#8F3CC8 #C88F3C #3CC88F
tetradic
#8F3CC8 #C8493C #75C83C #3CBBC8
square
#8F3CC8 #C8493C #75C83C #3CBBC8
split-complementary
#8F3CC8 #BBC83C #3CC849
monochromatic
#4C1E6B #6E2C9B #8F3CC8 #AA6CD5 #C69BE3

Accessibility & contrast

On white

5.76
#8F3CC8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.65
#8F3CC8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8F3CC8
5.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F3CC8#FFFFFF#000000##FFFFFF
##8F3CC81.005.763.655.76
#FFFFFF5.761.0021.001.00
#0000003.6521.001.0021.00
##FFFFFF5.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0063CC
Deuteranopia (green-blind)
#1667C5
Tritanopia (blue-blind)
#865B7E
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #8f3cc8;
/* rgb */ color: rgb(143, 60, 200);
/* oklch */ color: oklch(53.6% 0.209 307.9);
Tailwind
colors: {
  custom: {
    50: '#b478d9',
    500: '#8f3cc8',
    950: '#000000',
  },
}
SCSS
$custom: #8f3cc8;
$custom-light: #b478d9;
$custom-dark: #000000;
JSON
{
  "hex": "#8f3cc8",
  "rgb": {
    "r": 143,
    "g": 60,
    "b": 200
  },
  "hsl": {
    "h": 275.571,
    "s": 56,
    "l": 50.98
  },
  "oklch": {
    "l": 0.53553,
    "c": 0.20935,
    "h": 307.9
  },
  "luminance": 0.13241
}

Semantic roles & 50–950 ramp

primary
#8F3CC8
secondary
#AACF91
accent
#DF4986
background
#FBF7FD
surface
#F6EEFB
border
#D0C9D4
text
#120915
muted
#817B83

Preview Lab

Preview with #8F3CC8

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

Preview Lab → · Contrast checker → · Palette generator →

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